oceanbase / oceanbase/seekdb

Increase pop timeout for simple thread pool

Open
#616 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

dima type: task
Dominant language
C++
Stars
2.9k
Forks
342
Avg merge
2d 14h
Merged PRs (30d)
53

Description

Description

The current pop timeout for the simple thread pool is 100ms. To reduce CPU overhead, it should be increased to 1s.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the simple thread pool implementation and identify where its current 100ms pop timeout is defined and used. Check existing thread-pool or timing-related tests before making the change. Done means the timeout is 1s, CPU overhead is reduced as intended, and relevant tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend, performance
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.