Scenario:
A bucket is just like a table in a database or a collection in MongoDB.
A system has 10 million more records (order) in DB. If we need to find all orders for a user. we probably need to iterate keys to get it. The Get function might be slower in this case.
Proposal:
allow specific a bucket when calling "Put" and "Get" functions. Each bucket has its own index.
Scenario: A bucket is just like a table in a database or a collection in MongoDB. A system has 10 million more records (order) in DB. If we need to find all orders for a user. we probably need to iterate keys to get it. The Get function might be slower in this case.
Proposal: allow specific a bucket when calling "Put" and "Get" functions. Each bucket has its own index.
Unfortunately, this proposal needs to change the record format in the WAL file.