After 15 years of doing Rails applications, I finally had a serious need of utilizing long-running background jobs to get things done, and setup Sidekiq. My jobs are database-bound, but my database was being underutilized, so I opened up the connection count, and let it “breathe.” In production, I can easily run 20 threads on a single, small VM, and wind up getting 20x the throughput.
I can’t say it was straightforward getting it all running on Ubuntu. The “new” systemd
subsystem seems like a regression from the old ways of setting up services with plain init.d
and update-rc.d
. I also don’t like snap
, and I’m starting to think that I should switch to Fedora, but that’s another discussion.
Anyway, Sidekiq: great success.