autotuner icon indicating copy to clipboard operation
autotuner copied to clipboard

Instructions for non rails app

Open Koilanetroc opened this issue 1 year ago • 2 comments

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?

Koilanetroc avatar May 20 '24 16:05 Koilanetroc

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.

peterzhu2118 avatar May 22 '24 02:05 peterzhu2118

Has anyone found a way to use Autotuner for background jobs, such as with Sidekiq or Resque?

I've been exploring ways to optimize the performance of background job processing and how we can efficiently get suggestion to fine tune memory management especially for jobs. I came across Autotuner, which seems like it could be useful for this purpose, but I haven't found clear examples or documentation for integrating it with popular background job libraries like Sidekiq or Resque.

Thanks in advance!

mehnaz-bano avatar Dec 08 '24 16:12 mehnaz-bano