openstreetmap / openstreetmap/mod_tile
Use PSI instead of load averages for load shedding
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 318
- Forks
- 199
- PR merge metrics
- No merged PRs in 30d
Description
mod_tile can shed load based on load average. Since this functionality was developed, the linux kernel added pressure stall information, a metric that is better suited for this purpose. Using this would improve load management, and allow sensible defaults that don't depend on number of hardware threads the system has.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating mod_tile’s load-shedding implementation and the existing load-average configuration or threshold handling. Read the linked Linux PSI documentation, then determine how PSI should replace the current metric and how defaults can avoid depending on hardware-thread count. Done means load shedding uses PSI with sensible defaults and existing behavior is covered by tests or verification.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, linux
- Domain
- backend, performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100