diff --git a/developer_manual/basics/backgroundjobs.rst b/developer_manual/basics/backgroundjobs.rst index 9dab6f3f4..3cfdb9369 100644 --- a/developer_manual/basics/backgroundjobs.rst +++ b/developer_manual/basics/backgroundjobs.rst @@ -1,3 +1,5 @@ +.. _app-backgroundjobs: + ====================== Background jobs (Cron) ====================== @@ -62,6 +64,8 @@ to pass on to the service to run the background job. The ``run`` function is the main thing you need to implement and where all the logic happens. +.. _app-backgroundjobs-time-sensitivity: + Heavy load and time insensitive ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/developer_manual/digging_deeper/performance.rst b/developer_manual/digging_deeper/performance.rst index 331cf99a2..fed3e28e2 100644 --- a/developer_manual/digging_deeper/performance.rst +++ b/developer_manual/digging_deeper/performance.rst @@ -12,6 +12,7 @@ PHP Performance --------------- * Autoloader: Consider using an :ref:`optimized class loader`. The application code does not have to change for this optimization. +* Heavy background jobs: Consider marking :ref:`background jobs ` as :ref:`time insensitive ` if they can be run at off-peak times with lower system load, e.g. at night. Database performance --------------------