HoodMelville

Build StatusLicense: MITHex pmhexdocs.pm

Description

Real-time purely functional persistent (in the data-structure sense not that it’s goes to disk) queue. Will never get into a bad state unlike the erlang queue although has lower throughput for good states. Trades latency for 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 /tests