TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

20 pointsby Allyedgeover 2 years ago
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 comments

avinasshover 2 years ago
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 未加载
victorbjorklundover 2 years ago
Cool. Is it possible to run this inside another elixir app?
评论 #34877465 未加载
dohnuts1919over 2 years ago
Since this runs on Elixir, what&#x27;s the advantage of using it over Elixir&#x27;s inbuilt ETS?
评论 #34865264 未加载
LilyFrenchPantsover 2 years ago
Bad name. Too close to AlloyDB. Cross the Rubicon and rename it.<p><i>LFP</i>
评论 #34874187 未加载
re-thcover 2 years ago
Sounds like AlloyDB from GCP otherwise interesting project. There&#x27;s been a few lately. Any benchmarks on how they compare?
评论 #34867885 未加载