ios - SNS Push Notification Service Multi threading Publish API to publish 100,000 messages in 2 seconds -


i reading following blogpost ( https://aws.amazon.com/blogs/aws/push-notifications-to-mobile-devices-using-amazon-sns/ ) sns , states can "send messages directly specific device calling publish function device’s arn. can scale handle millions of users storing endpoint arns in amazon dynamodb , using multi-threaded code on server."

i'm having issues understanding how can scale 1 million users. each call taking 500-800ms me. way many parallel connections if wanted send notification million users in 10 second span.

my goal able hit 100,000 users push notif using publish api using device arn directly (not topics) in 2 seconds. have suggestions @ how achieve this?

thanks,

matt

if want send same message clients benefit subscribing "consumers" same sns topic. way need send 1 message , sns automatically fanout it's subscribers.

from sns faq q: there limits number of topics or number of subscribers per topic?

by default, sns offers 10 million subscriptions per topic, , 100,000 topics per account. request higher limit, please contact @ at http://aws.amazon.com/support


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -