Skip to the content
Documentation

Queue handling in asynchronous publishing

No ratings yet

Asynchronous publishing moves the publishing of content out of the editor's request: when an editor presses Publish, the draft is put in a publishing queue in the database, and a separate process, the daemon ezasynchronouspublisher, publishes it in the background, several at a time. The editor sees the status of the publication, and can go on working. It helps sites where many editors publish at the same time, or where publishing triggers long work (many locations, large cache clears, workflows).

The feature is off by default. It needs PHP's pcntl extension for the daemon, so it runs on Linux and other Unix systems, not on Windows.

The pages of this section

In short

# settings/override/content.ini.append.php
[PublishingSettings]
AsynchronousPublishing=enabled
PublishingProcessSlots=10
# as the web server user, in the installation root
php bin/php/ezasynchronouspublisher.php -n

The daemon writes its log to var/log/async.log when it runs as a daemon.

In this section

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.