Queuing HTTP requests in .NET with exponential backoff for Android C2DM - examples? 3rd party libraries? -


i'm writing android app making use of cloud-2-device messaging (c2dm) service provided google , expected, @ selected peak periods of day, sending many thousands of messages in short amount of time.

google insists server should queue requests you're planning send server , use 'exponential backoff' failed / delayed requests.

just wondering if there examples of kind of setup in .net / c# and/or 3rd party libraries handle queuing , backoff stuff.

ok, ended spending time , writing own. i've decided give stackoverflow (which has given me long), here's solution download:

http://wemakeapps.net/downloads/c2dm.sender.zip

this .net4.0 solution build .exe can run periodically using scheduled task. note prepared add own code, it's commented , i've tried point out need run off own datastore retrieve ids of registered devices , decide need send them.

a modified version of solution has been running high-traffic ecommerce site, pushing notifications upwards of 10,000 devices every day.


Comments

Popular posts from this blog

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -