tarantool / tarantool/tarantool
box.cfg.threads
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 3.7k
- Forks
- 419
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 88
Description
Make the number of threads settable option in the configuration file.
Allowed values: 1, 2, 3.
1 - all work is done in a single thread, including WAL
2 - there is a thread for network and tx, and a WAL thread
3 - iproto, tx, wal threads.
This is necessary to speed up traditional workloads with synchronous request processing.
Contributor guide
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 at the box.cfg configuration entry point and trace how configuration values select the iproto, tx, and WAL threads. Confirm the three allowed values and their stated thread assignments; done means box.cfg.threads accepts 1, 2, or 3 and produces the corresponding single-, two-, or three-thread behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- backend, database
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100