MrCroxx / RunKV

[WIP] An experimental cloud-native distributed KV engine for OLTP workload.
MIT License
68 stars 7 forks source link

feat: bind raft and lsm-tree together! #117

Closed MrCroxx closed 2 years ago

MrCroxx commented 2 years ago

Binding RAFT and LSM-tree TOGETHER!!

...and QPS drops x200, 😇.

Prepared to run.

codecov[bot] commented 2 years ago

Codecov Report

Merging #117 (b453b27) into main (7069dc4) will increase coverage by 2.75%. The diff coverage is 58.77%.

@@            Coverage Diff             @@
##             main     #117      +/-   ##
==========================================
+ Coverage   71.11%   73.87%   +2.75%     
==========================================
  Files          70       71       +1     
  Lines        7198     7268      +70     
==========================================
+ Hits         5119     5369     +250     
+ Misses       2079     1899     -180     
Impacted Files Coverage Δ
common/src/lib.rs 100.00% <ø> (ø)
wheel/src/components/command.rs 50.00% <ø> (ø)
wheel/src/components/lsm_tree.rs 59.32% <23.07%> (+37.37%) :arrow_up:
common/src/time.rs 40.00% <40.00%> (ø)
wheel/src/service.rs 72.10% <48.78%> (+24.39%) :arrow_up:
wheel/src/components/raft_manager.rs 88.93% <79.16%> (-1.50%) :arrow_down:
wheel/src/worker/kv.rs 61.08% <80.76%> (+15.27%) :arrow_up:
storage/src/lsm_tree/components/skiplist/list.rs 82.91% <0.00%> (+0.94%) :arrow_up:
storage/src/lsm_tree/components/memtable.rs 91.08% <0.00%> (+2.97%) :arrow_up:
storage/src/lsm_tree/components/skiplist/arena.rs 100.00% <0.00%> (+6.38%) :arrow_up:
... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 7069dc4...b453b27. Read the comment docs.