Open simerplaha opened 4 years ago
We need to write down some actual use-cases so that requirements are clear:
If there are two Maps A
& B
and we want to perform A + B = C
where C
is a new Map. If A
and B
are continuous stream of data, we can configure the +
operation (or any other function) such that
intervals
and every committed interval is visible to reads.intervals
but committed data is not visible until the full stream is processed.Interval
- can be specified in seconds or in bytes.
Problem
There are many situations that require processing large transactions. For example:
The following requirements would ensure that we can process large Streams of data with a simple API while being memory efficient.
Requirements
Stream
and submit an unmaterialised (unprocessed)Stream
to SwayDB for processing. Currently materialised (processed) Streams are required - See.Expected work
If you have a different opinion on this or any suggestions, please comment!