@hackage liszt0.1

Append only key-list database

Liszt

Liszt is an append-only key-list database.

Insertion

For the sake of reliability, insertion is performed locally.

commitFile :: FilePath -> Transaction a -> IO a
insert :: Serialise a => Key -> a -> Transaction ()

> commitFile "foo.liszt" $ insert "message" ("hello, world" :: Text)

Query

lisztd starts a server. The first argument is the root directory to find liszt files.

$ lisztd .

You can use the command line utility to watch a stream. -b 0 follows a stream from offset 0. -f "%p\n" prints payloads with newlines.

$ liszt foo.liszt message -b 0 -f "%p\n"
hello, world
  • Installation

  • Dependencies (0)

  • Dependents (0)