Gj

Gearman Job Server on Ubuntu 24.04 LTS

Azure Application Infrastructure

gearman, a language agnostic job server that hands a unit of work to a pool of workers and returns the result, so slow tasks run outside the request and spread across many machines.

Base
Hardened build
minimal ports, security patches applied at build time
Access
Unique credentials
generated on first boot, readable only by root
Verified
Boots working
services pass a health gate before release
Support
24/7, 365 days
by email and live chat, 24 hour response SLA

Overview

Gearman is an open source, language agnostic job server. An application hands a unit of work to the server, which dispatches it to whichever worker process is free and returns the result to the caller. Workers can be written in a different language from the client, can run on a different machine, and can be added or removed while the system is running. It is the proven answer to work that is too slow to do inline in a request, and to spreading work across a pool of machines, with client libraries for PHP, Perl, Python, Ruby, Java, Go, C and Node.js.

Why the cloudimg image

Upstream gearman has no authentication of any kind, so anything that can reach its port can submit and drain jobs. The cloudimg image inverts that dangerous default: the job protocol is bound to loopback only, a start time guard refuses any world open listen address, and the build proves the port refuses a connection on the instance's own routable address. Background jobs persist to an on box queue that is reset before capture, a read only status console is served over HTTPS behind a password minted uniquely on first boot, and every instance ships hardened and fully patched with a paired deploy guide and 24/7 cloudimg support.

Common uses

  • Offloading slow work from web requests to a worker pool
  • Distributing background jobs across many worker hosts
  • Bridging languages between clients and workers over one protocol