Is it good to use only GCM for developing chat applications for android ditching XMPP? -


a lot of applications whatsapp rely on gcm send notifications device when device idle or app running in background. gcm message tells app sync server , xmpp used actual chat(delivering payload). decision rely on gcm send messages. in case when 1 user wants talk sends server message , deliver message other user through gcm. understand gcm not 100% reliable can ensure reliability through timeouts , acknowledgement messages. there else might hurt me if go with gcm. reason not going xmpp take lot of effort scale xmpp server(which not familiar with) in case of gcm lot of scaling issues taken care of google.

i use gcm alert client connect. if rely on gcm deliver payload can't track delivery of messages easily.

for example utilize basic form of stream management in app prefer keep syncing utility , let client/server communicate directly.

it not extensible, though put xml in message body , parse that.

i'm not sure guarantee on delivery i'd check out on google side , if use deliver multiple messages you'll need make sure incorporate collapse_key function client because gcm consolidate messages 1 if there delay in sending of if utilize high volume.

one other thing i'm not sure on real-timeness of gcm i'm not sure how great real chat-like application.

i'd consider these things before utilizing gcm payload delivery.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -