开发者

Are there any databases that support protocol buffers? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 2 years ago.

Improve this question

Are there any databases, in either the SQL or NoSQL worlds, that support protocol buffers? (Support could mean various things, but开发者_开发问答 hopefully would include being able to index on fields in protocol buffers.)


ProfaneDB: http://profanedb.gitlab.io

"ProfaneDB is a gRPC interface between Protocol Buffers and RocksDB"

P.S: Though the question was asked 10 years ago I still find it very relevant, specially with the ascension of gRPC. Hope that can be of help.


I am not aware of any (not that they don't exist, I just don't know about them), but perhaps it is worth discussing an alternate strategy and the pros and cons.

Typically you would want to store a serialized version of your protocol buffer, indexed by some particular key (a unique identifier, perhaps). You could then build secondary indexes for other interesting fields that point to that unique identifier. The idea is that you would want explicit indexes like this to scale beyond what a system that provides arbitrary indexes. This obviously opens up a world of new problems (such as stale arbitrary indexes).


Here is a project I found: https://github.com/google/mysql-protobuf

It's sql that speaks protobuf, looks promising but last commit was in mid March 2016.


ClickHouse lately added support for protobuf messages.


Cloud Spanner would provide native support for protobufs.

https://cloud.google.com/spanner/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜