具有自由许可的嵌入式开源键值存储
是否有任何开源的面向文档的键值映射/归约存储:
- 很容易嵌入(是的,可以嵌入,比如说 CouchDB,但是将整个 erlang 机器装上可能会很痛苦,我只是当我的应用程序运行时,对它在某些端口上的限制感觉不太好)
- 不会将整个映射保留在 RAM 中(你好,Redis!)
- 足以用于生产使用
- 具有与 GPL/LGPL/AGPL/ 不同的许可证不管怎样-GPL(嘿,MongoDB 和 Tokyo Cabinet!)
我并不真正关心水平可扩展性,因为我考虑构建一个桌面应用程序,但是拥有某种“附件”会更好,就像CouchDB,即一种存储附加到我的文档的二进制文件的方法。
Is there any open-source document-oriented key-value map/reduce storage that:
- is easily embeddable (Yes, it is possible to embed, let's say CouchDB, but it might be a pain to take the whole erlang machine onboard and I just don't feel good about it bounded on some port when my app is running)
- does not keep the whole map in RAM (Hello, Redis!)
- is good enough to be in production use
- has a license different from GPL/LGPL/AGPL/whatever-else-GPL (Hey, MongoDB and Tokyo Cabinet!)
I don't really care about horizontal scalability, as I think about building a desktop application, but what will be nice to have is some sort of the “attachments” like in CouchDB, i.e. a way to store binary files attached to my documents.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你应该考虑 SQLite。已经有桌面应用程序使用它来代替管理磁盘上的文件。
http://www.sqlite.org/whentouse.html
http://www.sqlite.org/known.html
我意识到它通常不包含在像 CouchDB 这样的“文档数据库”中,但它可以很容易地以这种方式使用。只需将 JSON 文档存储在列中即可。
而且它拥有最好的软件许可证:公共领域。
You should consider SQLite. There are already desktop applications that use it instead of managing files on disk.
http://www.sqlite.org/whentouse.html
http://www.sqlite.org/famous.html
I realize it's not usually included alongisde "document databases" like CouchDB, but it can easily be used that way. Just store your JSON doc inside a column instead.
And it has the best software license of all: Public Domain.