Optimize OpenShift healthchecks #297
Labels
No labels
Closed As
Duplicate
Closed As
Fixed
Closed As
Invalid
discussions
easyfix
enhancement
task
ai-review-please
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Depends on
#307 Create health check endpoint
quality/blockerbugs
#310 Skip db preload on healtchcheck requests
quality/blockerbugs
Reference
quality/blockerbugs#297
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
OpenShift checks blockerbugs 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 and may have negative impact on app response delay.
We should review healtcheck period lengths and probably 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.
This seems to be partially implemented in #299 , IIUIC?
Yes, this is one part of that, but we also have to update Ansible scripts with new timeouts and endpoint.
Deployed to staging, pod started fine, new probe endpoints are active and debug log is clean (new healthcheck requests are not logged).