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]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 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 2018-08-10T08:35:57Z
Distributions
Executables lisztd, liszt
Downloads 1091 total (6 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-08-10 [all 1 reports]

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