Andrey Smirnov fb585902a3 chore: replace underlying event implementation with single slice
The idea here is to use single slice of events for all the consumers.
Each consumer keeps its own position within the stream, and stream is
structured as circular buffer to avoid using too much memory.

This implementation allows for one more future: looking "back" into the
event history and returning past event starting with some offset (e.g.
timestamp, event ID, etc.). This feature is not implemented yet.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-05-20 11:12:43 -07:00
..
2020-05-04 19:38:30 -07:00
2020-04-28 08:20:55 -07:00
2020-03-05 22:05:56 +03:00
2020-04-28 08:20:55 -07:00
2020-04-28 08:20:55 -07:00