We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(4)
我会看一下 SQLite,将数据库文件名设置为“:memory:”,这将创建一个内存数据库,当应用程序关闭时该数据库将不再存在。
它是公共领域,因此不存在许可问题
I'd have a look at SQLite, with the database file name set to ":memory:" this will create an in memory database that will no longer exist when your application closes.
It is public domain so that there is no issue with licensing
FastDB 应该可以正常工作。它支持内存中配置和共享访问。
FastDB should work just fine. It supports in-memory configuration and shared access.
Redis 不会对键进行排序,但它确实具有允许您按顺序检索项目的列表/集。如果不知道为什么需要顺序访问,则很难确定这是否可行,但是使用 NoSQL,您通常需要对所使用的数据结构进行一些不同的思考。
Redis doesn't sort keys, but it does have lists/sets which allow you to retrieve items in order. It's hard to know for sure if that would work without knowing why you want sequential access, but with NoSQL you often need to think a little differently about the data structures you use.
我建议京都内阁,它具有内存功能和顺序访问功能。
编辑:
stl地图出了什么问题?
I'd suggest Kyoto Cabinet, it has an in memory function and sequential access.
edit:
what's wrong with stl map?