esq icon indicating copy to clipboard operation
esq copied to clipboard

simple persistent queues for Erlang

Results 8 esq issues
Sort by recently updated
recently updated
newest added

This package is a dependency of [erlkaf](https://github.com/silviucpp/erlkaf/pull/8) and when erlkaf is build as a dependency in a mix project, there is an error: ``` Error evaluating Rebar config script ./rebar.config.script:22:...

Hello, Having the following queue: ```erlang {ok, Q}= esq:new( "priv/client_producer", [{tts, 0}, {capacity, 0}]). ``` After I add few items inside the queue and restart the app and do: ```erlang...

[@] help wanted

In-flight capability implements a simple protocol that ensures message retransmission in case of consumer failure. In-flight heap is pure in-memory segment. Existed queue behaviour deletes the on-disk segment one its...

[T] feature

The error has not been 100% reproduced. I am only suspecting such behaviour.

[@] review
[T] bug

``` terminated with reason: no match of right hand value {error,eexist} in esq_writer:open/1 line 75 ``` The error is caused by Out-Of-Disk space. The segment rotation shall handle errors carefully.

[T] bug

[Streams](https://github.com/datum) is an efficient mechanism to handle sequence of data. ``` stream:foreach(fun(_) -> ... end, esq:stream(Queue)) ```

[P] medium
[T] feature

A function `-spec esq:length(_) -> integer()` is a nice feature. There are no rocket science to make it for in-memory queue. However, the file queue requires persistency of counter that...