You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because of the nature of Upperkut, it needs a certain number of connections to work properly in terms of performance. And it needs even more connections when users increase concurrency option.
So by default, we need to implement a default pool size that is greater than the concurrency option and enable users to customize it when they want.
We need a better approach because we're passing self to the strategy but is possible to change the concurrency after the Strategy instantiation, like:
class MyWorker
setup_upperkut do |config|
config.strategy = Upperkut::Strategy.new(self, redis: { url: ENV['REDIS_URL'] } )
config.concurrency = 30
end
end
This will cause a config with size = 5 and concurrency = 30... 🚫
Because of the nature of Upperkut, it needs a certain number of connections to work properly in terms of performance. And it needs even more connections when users increase concurrency option.
So by default, we need to implement a default pool size that is greater than the concurrency option and enable users to customize it when they want.
The text was updated successfully, but these errors were encountered: