Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
grk
· 4y ago · 0 comments
The problem with postgres-backed queues is they can't be used with connection pooling, so your workers are unnecessarily using up DB connections.
Comments
[–]
waffle_maniac
4y ago
I thought that was an ActiveRecord problem. We use MYSQL and have a lot of long-lived connections.
[–]
grk
OP
4y ago
Not sure how it works with MySQL, but with postgres the most common pooling options use transactional mode, which doesn't support LISTEN/NOTIFY.