Gearman
gearman.org
- Free plan
- Open source
- Windows
- macOS
- Linux
- API
- Self-hosted
What Gearman is
Gearman is a free, self-hosted application framework for distributing work across machines or processes, including parallel processing and load balancing. An application has a client that submits jobs, a job server that routes them, and a worker that carries them out. Jobs can run asynchronously in the background or be prioritized. Clients and workers may use different language interfaces if both sides understand the workload; listed interfaces include C, C#/.NET, Go, Java, Node.js, PHP, Perl, Python, Ruby, Rust, and Lisp. Gearman supports messages up to 4096 MB and can split larger messages into chunks. Clients and workers can connect to multiple job servers and switch to another if one fails. The C job server supports persistent queues. MySQL and PostgreSQL functions expose Gearman client calls to queries, triggers, and stored procedures, while the pure Perl client and worker API supports SSL. Gearman has Linux and Windows installation options and an API platform option. The project offers it free under the BSD license, with no free trial. The project directs users to a mailing list and Matrix chat for support. One listed interface, GearmanSharp, is incomplete and does not yet implement the full protocol.
Who it suits
Gearman suits developers building distributed job systems across machines or processes, particularly teams working with its listed language interfaces. Its self-hosted Linux and Windows options may fit teams managing their own deployment.
Good to know, and what to watch
- Supports background and prioritized jobs
- Clients and workers can use different languages
- Can fail over across multiple job servers
- C job server supports persistent queues
- GearmanSharp does not implement the full protocol
Plans
Every plan and priceGearman
Gearman open-source software
Free plan
The verdict
Gearman provides a language-flexible client, job-server, and worker model for distributing work, with failover and persistent queues among its listed capabilities. Teams should account for its self-hosted deployment and the incomplete GearmanSharp interface.
What the maker publishes
- Architecture
- A Gearman application uses a client to submit jobs, a job server to route them, and a worker to perform them. source
- Architecture
- A Gearman deployment has clients that submit jobs, a job server that routes them, and workers that execute them and return results. source
- Build requirements
- The Ubuntu build guide lists GCC, autoconf, bison, flex, libtool, make, Boost, libcurl, libevent, memcached, UUID, SQLite, and MySQL development packages. source
- Command-line interface
- The Ubuntu manpage documents command-line client and worker modes, background and priority options, multiple servers, timeouts, and worker counts. source
- Cross-language execution
- Clients and workers can use different language APIs while communicating through the same Gearman protocol. source
- Cross-language work
- Clients and workers can use different language interfaces as long as their applications understand the workload being sent. source
- Database integration
- MySQL and PostgreSQL UDF packages expose Gearman client calls to SQL queries, triggers, and stored procedures. source
- Database integrations
- The download page lists MySQL and PostgreSQL user-defined functions that expose Gearman client calls to SQL queries, triggers, and stored procedures. source
- Documentation depth
- The documentation site includes getting started material, a manual, protocol specifications, generated gearmand documentation, libgearman references, install guides, SSL instructions, and changelogs. source
- Fault tolerance
- Clients and workers can be configured to connect to multiple job servers and fail over to another when one server dies. source
- Fault tolerance
- Multiple job servers can be configured so clients and workers fail over when one server becomes unavailable. source
- Founded
- 2005 source
- Homebrew packaging
- Homebrew identifies gearman as the gearmand application, labels it BSD-3-Clause licensed, and provides bottles for macOS and Linux architectures. source
- HTTP integration
- An HTTP protocol plugin maps GET and POST requests to Gearman jobs, but the documentation marks it experimental. source
- Installation methods
- The getting-started guide covers RHEL/Fedora and Debian/Ubuntu packages, Windows installation, source tarballs, and Git checkout builds. source
- Job modes
- Gearman supports background asynchronous jobs and prioritized jobs. source
- Language APIs
- Official downloads list C, C#/.NET, Go, Java, Lisp, Node.js, PHP, Perl, Python, Ruby, Rust, database UDFs, and shell tooling. source
- Language support
- The project lists client and worker interfaces for languages including C, C#/.NET, Go, Java, Node.js, PHP, Perl, Python, Ruby, and Rust. source
- Latest release
- GitHub lists gearmand 2.1.0 as an August 2026 feature and bug-fix release improving thread safety, connection lifecycle reliability, OpenSSL diagnostics, health checks, and persistent-storage plugins. source
- Licence
- The project describes itself as open source and BSD licensed; the C server and libgearman are specifically identified as BSD licensed. source
- Limit: configuration guidance
- A project maintainer on the mailing list said Gearman had suffered prolonged silence and advised listing all job servers in every client and worker configuration for failover and distribution. source
- Limit: documentation
- The independent deployment report calls job-server documentation insufficient and says some socket keep-alive behavior was undocumented. source
- Limit: duplicate work after failure
- The independent report warns that a job can repeat database writes if it crashes after partially completing its database operations. source
- Limit: network security configuration
- A 2014 independent report said Gearman then lacked built-in access security and recommended firewall protection; current official documentation separately describes optional SSL configuration. source
Checked against the maker's pages on 15 Oct 2026.