• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / tarantool / 18744257466 / 1
88%
master: 88%

Build:
DEFAULT BRANCH: master
Ran 23 Oct 2025 09:54AM UTC
Files 514
Run time 46s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Oct 2025 09:41AM UTC coverage: 87.664% (+0.04%) from 87.625%
18744257466.1

push

github

locker
box: read snapshot in a distinct thread to improve recovery performance

Validating requests MsgPack and parsing the requests body turns out to
be significant part of recovery in terms of CPU. Let's move it to
a distinct thread. This is similar to iproto and applier where we have
a distinct thread(s) for that.

Snapshot is written in batches of about 128k
(`XLOG_TX_AUTOCOMMIT_THRESHOLD`). The recovery thread reads the batch,
parses its requests and send to TX to process. The maximum number of
read but not processed batches is limited to 2 to make a flow control.

Closes #11888
Part of #11452

============================
= Performance test results =
============================

Recovery performance is evaluated using below perf test. The 1.10.5
performance is taken from the previous evaluations for the issue.

```
tarantool perf/lua/recovery.lua \
  --row_count 10000000 --column_count 10 --recovery_count 5 \
  --preload_script "require('compat').box_recovery_triggers_deprecation = 'new'"
```

Run                 | Perf, krps |
---------------------------------|
master, current     |    1060    |
---------------------------------|
master, patched     |    1800    |
---------------------------------|
1.10.5              |    1315    |

So introducing snapshot reader thread gives 70% boost for recovery from
snapshot. Now master is 37% faster than 1.10.5.

If `box_recovery_triggers_deprecation = 'old'` then performance is only
990 krps.

NO_TEST=performance
NO_DOC=performance

69963 of 117797 branches covered (59.39%)

105048 of 119830 relevant lines covered (87.66%)

1378961.82 hits per line

Source Files on job 18744257466.1
  • Tree
  • List 514
  • Changed 39
  • Source Changed 0
  • Coverage Changed 39
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 18744257466
  • 08329dc4 on github
  • Prev Job for on master (#18741692796.1)
  • Next Job for on master (#18749394086.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc