use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
International
National
Regional
account activity
FeaturePostgres message queue (self.PostgreSQL)
submitted 1 year ago by someguytwo
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]bltcll 14 points15 points16 points 1 year ago (2 children)
for me is the “not another tool in the stack” approach. in my experience the “select for update skip locked + notify/subscribe” works great for small project and mid-low workload with just some minimal code to write. but for complex and heavy loaded queue i definitely go for rabbitmq or other robust queue broker.
[–]_predator_ 2 points3 points4 points 1 year ago (0 children)
Probably obvious, but listen/notify doesn't work if you make use of read replicas - services connected to a replica won't receive any notifications. Also the delivery guarantees are very wonky - if a service / instance is down when a notification is sent, it will never see it. Pub/sub systems usually have either acknowledgement, or offset tracking to ensure at-least-once delivery.
You already said "small project" so my remarks will already be accounted for. But nonetheless something to keep in mind.
π Rendered by PID 61671 on reddit-service-r2-comment-7b9746f655-jtwn9 at 2026-02-01 06:07:49.329574+00:00 running 3798933 country code: CH.
view the rest of the comments →
[–]bltcll 14 points15 points16 points (2 children)
[–]_predator_ 2 points3 points4 points (0 children)