Proposal: keep key and value into memory
0x5487 opened this issue · comments
Scenario:
When building a low-latency service, people would like to keep all key and values in memory. This way will reduce one disk IO to fetch value.
Proposal:
we can create a new option. For example, the Mode field has two options.
- KeyOnly
- KeyAndValue
// Options specifies the options for opening a database.
type Options struct {
Mode: KeyAndValue
}
Thanks, are you already using rosedb in production?
I can add this feature in the next release.
No, not yet. we are still investigating.
No, not yet. we are still investigating.
Hello, are you still investigating?