| ▲ | swe_dima 2 hours ago | |||||||
My concern is number of database connections. In the example it's 100 fibers per worker, at that rate you are going to exhaust db connections sooner. Happy to be wrong. | ||||||||
| ▲ | resonious an hour ago | parent | next [-] | |||||||
I think you want to make sure you don't hold a database connection while waiting on other slow async work (like outgoing HTTP requests). Then you can more feasibly have more workers than pool size. It's just very tricky to do this in Rails... | ||||||||
| ▲ | looperhacks an hour ago | parent | prev [-] | |||||||
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 | ||||||||
| ||||||||