humanmade/cavalcade

A better wp-cron. Horizontally scalable, works perfectly with multisite.

Installs: 34 115

Dependents: 2

Suggesters: 0

Security: 0

Stars: 383

Watchers: 30

Forks: 33

Open Issues: 22

Type:wordpress-muplugin

2.0.1 2020-07-31 09:48 UTC

This package is auto-updated.

Last update: 2020-08-31 10:30:18 UTC


README

Cavalcade
A better wp-cron. Horizontally scalable, works perfectly with multisite.
Build status Coverage via codecov.io
A Human Made project. Maintained by @rmccue. 68747470733a2f2f686d6e2e6d642f636f6e74656e742f7468656d65732f686d6e6d642f6173736574732f696d616765732f686d2d6c6f676f2e737667

Cavalcade is a scalable job system, designed as a drop-in replacement for WordPress's built-in pseudo-cron system.

Flowchart of how Cavalcade works

From the WordPress side, none of your code needs to change. Cavalcade transparently integrates with the existing wp-cron functions to act as a full replacement. Cavalcade pushes these jobs off into their own database table for efficient storage.

At the core of Cavalcade is the job runner. The runner is a daemon that supervises the entire system. The runner constantly checks the database for new jobs, and is responsible for spawning and managing workers to handle the jobs when they're ready.

The runner spawns workers, which perform the actual tasks themselves. This is done by running a special WP-CLI command.

Documentation

View documentation →

License

Cavalcade is licensed under the GPLv2 or later.

Who?

Created by Human Made for high volume and large-scale sites, such as Happytables. We run Cavalcade on sites with millions of monthly page views, and thousands of sites, including The Tab, and the United Influencers network.

Maintained by Ryan McCue.

Interested in joining in on the fun? Join us, and become human!