Replies: 5 comments 1 reply
-
Hi. We can split and parallelize in 3 projection types:
No problem with scale for inserts and deletions |
Beta Was this translation helpful? Give feedback.
-
We can group updates by event and process the same event types sequentially, but different in parallel |
Beta Was this translation helpful? Give feedback.
-
Let's consider an example of a batch of messages fetched from event stream - letter represents stream id and number is the sequence number of the event within that stream: A1 - A2 - B1 - A3 - B2 - C1 - A4 - C2 - C3 - C4 - C5 - C6 A1 - A2 - A3 - A4 |
Beta Was this translation helpful? Give feedback.
-
@lifinsky for now I am into different matter, but I will get back on this. I had in my head something like you're proposing in your last message, so in our case @unixslayer will describe how it works currently with Prooph Projection integration. So we can keep the same high level API between new and current projecting system. |
Beta Was this translation helpful? Give feedback.
-
Prooph provides 3 types of persistence strategies:
SimpleStreamStrategy is not meant to be used with Event Sourcing due its stream does not contain any constraints. This strategy is usefull if you have to combine events from other streams outside of ES scope. SingleStreamStrategy lets you store events in a single stream with constraint using AggregateStreamStrategy lets you store events from single instance of an aggregate into single stream. Every aggregate will have it's own stream names as Each strategy lets you use projections over their streams. Prooph provides following configuration for projections:
Events will be loaded from each of the streams that applies to |
Beta Was this translation helpful? Give feedback.
-
Hey,
Starting new topic here to collect plan and ideas for new way of rebuilding projections. This is also follow up on #254.
Current State of Projections:
Currently Projections are based on Prooph's implementation. The problem with this solution is, it does not scale and requires recomponesation actions like Gap Detection or Projection State which does not allow to run it in parallel.
--- TODO > describe current design in details
Future Projections should follow three principles:
--- TODO > describe future design in details
Beta Was this translation helpful? Give feedback.
All reactions