-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Puma middleware #1
Conversation
Nice. I didn't know about this after reply trick. Is it only implemented in Puma? |
Yes, looks like it's Puma-only thing. |
I'm not sure this makes sense in a threaded environment. Wouldn't the OOBGC be triggered concurrently (and needlessly) under load? Even on a lightly loaded system, the OOBGC will run while other requests are being processed which defeats the purpose. |
Good point. The way oobgc works is by measuring the number of allocations between calls to |
Ok, this is what I was afraid of. Is there any workarounds or different schemes that can be applied? |
Reverted for now. I'm not sure how OOBGC should work in this scenario. |
Equivalent middleware for Puma server.