socialpandas / sidekiq_monitor

Advanced monitoring for Sidekiq
MIT License
230 stars 35 forks source link

Performance overhead with active record #12

Closed kbaum closed 10 years ago

kbaum commented 10 years ago

Cool project. Will job execution time be significantly slower since this uses active record?

Thx!

tombenner commented 10 years ago

Depending on what "significantly means", yes or no. A (fairly simple) write occurs every time a job is created or has its status updated (e.g. "queued" to "running"), and there are probably approximately as many reads as writes.

The very small numbers of milliseconds (usually < 10ms) that this adds to our job execution time hasn't been an issue at all for us at SocialPandas. As is usual with performance, you may want to test it yourself and see whether its performance suits your needs.