zlacker

[parent] [thread] 4 comments
1. oceanb+(OP)[view] [source] 2019-05-27 11:24:27
is SNS + SQS a reasonable solution for realtime irc style topic chatrooms?
replies(4): >>Cthulh+7 >>cyberf+r4 >>bpicol+em >>appwiz+Ws
2. Cthulh+7[view] [source] 2019-05-27 11:26:19
>>oceanb+(OP)
It 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.
3. cyberf+r4[view] [source] 2019-05-27 12:16:01
>>oceanb+(OP)
There 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.

4. bpicol+em[view] [source] 2019-05-27 14:55:56
>>oceanb+(OP)
Message fanout isn’t really solved there. Also probably quite expensive for the task
5. appwiz+Ws[view] [source] 2019-05-27 15:57:56
>>oceanb+(OP)
AWS 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.
[go to top]