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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: AllyDB – An in-memory database similar to Redis, built using Elixir

20 点作者 Allyedge超过 2 年前
Hey, everyone.<p>I am currently working on AllyDB, which is basically my own Redis, which I am writing in Elixir.<p>Currently, the database is nowhere close to being ready, as you can see in the roadmap, but I am doing my best to add stuff as fast as possible.<p>Currently the implementation is very simple, with an in memory table, an append log persistence system, as well as an interval persistence system as a backup.<p>The database could definitely be optimized further, especially when it comes to persistence, which I am planning to do in the future.<p>I&#x27;m also planning to use Rust NIFs for specific tasks for the performance gains over Elixir and BEAM.<p>Writes and deletes are currently asynchronous, but I will add blocking versions of them soon.<p>I am trying to make the system as fault tolerant as possible, and currently everything except the TCP connections are fault tolerant.<p>I&#x27;m also working on a TypeScript client for the project, so yeah, that kind of sums it up.<p>Feel free to check the project and the roadmap out, and let me know what I could improve or give feature or optimization ideas!<p>Thanks, and have a nice one!

5 条评论

avinassh超过 2 年前
Hey OP, this is cool!<p>- What are the reasons you picked Elixir?<p>- What are you motivations for this project?<p>- How does the append log persistence work?<p>- Do you plan on adding clustering support?<p>- How do you plan to make it fault tolerant?<p>Here is the link to the roadmap if anyone is interested - <a href="https:&#x2F;&#x2F;github.com&#x2F;Allyedge&#x2F;allydb#roadmap">https:&#x2F;&#x2F;github.com&#x2F;Allyedge&#x2F;allydb#roadmap</a>
评论 #34866267 未加载
victorbjorklund超过 2 年前
Cool. Is it possible to run this inside another elixir app?
评论 #34877465 未加载
dohnuts1919超过 2 年前
Since this runs on Elixir, what&#x27;s the advantage of using it over Elixir&#x27;s inbuilt ETS?
评论 #34865264 未加载
LilyFrenchPants超过 2 年前
Bad name. Too close to AlloyDB. Cross the Rubicon and rename it.<p><i>LFP</i>
评论 #34874187 未加载
re-thc超过 2 年前
Sounds like AlloyDB from GCP otherwise interesting project. There&#x27;s been a few lately. Any benchmarks on how they compare?
评论 #34867885 未加载