kernelci / kernelci/kcidb

kcidb_spool_notifications times out often

Open
#360 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
26
Forks
40
PR merge metrics
No merged PRs in 30d

Description

The `kcidb_spool_notifications` Cloud Function has been timing out a lot recently:
![image](https://user-images.githubusercontent.com/549246/220408930-bfba83b7-34bc-4cf7-ab77-8bb60902c801.png)

We need to improve performance and reduce load in order to let the stuck updates through, and prevent congestion in the future.

I'll reduce the number of objects posted per message into the update message queue, and will try to disable python assertions in cloud functions as a mitigation.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the kcidb_spool_notifications Cloud Function and reviewing how it posts objects into the update message queue. Use the reported timeout behavior and the proposed reduction in objects per message as the starting point; done means the function no longer frequently times out and stuck updates can pass through without congestion.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.