TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Kronotop: Redis-compatible, transactional document store backed by FoundationDB

89 点作者 mastabadtomm4 个月前

7 条评论

NathanFlurry4 个月前
What fascinates me most is not the protocol itself, but the potential to add a thin scripting layer (similar to Redis&#x27; EVAL or the newer modules API) to enable complex logic with atomic transactions and high QPS.<p>In the past, we relied heavily on using EVAL[SHA] with 200+ loc Lua scripts in order to implement high throughput, atomic transactions for realtime systems. We also used the JSON &amp; Redis Query Language (previous named &quot;full-text search&quot;) to build a more maintainable &amp; strongly consistent system than using raw key-values and manually building secondary indexes.<p>We’ve since migrated to a native FoundationDB and SQLite hybrid setup, but this approach would have been really helpful for early-stage prototyping with a higher performance ceiling (thanks to FDB sharding) than a single-node Redis with AOF.<p>Related: Redis Cluster is a world of pain when handling clustering keys and cross-node queries and orchestration. DragonflyDB is chasing after the market of companies considering sharding Redis because of performance issues by providing better single-node performance. There&#x27;s probably an alternative approach that could work by using an architecture like this.
评论 #42780985 未加载
danpalmer4 个月前
The awesome thing about Redis is that it&#x27;s less a &quot;cache&quot; and more a set of fast network-shared, generic data structures. To have that then also be transactional and durable would be really handy sometimes.
评论 #42779191 未加载
hobobaggins4 个月前
If only it wasn&#x27;t Java.. but it looks very cool anyway.
评论 #42777325 未加载
tasn4 个月前
One thing I wish redis had is the ability to extend itself beyond its memory capacity. So if I run out of memory, just move some stuff to disk. Or if I&#x27;m using persisted redis, just free up some memory.<p>Maybe this is it.
评论 #42776647 未加载
评论 #42778822 未加载
remram4 个月前
Other API-compatible reimplementations (others?):<p><a href="https:&#x2F;&#x2F;github.com&#x2F;dragonflydb&#x2F;dragonfly">https:&#x2F;&#x2F;github.com&#x2F;dragonflydb&#x2F;dragonfly</a> DragonflyDB (not open source, BuSL-1.1) with more performance<p><a href="https:&#x2F;&#x2F;github.com&#x2F;apache&#x2F;kvrocks">https:&#x2F;&#x2F;github.com&#x2F;apache&#x2F;kvrocks</a> Apache Kvrocks (Apache-2.0) uses disk-based NoSQL database to lower memory usage
cluckindan4 个月前
The naming implies it’s a KDE desktop process monitoring tool with history graphs.
dangoodmanUT4 个月前
Damnit this has been in my ideas list for a long time
评论 #42776108 未加载
评论 #42789496 未加载