Using Faktory with JavaScript

Last updated 230 days ago by Mike Perham

javascript

Faktory is my new polyglot background job system, allowing any programming language to use background jobs. I've documented how to use Faktory with Ruby and Go as I'm an expert in both languages. Today I wanted to step outside my comfort zone and try Faktory with a language I barely know: JavaScript. Let's see how easy it is for me, a noob, to get JavaScript jobs running with Faktory!

We need three pieces for any background job system:

  1. The client pushes jobs to the server.
  2. The server (i.e. Faktory) manages the queues and jobs.
  3. The worker pulls jobs from the server and executes them.
Read full Article