~/talk

Implementing a database in Haskell

TalkinFrenchat Scala.IO 2017 · 2017-11-02..11-03· [databases]
links:none on file
slides:none on file

A Haskell toy event store called LambdaDB is presented: an append-only, event-sourced NoSQL with write-only append and reads by stream. It uses protobuf v2 for message payloads, cereal and GHC generics for serialization, a 19-byte network frame header plus an 18-byte correlation id on port 1113 with 200 ms heartbeats, keeps its index in RAM and uses STM transactions to atomically update index and journal but remains experimental and can lose data on failure.

AI-written summary · about

  1. 0:00Introduction
  2. 1:28Who am I?
  3. 7:31Introduction to the Lambda type
  4. 9:44Parsing settings in CLI
  5. 28:26Client/Server exchange
  6. 29:29LDE connection manager
  7. 38:31Journal definition
  8. 41:02In-memory Journal
  9. 43:26Indexing
  10. 44:33Executing the write
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.