How to do mobile app sync with cloud service like amazon (sqs/sns) or azure -



How to do mobile app sync with cloud service like amazon (sqs/sns) or azure -

i want implement couple of mobile app (windows phone/ios/android) ideas. of them require getting user info updates on other grouping of devices.

for example, 1 scenario not need immediate update sent group: let's family fellow member can track expenses in app. newly added expense automatically synced other family fellow member devices automatically (or manually when take sync).

2nd scenario requires immediate update sent group: let's consider cards games or in game scenario of blackjack, need notify players on table card did dealer open each of them.

question: have started looking amazon sqs(queue), sns (notification) services. initial reading did not me conclusion yet. going read azure.

what service(s) should help me accomplish above scenarios?

sqs question: how sqs work? if read 1 item queue, guessing removed queue. so, if 1 device gets new expense added, other devices in family won't, because item removed queue. or may - create 1 queue per device? (may additional code logic @ end can help me).

please provide me insights these services.

thanks

tough question answer, bit specific too. reply famous architectural quote, "it depends". can help out azure part, , i'm sure can somehow translated amazon well.

let's take @ scenarios.

scenario 1 doesn't need immediate updates say. because there can n-many clients, seems me best way handle table storage. store expenses in table storage, , store sums, etc., in separate row well. access these info there 2 possible scenarios, (1) create wcf service handle authentication & authorization, info retrieval, exposing method such getfamilyexpenses(familyid); or (2) utilize appfabric on azure (a bit expensive though) authentication , access table storage directly. updates handled within application... scenario 2 bit specific well. because game, updates need more instantanious else. view on right implementation here found tcp channel straight service (hosted on either services) , communicate via custom protocol. queues won't help you, because (at to the lowest degree on azure) still need poll them. scenario 3 haven't mention, queues come play. imagine have 5 retail stores, manager laptop, , warehouse. new items warehouse need dispatched when retail stores reach specified number of stocked items. when purchase made, queue item sent 2 topics, audit topic, , warehouse topic. audit topic read manager's application , allows manager see everything going on.

that's basic overview of options see have azure. please don't forget upvote/mark answer, if helps out.

web-services azure amazon-web-services cloud mobile-application

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -