I like to think about it, as it relates to Heroku. There are two main processes (dynos) web and worker.
Speakers of the web type are located where your application (web server) is running, and thus, all connections from the router are delivered to your web dyno so that the application can respond to a response.
Speakers that have the type of worker where your background jobs are processed. This is where Sidekiq performs its method, so that it does not block your web dyno.
In web speakers, Sidekiq.configure_client is launched. It configures how your web dino connects to Sidekiq and submits tasks.
Sidekaq.configure_server works in working speakers. It configures how your working dyno connects to Sidekiq and processes jobs.
source share