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

Pergunta

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!

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top