Replies: 2 comments 4 replies
-
I ran into a similar issue when I tested rails/rails#44219 it overloaded my database with connections. I'm not sure where the "fix" for this should be, since in my case I'm thinking of Active Record, but in yours it's a custom middleware. I'm curious if you got anywhere with this in any case, since it's on my mind, too! |
Beta Was this translation helpful? Give feedback.
4 replies
-
@ioquatix With #219 being merged, it's very likely that more users will run into connection pool limits. Please consider a config option for limiting concurrency. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a rack application that I am porting from puma. In the application, a middleware creates a database connection and sets it to Thread.current.
Under load, falcon's unlimited use of fibers seems to cause database connection limit errors. Normally with puma, you can calculate how many database connections you will need by workers * threads.
It may be interesting to allow falcon to limit the number of fibers generated so that these resource limitations can be managed.
Beta Was this translation helpful? Give feedback.
All reactions