Ruby garbage collection and Puma -


when using mri ruby 2.1.2 puma (say 1 worker 8 threads), when gc run? run parent worker process when threads become idle, or run parent process needed, when threads busy processing requests?

and how behaviour different in ruby 2.0 (without deferred gc).

also asked here.

its been answered on github issue.

it runs whenever vm decides run it. puma nothing control nor can really.


Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -