Closed roseduan closed 1 year ago
Are you planning to add support for TTL function?
Also, could you consider adding support for self-repair function of WAL files?
If you want to add TTL (Time-to-Live) support, I can implement this. @roseduan
Are you planning to add support for TTL function?
Are you going to use rosedb? can you describe your case more clearly? So I can design this feature in the next release.
Also, could you consider adding support for self-repair function of WAL files?
What do you mean self-repair
? You can add an issue in WAL project and tell me more about it, thanks.
Are you planning to add support for TTL function?
Are you going to use rosedb? can you describe your case more clearly? So I can design this feature in the next release.
We are currently attempting to utilize RoseDB for storing meteorological data, primarily focused on storing forecast data for the last 10 days. These data necessitate daily scheduled tasks such as collection, parsing, and collaborative element coordination. Additionally, the regular removal of outdated data is particularly crucial due to the substantial data volume, which amounts to no less than 30GB per day.
Are you planning to add support for TTL function?
Are you going to use rosedb? can you describe your case more clearly? So I can design this feature in the next release.
We are currently attempting to utilize RoseDB for storing meteorological data, primarily focused on storing forecast data for the last 10 days. These data necessitate daily scheduled tasks such as collection, parsing, and collaborative element coordination. Additionally, the regular removal of outdated data is particularly crucial due to the substantial data volume, which amounts to no less than 30GB per day.
If the data amounts are no less than 30GB per day, I think you should pay attention to the restart speed of RoseDB, because rosedb will iterate all data to rebuild the index in memory, it may take a long time if the data grows larger.
BTW, the TTL and expire methods are easy to support, I will add them to our development plan if you need them.
The restart speed is indeed relatively slow, We've developed middleware to achieve distributed management of RoseDB. At present, use 16 testing nodes, storing data around 120GB. Therefore, I'm particularly attentive to the efficiency and stability of the data merging functionality.
We have experimented with various storage engines, including BoltDB, Badger, VictoriaMetrics, and more. After comparing them, we found that RoseDB is relatively straightforward, with high read-write efficiency ~~~ it's quite astonishing!
OK thanks, I will add the TTL support in the next release.
V2.3.0 has released: https://github.com/rosedblabs/rosedb/releases/tag/v2.3.0
disk hash index