Skip to content
/ cbuf Public
forked from mattsta/cbuf

Erlang Circular Buffer/List/LIFO Queue using ETS

Notifications You must be signed in to change notification settings

kraysx7/cbuf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

cbuf: Erlang Circular Buffer/List/LIFO Queue using ETS

Building

Compile: rebar compile

Test: rebar eunit

See cbuf_test/0 in src/cbuf.erl for sanity tests.

API Usage

  • Create a circular list of size N (start_link)
  • Add items to the list (add)
  • Retrieve the most recent N items (entries)

cbuf was created to serve a bounded scrollback for a web based interactive terminal.

About

Erlang Circular Buffer/List/LIFO Queue using ETS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Erlang 100.0%