Commit f92538ba authored by Sean McGivern's avatar Sean McGivern

Add clarification to Sidekiq job urgency docs

parent 8c59237a
...@@ -392,8 +392,12 @@ end ...@@ -392,8 +392,12 @@ end
If a large number of background jobs get scheduled at once, queueing of jobs may If a large number of background jobs get scheduled at once, queueing of jobs may
occur while jobs wait for a worker node to be become available. This is normal occur while jobs wait for a worker node to be become available. This is normal
and gives the system resilience by allowing it to gracefully handle spikes in and gives the system resilience by allowing it to gracefully handle spikes in
traffic. Some jobs, however, are more sensitive to latency than others. Examples traffic. Some jobs, however, are more sensitive to latency than others.
of these jobs include:
In general, latency-sensitive jobs perform operations that a user could
reasonably expect to happen synchronously, rather than asynchronously in a
background worker. A common example is a write following an action. Examples of
these jobs include:
1. A job which updates a merge request following a push to a branch. 1. A job which updates a merge request following a push to a branch.
1. A job which invalidates a cache of known branches for a project after a push 1. A job which invalidates a cache of known branches for a project after a push
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment