News for hackers. Stuff that matters.
Re:Fast key-value stores: An idea whose time has come and gone by shereadsthenews on Monday June 24, 2019 @11:44AM (#20264683)
I think it's irrelevant. In fact the protobuf might be the best choice. If it was just defined as so:

  bytes key = 1;
  bytes value = 2;
... your overhead can be as little as 4 bytes and you can alias the memory of the key and value (using a type like std::string_view) instead of copying it. It takes a few nanoseconds to decode a message like this.

There are no comments on this comment yet.