Shopify / autotuner

Get suggestions to tune Ruby's garbage collector
MIT License
534 stars 11 forks source link

Instructions for non rails app #13

Open Koilanetroc opened 5 months ago

Koilanetroc commented 5 months ago

I believe this tool can be used for non rails apps, such as sidekiq or long/indefinitely running rake tasks. Do you have plans for extending this tool for a more wide usage in ruby applications?

peterzhu2118 commented 5 months ago

Yes, you absolutely can use this for jobs or non-Rails apps. It can be used for and Ruby apps that have a request-like structure (systems where the application resets to a default state after doing a task). It's simple to implement, you can follow how rack_plugin.rb does it.

If you want to implement this feature for Sidekiq, you're more than welcome to submit a PR.