tarantool / tarantool/tarantool

box.cfg.threads

Open
#1,339 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.