logoalt Hacker News

looperhackstoday at 12:11 PM1 replyview on HN

I don't know Solid Queue or the rails environment, but I expect that not every worker will create it's own connection, there should be a connection pool in-between


Replies

swe_dimatoday at 1:29 PM

I think by default they check out a new connection when obtained a job and then release it. In comparison with some async languages like JS where a connection is only checked when a query is about to be executed