Google’s GCM Cloud Connection Server (CCS)

9
Google’s GCM Cloud Connection Server

description

Google’s GCM Cloud Connection Server (CCS)

Transcript of Google’s GCM Cloud Connection Server (CCS)

Google’s GCM Cloud Connection Server

Magento eCommerce

SaaS Applications

Video Streaming Portals

Rich Internet Apps

Custom Development

250+ team with experience in managing offshore, distributed development.

Neev Technologies established in Jan ’05

VC Funding in 2009 By Basil Partners

Part of Publicis Groupe

Member of NASSCOM.

Development Centers in Bangalore and Pune.

Offices at Bangalore, USA, Delhi, Pune, Singapore and Stockholm.

Key Company Highlights

iPhone

Android

Windows Phone 7

HTML5 Apps

Web

User Interface Design and User Experience Design

Performance Consulting Practices

Quality Assurance & Testing

AWS Consulting PartnerRackspace

Joyent Heroku

Google App Engine

Mobile Cloud

About Neev

Outsourced Product Development

• Connection Server based on XMPP(Extensible Messaging and Presence

Protocol)

• Allows third party app servers to communicate with Android devices

• Uses a persistent TCP connection for communication

• Communication is asynchronous and bi-directional

• This XMPP mechanism for sending messages can be used alongside traditional

HTTP

Google’s Cloud Connection Server : A Brief Intro

• Founded and used by Jabber for instant messaging

• Is an XML based communication protocol

• XMPP is open source, which means any developer can customize its extensions to suit software requirements.

• IM Services such as Google Talk and the chat feature in Facebook use XMPP in the back-end though not a native implementation

• Initially, Transmission Control Protocol (TCP) which is native to XMPP was used for communications. Later, XMPP was developed to perform data transfers via HTTP for web clients and via web-sockets for real-time messaging.

• The native design of the XMPP server component has an in-built entity called ‘transports’ or ‘gateways’ that aids the communication of messages between XMPP and non-XMPP systems.

More Info on XMPP

XMPP uses HTTP in two ways :

1. Polling

• Where data transfer is done through HTTP POST and GET methodologies

• Is now deprecated

2. Binding

• used for data PUSH methodologies

• Implemented over Bidirectional-streams Over Synchronous HTTP (BOSH)

• This push model of notification is more efficient than polling, where many of the

polls return no new data

How XMPP uses HTTP for communication

• CCS uses the XMPP protocol over a long-lasting TCP connection for communications

• Now, CCS performs both device-to-cloud and cloud-to-device communications (through

XMPP) over the same connection (TCP) and thereby helps developers achieve a better

device power management in their apps than GCM

• CCS requires a Transport Layer Security (TLS) connection and Simple Authentication and

Security Layer (SASL)-based authentication.

• CCS incorporates JSON-based payload messages into the XMPP-supported XML structure

and uses it for communications. CCS could send up to 1000 such messages asynchronously

before it receives any acknowledgement from the device.

7/8/13

How CCS has improved on GCM

Clients

Partnerships

India - Bangalore USA Sweden

The Estate, # 121,6th Floor,

Dickenson Road

Bangalore-560042

Phone :+91 80 25594416

Neev Information Technologies Pvt. Ltd.

1121 Boyce Rd Ste 1400,

Pittsburgh PA 15241

Phone : +1 888-979-7860

Neev AB, Birger Jarlsgatan

53, 6tr,

11145, Stockholm

Phone: +46723250723

[email protected]

India - Pune#13 L’Square, 3rd Floor

Parihar Chowk, Aundh,

Pune – 411007.

Phone : +91-64103338

Singapore#08-03 SGX Centre 2, 4

Shenton Way,

Singapore 068807

Phone: +65 6435 1961

For more info on our offerings, visit www.neevtech.com