Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.14 KB

README.md

File metadata and controls

33 lines (24 loc) · 1.14 KB

HoodMelville

Build Status License: MIT Hex pm hexdocs.pm

Description

Real-time purely functional persistent (in the data-structure sense not that it goes to disk) queue. Will never get into a bad state unlike the erlang queue although has lower throughput for good states. Optimized for consistent latency instead of throughput.

Installation

available in Hex, the package can be installed by adding hood_melville to your list of dependencies in mix.exs:

def deps do
  [
    {:hood_melville, "~> 0.1.0"}
  ]
end
queue =
  HoodMelville.new()
  |> HoodMelville.insert("sample")

HoodMelville.get(queue)

See the linked docs for more function info and/or the test directory