寻找具有顺序访问功能的独立内存数据服务器

发布于 2024-10-06 23:36:59 字数 1539 浏览 0 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

风苍溪 2024-10-13 23:36:59

我会看一下 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

吻风 2024-10-13 23:36:59

FastDB 应该可以正常工作。它支持内存中配置和共享访问。

FastDB should work just fine. It supports in-memory configuration and shared access.

小清晰的声音 2024-10-13 23:36:59

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.

别把无礼当个性 2024-10-13 23:36:59

我建议京都内阁,它具有内存功能和顺序访问功能。

编辑:
stl地图出了什么问题?

I'd suggest Kyoto Cabinet, it has an in memory function and sequential access.

edit:
what's wrong with stl map?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文