View Source Baby.Log.Acceptor (Baby v0.32.0)

Disk queue for incoming bamboo data

The writing process, with its included verification, is much slower than the reading process. This means that peers are sending data much faster than we can store it.

As such, we have this level of indirection which gets the data out of memory (including process mailboxes) and on to disk. We may even be able to recover old data upon restart

Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Functions

Link to this function

add_job(data, conn_info)

View Source

Returns a specification to start this module under a supervisor.

See Supervisor.

Callback implementation for GenServer.init/1.