
Security News
Potemkin Understanding in LLMs: New Study Reveals Flaws in AI Benchmarks
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
This is a tiny gem that allows starting sidekiq using multiple processes. It is originally based on the wonderful Honebadger Cluster Script.
Features:
It does not depend on any particular version of sidekiq, as long as the CLI class of Sidekiq remains named the same.
It does not attempt to replicate Sidekiq's command line options. Script itself can be controlled with its own CLI options preceeding the double dash --
. Options to Sidekiq are expected after the double dash.
You can specify max number of processes and max total RAM used by this cluster (expressed as a percentage of total). If one of the Sidekiq processes exceeeds it, it is automatically restarted.
The easiest way to use Sidekiq Cluster is to add it to your Gemfile:
gem 'sidekiq-cluster', require: false
Run bundle
, and then start Sidekiq cluster like so (this starts exactly two Sidekiq Processes):
# this starts sidekiq with default options
$ bundle exec sidekiq-cluster -N 2
# this starts sidekiq with custom options
$ bundle exec sidekiq-cluster -N 2 -- -r $(pwd) -q default,10 -q high,100
Then try running it with --help
:
sidekiq-cluster -h
USAGE
sidekiq-cluster [options] -- [sidekiq-options]
EXAMPLES
$ cd rails_app
$ bundle exec sidekiq-cluster -N 2 -- -c 10 -q default,12 -L log/sidekiq.log
SIDEKIQ CLUSTER OPTIONS
-n, --name=NAME the name of this cluster, used when
when running multiple clusters
-P, --pidfile=FILE Pidfile prefix,
eg "/var/www/shared/config/sidekiq.pid"
-L, --logfile=FILE Logfile for the cluster script
-M, --max-memory=PERCENT Maximum percent RAM that this
cluster should not exceed. Defaults to 80%.
-N, --num-processes=NUM Number of processes to start,
defaults to number of cores - 1
-q, --quiet Do not log to STDOUT
-d, --debug Print debugging info before starting sidekiqs
-h, --help this help
$ cd rails-app
$ echo "gem 'sidekiq-cluster'" >> Gemfile
$ bundle install
$ bundle exec sidekiq-cluster \ # these arguments are for sidekiq-cluster:
--pidfile /var/pids/sidekiq.pid \
--name default \
--max-memory 90 \
--logfile /var/log/sidekiq-cluster.log \
--num-processes 2 \
-- \ # these arguments are for sidekiq:
-L /var/log/sidekiq.log -c 10 -e production -q default,10 -q critical,20
Copyright © 2018 Konstantin Gredeskoul. See LICENSE.txt for further details.
FAQs
Unknown package
We found that sidekiq-cluster demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.