Skip to content

Commit

Permalink
Sidekiq Pro 3.0 release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Oct 23, 2015
1 parent a04e9db commit d239027
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 2 deletions.
5 changes: 3 additions & 2 deletions 4.0-Upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ gem 'redis-namespace'
leverage until now. **Redis 3.0.3 or greater is recommended** for large
scale use.

* Sidekiq requires more Redis connections per process due to a change in
how jobs are fetched from Redis. You must have a minimum of
* Jobs are now fetched from Redis in parallel, making Sidekiq more
resilient to high network latency. This means that Sidekiq requires
more Redis connections per process. You must have a minimum of
`concurrency + 2` connections in your pool or Sidekiq will exit.
When in doubt, let Sidekiq size the connection pool for you.

Expand Down
46 changes: 46 additions & 0 deletions Pro-3.0-Upgrade.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Welcome to Sidekiq Pro 3.0!

Sidekiq Pro 3.0 is designed to work with Sidekiq 4.0.

## What's New

* **Redis 2.8.0 or greater is required.** Redis 2.8 was released two years
ago and contains **many** useful features which Sidekiq couldn't
leverage until now. **Redis 3.0.3 or greater is recommended** for large
scale use.

* Sidekiq Pro no longer uses Celluloid. If your application code uses Celluloid,
you will need to pull it in yourself.

* Pausing and unpausing queues is now instantaneous, no more polling!

* Reliable fetch has been re-implemented due to the fetch changes in
Sidekiq 4.0.

* Support for platforms without persistent hostnames. Since reliable fetch
normally requires a persistent hostname, you may disable hostname usage on
platforms like Heroku and Docker:
```ruby
Sidekiq.configure_server do |config|
config.options[:ephemeral_hostname] = true
config.reliable_fetch!
end
```
This option is enabled automatically if Heroku's DYNO environment variable is present.
Without a persistent hostname, each Sidekiq process **must** have its own unique index.

* The old 'sidekiq/notifications' features have been removed.

## Upgrade

First, make sure you are using Redis 2.8 or greater. Next:

* Upgrade to the latest Sidekiq Pro 2.x.
```ruby
gem 'sidekiq-pro', '< 3'
```
* Fix any deprecation warnings you see.
* Upgrade to 3.x.
```ruby
gem 'sidekiq-pro', '< 4'
```

0 comments on commit d239027

Please sign in to comment.