Optimize OpenShift healthchecks #120

Closed
opened 2026-06-03 12:27:09 +00:00 by jgroman · 1 comment
Owner

OpenShift checks pod service health using Readiness and Liveness probes which both independently hit app main page at 5 sec period resulting in main page refreshes every 2.5 sec or so. This causes unnecessary main page traffic, causes CPU load, spams debug logs and may have negative impact on app response delay.
We should review healtcheck period lengths and make those longer and also create a special endpoint dedicated for those health checks which would just do a simple and fast db query (like retrieving db version) thus reducing server and db load.

See also quality/blockerbugs#297

OpenShift checks pod service health using Readiness and Liveness probes which both independently hit app main page at 5 sec period resulting in main page refreshes every 2.5 sec or so. This causes unnecessary main page traffic, causes CPU load, spams debug logs and may have negative impact on app response delay. We should review healtcheck period lengths and make those longer and also create a special endpoint dedicated for those health checks which would just do a simple and fast db query (like retrieving db version) thus reducing server and db load. See also https://forge.fedoraproject.org/quality/blockerbugs/issues/297
jgroman added this to the Sprint 13 project 2026-07-31 11:15:41 +00:00
jgroman self-assigned this 2026-07-31 11:15:43 +00:00
Owner

Both PRs merged, this is done.

Both PRs merged, this is done.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
quality/testdays-web#120
No description provided.