kazukidb / kazuki

Kazuki: a harmonious data store
Other
5 stars 4 forks source link

[New Feature] JournalStore should be able to partition by date #26

Open cstamas opened 10 years ago

cstamas commented 10 years ago

Or even something more generic solution, like some Function<Something, PartitionId> and on new partition ID KZ would close current, create new one and append....

Then, "specialisations" could be things like:

Just throwing in idea.

FTR: this comes from NX Timeline, where journal could be partitioned "by calendar day", purge operation would become nearly trivial, as it would become just dropping closed partitions that are older than N days.

sunnygleason commented 10 years ago

This is an awesome feature request. Other things may take priority, but I will schedule this as soon as I can after those because it's especially cool.