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

zachdaniel
Ash Framework 3.0: Release Candidates! The day is finally here! This is the culmination of years of work from the Ash team and community ...
New
zachdaniel
We’re working hard on improving docs, and have some substantial things that it would be great to get some thoughts on. One of the bigges...
New
New
lawik
Nerves, fwup and NervesHub have had delta updates as a feature on the checklist for a long time. A delta update being essentially a patch...
New
fhunleth
Circuits.GPIO lets you read and write to I/O pins on embedded hardware like that used by Nerves. The new v2.0 version makes it possible t...
New
bartblast
Hey there! :slight_smile: We need help completing Elixir’s browser runtime by porting some Erlang functions to JavaScript. Hologram aut...
New
jjcarstens
The Raspberry Pi is a very popular hardware platform for Nerves users and the official systems are getting an upgrade! :tada: :beers: Wh...
New
zachdaniel
Working with nested forms in Ash was already great, but it’s even better now with a the new features that will be in the next release of ...
New
lawik
It is my pleasure to announce the official release of the new generation of NervesHub with the v2.0.0 release. Containers are tagged. :p...
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

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
JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1140 51847 244
New
dotdotdotPaul
Okay, I'm having a heck of a time trying to figure out how to best handle the validation of belongs_to associations in Ecto. I'm sure I'...
New
pmjoe
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
New
yawaramin
In the Dialyzer docs ( http://erlang.org/doc/man/dialyzer.html#requesting-or-suppressing-warnings-in-source-files ), there is a way to tu...
New
_russellb
I want to try my hand at web scraping. What tools/libraries do I need to use. I’m hoping to turn this into something professional so don’...
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
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
johnnyicon
Hi all, I've just started learning Elixir and Phoenix Framework, so please pardon my n00bness at this stage. I'm trying to use Postg...
New
AstonJ
by Lance Halvorsen Elixir and Phoenix are generating tremendous excitement as an unbeatable platform for building modern web application...
460 27162 124
New

We're in Beta

About us Mission Statement