humanmade/cavalcade

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

Installs: 209 452

Dependents: 2

Suggesters: 0

Security: 0

Stars: 527

Watchers: 45

Forks: 46

Open Issues: 26

Type:wordpress-muplugin

2.0.2 2020-12-03 10:26 UTC

This package is auto-updated.

Last update: 2024-11-06 08:44:39 UTC


README

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!