liszt: Append only key-list database

[ bsd3, database, library, program ] [ Propose Tags ]

Please see the README on GitHub at https://github.com/fumieval/liszt#readme


[Skip to Readme]
Versions 0.1, 0.2
Change log ChangeLog.md
Dependencies base (>=4.7 && <5), binary, bytestring, containers, deepseq, directory, exceptions, filepath, fsnotify, liszt, network, reflection, scientific, sendfile, stm, stm-delay, text, transformers, unordered-containers, winery [details]
License BSD-3-Clause
Copyright Copyright (c) 2018 Fumiaki Kinoshita
Author Fumiaki Kinoshita
Maintainer fumiexcel@gmail.com
Category Database
Home page https://github.com/fumieval/liszt#readme
Bug tracker https://github.com/fumieval/liszt/issues
Source repo head: git clone https://github.com/fumieval/liszt
Uploaded by FumiakiKinoshita at Fri Aug 10 08:35:57 UTC 2018
Distributions NixOS:0.2
Executables lisztd, liszt
Downloads 68 total (16 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-08-10 [all 1 reports]
Hackage Matrix CI

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for liszt-0.1

[back to package description]

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