Skip to content
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

How does Oink Deal with Threads? #42

Open
schneems opened this issue Mar 3, 2016 · 1 comment
Open

How does Oink Deal with Threads? #42

schneems opened this issue Mar 3, 2016 · 1 comment

Comments

@schneems
Copy link

schneems commented Mar 3, 2016

Sorry for opening an issue to ask a general question.

How does Oink deal with threaded webservers? For example if i'm running puma with 5 threads and each start serving a request A,B,C,D, & E. If Oink is measuring memory by wrapping the request for A and then in the middle B gets hit with a REALLY expensive endpoint, if you're taking process memory it might look like A was at fault. Does Oink handle that well? Does it use statistics to see what requests consistently use more memory?

Thanks for your work on this gem and in for working in the Ruby memory space.

@stereobooster
Copy link

As far as I see Oink measure memory of process (based on PID), so it does not support measuring separate threads

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants