Ask HN: What's a global, low throughput, low latency message bus service?
I'm looking for a SaaS solution where I can send 10msgs a day per endpoint, but with <1s latency to deliver.
I need the ad-hoc, independent queues to be trivially created based on a shared publisher/consumer key and I don't care about persistence - if a msg is not delivered immediately, it should be dropped. All endpoints are behind Nat, so some polling is required.
Is there a service that would help me here? SNS almost works, but creating/restricting individual queues ad-hoc makes it more work than I want to deal with. Can something else provide a trivial "send(secret, queue name, message)" and "listen(secret, queue)" functionality?
I'm a little tempted to just use Telegram for this.
15 comments
[ 5.4 ms ] story [ 34.5 ms ] threadI could go with encrypting messages on each queue instead of doing full isolation at the service level, so endpoints can listen to everything, but not understand most messages. Basically I'm trying to achieve multi-tenancy with adhoc accounts, which would require extra work. (not impossible, but this is what I'm trying to avoid)
You can deploy a rabbitmq software container using your favourite cloud provider. It’s not much work.
[1] https://www.cloudamqp.com/
Like this example chat app: https://github.com/cloudflare/workers-chat-demo/blob/master/... It supports private chat rooms, which is somewhat analogous to a pub sub topic.
For your 10 messages a day, how about something even simpler, just throw them into an s3 bucket and trigger a lambda on save?
It would cost nothing, would be durable.
* encrypted * automatic NAT punching * complete location independence * use 0MQ with tor as transport if you want a queue on top .
Or if it has to be fast and low latency: 0MQ with eliptic curve encryption.
Their client libraries handled most of the edge-cases that I would have had to worry about using SQS or a message broker on my own. It seems like they're scaling using sensible technologies on the back-end and have very approachable pricing for early-growth projects compared to some of the enterprise focused alternatives.
[1] https://ably.com/pricing