4 ms·
is SNS + SQS a reasonable solution for realtime irc style topic chatrooms?
by oceanbreeze83 7y ago
is SNS + SQS a reasonable solution for realtime irc style topic chatrooms?
- Cthulhu_ 7y agoIt depends, but you can safely assume neither service is intended for real-time use cases. They'll be fast, but there won't be any speed / delivery guarantees.
- cyberferret 7y agoThere is also a size limit on the messages sent via SQS - 256Kb IIRC. Might be OK for small text based messaging, but if you want to talk attachments and other payloads then you have to hook it up to other services like S3 etc. and then it becomes complicated. Also, as another respondent replied - there is no real deliverability guarantee, although there are certain ways to handle that within SQS.
- bpicolo 7y agoMessage fanout isn’t really solved there. Also probably quite expensive for the task
- appwiz 7y agoAWS AppSync (https://aws.amazon.com/appsync/ https://aws.amazon.com/appsync/) is a better fit for the chat room use case because of server pushed events over a persistent connection (WebSockets). Launch the Chat sample in the console to try it out.