goncalotomas / FMKe

🛠️ Realistic benchmark for key value stores
Other
23 stars 8 forks source link

Interface for KV Driver is still not finalised #86

Closed goncalotomas closed 7 years ago

goncalotomas commented 7 years ago

More functions are exported from gen_kv_driver.erl than needed. Ideally, only get and put should be needed, but further help could be provided via other modules. For instance, it is possible to obtain some information about the context of the current operation through the key that is being fetched/updated.

Current interface:

Since adding the conversion to Erlang records in all get requests, find_key loses its purpose. A single get is performed, returning the application level record for an object. Fields in these objects can be accessed trivially, removing the requirement for this export

goncalotomas commented 7 years ago

Closed, fixed by https://github.com/goncalotomas/FMKe/commit/e97ef950e51148a20464647be61cc3a047822f41