哪个键值存储有不错的扭曲 API(非阻塞)?
我需要一个可靠的 KV 存储来在网络中运行。主要要求:
- 网络连接
- 具有非阻塞扭曲 API
- ,可靠且可用于生产。无数据丢失
- 写入性能比读取性能更重要
- 支持分布式操作和故障转移会很棒(所以我只指定节点列表)
- java / ruby / erlang API也将非常感激
拥有自动增量键的额外好处( PK),所以SQL(MySQl?Postgres?)也被考虑,他们有扭曲的驱动程序吗?
I need a reliable K-V storage to be run in network. Main requirements:
- Network connectivity
- has nonblocking twisted API
- be reliable, production ready. No data loss
- write performance is more important than read performance
- support for distributed operation and failover would be great (So I just specify list of nodes)
- java/ruby/erlang API would also be much appreciated
Additional bonus for having auto-increment for Key (PK), so SQL (MySQl? Postgres?) are also considered, do they have twisted drivers?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您还可以使用 Redis,使用 https://github.com/deldotdr/txRedis。 redis 速度非常快,唯一的不便之处在于它是基于内存的,这意味着您的数据必须适合内存。
You could also Redis, with https://github.com/deldotdr/txRedis. redis is super fast, the only inconveninet is that it is memory based, meaning that your data has to fit in memory.
MongoDB 听起来非常适合:http://api.mongodb。 org/python/1.8.1%2B/index.html
我还没有真正使用过 Twisted,但 Mongo 满足了您列出的所有要求。
MongoDB sounds like a really good fit: http://api.mongodb.org/python/1.8.1%2B/index.html
I haven't really played with Twisted yet but Mongo fulfils all of your listed requirements.