Skip to content

Comment on Cloudflare Pub/Sub: Programmable MQTT Message Brokersparent

Comments

And they're all kinda fucky, like SNS handles a lot but you can't write a program to receive events.

What do you mean by "receive events"? SNS can deliver to any HTTP endpoint.

Then you have to go through the whole process of setting up, routing, and registering an HTTP endpoint, rather than you would as a normal pub/sub simply have the program connect to the publisher and start receiving messages/events.

Pub/sub is an architectural model so there's no real "normal" implementation, but SQS is the answer for that.

SNS is the router, SQS is the storage (for more advanced push/pull consuming).

People are butt hurt that SNS doesn't allow the "subscribe" portion. A webhook is a push action.

They forget SQS exists...

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.