inlinedio / ikv-store

High-performance key-value store for ML inference. 100x faster than Redis.
https://inlined.io/
MIT License
201 stars 5 forks source link

[Go] Bulk/Multi Read fields in ikv go client #128

Open pushkarmoi opened 4 months ago

pushkarmoi commented 4 months ago

Ikv go client only supports single get in IKVReader - ie a user can fetch one field from one document. We should add the following batch/multi versions for each field type -

Tip: Minimize object allocation in the returned objects (ex. avoid maps)

Reference (in java client) https://github.com/inlinedio/ikv-java-client/blob/32c10fc40e9397c7e6ced771a5768e6436244ef5/src/main/java/io/inlined/clients/DefaultInlineKVReader.java#L135