garrison

garrison

Hobbes RFD #1: XKS Storage Engine

This is the first RFD (Request For Discussion) for Hobbes, a database/library written in Elixir.

I am going to be exercising a little more creative control over Hobbes’s architecture going forward (i.e. deviating further from the original FoundationDB design), so I thought it would be a good idea to make a habit of writing design documents for those changes. And, if I’m going to be doing that, I may as well turn them into RFDs and solicit discussion from the community.

XKS (short for ExKeyStore) is a new on-disk storage engine for Hobbes. Safe persistent storage is an important requirement for a Hobbes cluster, as without it Hobbes cannot provide its strong consistency and correctness guarantees. XKS is designed to meet that requirement by providing deep integration with the Hobbes cluster, including the ability to perform fully integrated simulation testing and fault injection.
This document introduces the basic layout of an XKS file and the design of its first data structure: a leveled LSM tree. Future work may feature additional data structures designed to meet the needs of Hobbes’s various servers.

This first RFD is a little involved because it lays out the design for an entire storage engine, but I know there are some here who are into that sort of thing. Future RFDs will be more approachable.

You can read the RFD here:

Discussion is appreciated! Even if you feel like you don’t know much about this stuff, questions are still very welcome.

Where Next?

Popular in News & Updates Top

lawik
NervesHub has had a CLI for a long time. It is called nerves_hub_cli and for the longest time you’d add it as a dependency. But only once...
New
zachdaniel
Hey folks! I’ve released the first version of our new AI policy. Accepting it is now part of our issue and pull request templates. Feel ...
New
ConnorRigby
This week we added official Nerves support for the OSD32MP1 line of SOMs. Currently we have tested the osd32mp1-brk breakout board, and ...
New
fhunleth
We recently released Nerves 1.4.0 and an update to the Nerves new project generator, nerves_bootstrap. The biggest change is support for ...
New
jjcarstens
Do you like Hacktoberfest? Also enjoy working with Nerves and want to contribute? Fantastic! :tada: :beers: Here are some potential sta...
New
bartblast
Hologram v0.6.0 is here, bringing production-ready features to the full-stack Elixir web framework! This release focuses on enhanced secu...
New
zachdaniel
Hey folks, we have a minor CVE issued for AshAuthentication. Please read the CVE and update accordingly. Relatively low severity, can’t c...
New
zachdaniel
Going into main shortly, to be released with atomics being wrapped up (which will get its own larger announcement), we will support valid...
New
zachdaniel
Join us for our first Ash Office Hours next Thursday at 6PM EST! Myself and anyone from the core team who can make it will be answering q...
New
zachdaniel
@jimsynz just launched an epic new extension for Ash! It allows you to create rich mix tasks for calling your resource actions directly f...
New

Other popular topics Top

shahryarjb
Hello, I get Persian date from my client and convert it to normal calendar like this: def jalali_string_to_miladi_english_number(persi...
New
aalberti333
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this: ...
New
fireproofsocks
I’m working on defining a simple Ecto schema for a table (in PostGres), but I don’t see where I can define a column as NOT NULL. Conside...
New
chrismccord
This release brings a number of exciting features, including integration with the new Phoenix LiveDashboard and Phoenix LiveView. There h...
New
script
If I have a string “1000 cfu/ml” . I want to remove the characters and / and space . So the string is like this "1000" What is the ...
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
Fl4m3Ph03n1x
About me? ( if you have nothing better to do than reading about some random guy in the internet :stuck_out_tongue: ) Hello all, this is ...
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New

We're in Beta

About us Mission Statement