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

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!


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
php (15,838
wordpress (639
wordpress-plugin (225
workers (51
wp-cli (30
scheduled-tasks (17

Find Open Source By Browsing 7,000 Topics Across 59 Categories