Skip to content

Instantly share code, notes, and snippets.

@gabetax
Created March 17, 2016 23:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gabetax/6c9ae696329ef961e293 to your computer and use it in GitHub Desktop.
Save gabetax/6c9ae696329ef961e293 to your computer and use it in GitHub Desktop.
Keys Resque manages in Redis

Resque Redis keys:

  • resque:workers => SET of "host:pid:raw,queue,list" strings
  • resque:worker:host:pid:raw,queue,list => STRING JSON of job payload for a running worker. Set by #working_on.
  • resque:worker:host:pid:raw,queue,list:started => STRING timestamp when worker booted. Static.
  • resque:stat:failed:host:pid:raw,queue,list => STRING count of failed jobs
  • resque:stat:processed:host:pid:raw,queue,list => STRING count of successful? jobs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment