Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Currently, one rocksdb for one container. one container has 5GB capacity. 10TB data need more than 2000 rocksdb in one datanode. It's difficult to limit the memory of 2000 rocksdb. So maybe we should limited instance of rocksdb for each disk.
The design of improvement is in the follow link, but still is a draft.
TODO:
1. compatibility with current logic i.e. one rocksdb for each container
2. measure the memory usage before and after improvement
3. effect on efficiency of read and write.
https://docs.google.com/document/d/18Ybg-NjyU602c-MYXaJHP6yrg-dVMZKGyoK5C_pp1mM/edit#
Updated: 2021-10-29
We'll continue this topic with a new detailed design doc:
https://docs.google.com/document/d/1hLtPJI8lSUhazMsoRKQuXuXs2gqixi6bQNTV9UnPsqs/edit?usp=sharing
Updated: 2022-05-23
Refined the design doc:
https://docs.google.com/document/d/1oPCRUVqTJDbYITbwvoVCOZ2-k108FwOXVhq9ukDKHbQ/edit?usp=sharing