What is the best strategy to broadcast 500K push notifications at once via AWS SNS mobile push minimum latency?

StackOverflow https://stackoverflow.com/questions/23530526

It seems we can not subscribe more than 10K subscriptions per sns topic.

To achieve minimum latency from send to notification received in the device, would it be recommended * to create 50 topics containing 10K users each ? this would then result in 50 sns publishes which is easy to manage in the sender side (has any used this scenario in production ? ). or * to do 500K direct sns publishes (which will involes having some infrastructure (+ associated cost) to be able to parallelize such a big number sns publishes in a short amount of time)

thanks!

有帮助吗?

解决方案

Amazon SNS now allows topics with 10 million subscriptions. If you intend to deliver the same message to all subscribers, use a topic to broadcast. If you need to customize the message for each subscriber, you should use Direct Publish.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top