Extension points in Sidekiq. Client middleware runs as the last step before a job payload is saved into Redis and is the final chance to reject a job from being enqueued. Server middleware runs before the manager instantiates the job class and is the last chance to reject execution. The talk shows a simple middleware that augments log output by automatically including the job's arguments — useful for debugging and searching for jobs by the parameters they were given.