Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: impl checkpoint for SnapShot #219

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

feat: impl checkpoint for SnapShot #219

wants to merge 2 commits into from

Conversation

KKould
Copy link
Contributor

@KKould KKould commented Nov 14, 2024

todo: Use Fs::link when filesystem is local

@KKould KKould added the enhancement New feature or request label Nov 14, 2024
@KKould KKould requested a review from ethe November 14, 2024 10:07
@KKould KKould self-assigned this Nov 14, 2024
@KKould KKould linked an issue Nov 14, 2024 that may be closed by this pull request
Copy link

Read:

+--------------------------------------------+---------+---------+
|                                            | tonbo   | rocksdb |
+================================================================+
| random range reads                         | 84448ms | 36785ms |
|--------------------------------------------+---------+---------|
| random range reads                         | 82956ms | 36875ms |
|--------------------------------------------+---------+---------|
| random range projection reads              | 39527ms | 37420ms |
|--------------------------------------------+---------+---------|
| random range projection reads              | 39521ms | 37284ms |
|--------------------------------------------+---------+---------|
| random range projection reads (4 threads)  | 33396ms | 37905ms |
|--------------------------------------------+---------+---------|
| random range projection reads (8 threads)  | 31907ms | 37973ms |
|--------------------------------------------+---------+---------|
| random range projection reads (16 threads) | 28558ms | 36494ms |
|--------------------------------------------+---------+---------|
| random range projection reads (32 threads) | 23615ms | 37949ms |
+--------------------------------------------+---------+---------+

Copy link

Write:

+-------------------------------+--------+---------+
|                               | tonbo  | rocksdb |
+==================================================+
| bulk load                     | 6372ms | 9363ms  |
|-------------------------------+--------+---------|
| individual writes             | 8301ms | 10625ms |
|-------------------------------+--------+---------|
| individual writes (4 threads) | 8188ms | 10723ms |
|-------------------------------+--------+---------|
| individual writes (8 threads) | 7781ms | 10458ms |
|-------------------------------+--------+---------|
| batch writes                  | 7924ms | 7066ms  |
|-------------------------------+--------+---------|
| batch writes (4 threads)      | 7756ms | 7069ms  |
|-------------------------------+--------+---------|
| batch writes (8 threads)      | 7634ms | 7068ms  |
|-------------------------------+--------+---------|
| removals                      | 3089ms | 3803ms  |
+-------------------------------+--------+---------+

Copy link

Read:

+--------------------------------------------+---------+---------+
|                                            | tonbo   | rocksdb |
+================================================================+
| random range reads                         | 88524ms | 36256ms |
|--------------------------------------------+---------+---------|
| random range reads                         | 85244ms | 58745ms |
|--------------------------------------------+---------+---------|
| random range projection reads              | 40782ms | 37225ms |
|--------------------------------------------+---------+---------|
| random range projection reads              | 39439ms | 37218ms |
|--------------------------------------------+---------+---------|
| random range projection reads (4 threads)  | 33206ms | 37199ms |
|--------------------------------------------+---------+---------|
| random range projection reads (8 threads)  | 32230ms | 37092ms |
|--------------------------------------------+---------+---------|
| random range projection reads (16 threads) | 29203ms | 35566ms |
|--------------------------------------------+---------+---------|
| random range projection reads (32 threads) | 24094ms | 35547ms |
+--------------------------------------------+---------+---------+

Copy link

Write:

+-------------------------------+--------+---------+
|                               | tonbo  | rocksdb |
+==================================================+
| bulk load                     | 6377ms | 9361ms  |
|-------------------------------+--------+---------|
| individual writes             | 8267ms | 10669ms |
|-------------------------------+--------+---------|
| individual writes (4 threads) | 8221ms | 10648ms |
|-------------------------------+--------+---------|
| individual writes (8 threads) | 7711ms | 10577ms |
|-------------------------------+--------+---------|
| batch writes                  | 7944ms | 7105ms  |
|-------------------------------+--------+---------|
| batch writes (4 threads)      | 7774ms | 7078ms  |
|-------------------------------+--------+---------|
| batch writes (8 threads)      | 7662ms | 7079ms  |
|-------------------------------+--------+---------|
| removals                      | 3177ms | 3816ms  |
+-------------------------------+--------+---------+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Checkpoint support
1 participant