-
Notifications
You must be signed in to change notification settings - Fork 191
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
Add support for {max_uses, integer()} to persistent connections #80
Comments
This would be an interesting test to do. I have heard about performance On 13 November 2012 07:07, Joseph Wayne Norton [email protected]:
|
I'm also wondering if support for {max_heap_size, integer()} might be effective too? This limit could be compared against the worker's total_heap_size.
|
It is worth a try in my opinion. On 14 November 2012 01:29, Joseph Wayne Norton [email protected]:
|
Was any work ever done on this? If not, I will take a crack at it; it would be useful for managing some of our long running connections and balancing of work. |
Not that I'm aware of. It would be great if you can take a look. |
I have begun work on this on the here: benjaminplee/ibrowse@2b075b8 off of the max_requests branch. Work was done as a quick spike without tests so far to vet the implementation against our test server. |
I'd like to compare the performance difference between setting non-default garbage collection settings (via worker_process_options) and simply closing a persistent connection after N uses. Generally speaking, I'm expecting the latter to be better if closing a persistent connection results in exiting of the connection's worker process and creating a new process.
Before attempting to implement this feature, I would like to hear if you have any thoughts and/or existing experience with such a feature.
The text was updated successfully, but these errors were encountered: