You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been thinking of doing an implementation of this, but it would require the use of e.g. IAsyncEnumerable or something similar to keep the memory usage low. I have heard of users of EventFlow having literally thousands of events per aggregate and thus memory becomes a concern. It might be that EventFlow flow could ship with a "dumb" version that has a lot of caveats, e.g. does one at a time and doesn't care about changing aggregates after the process was done.
If you want to have an easy way to do it, merely get a list of all the aggregates from the store and use the IAggregateStore to iterate though all of them. You might want to partition the data and split it across multiple works.
Hi,
Could you suggest how to retrieve all aggregates or read models? I couldn't find any built-in functionality for this.
I understand that retrieving all aggregates is expensive in terms of performance, because EventFlow needs to replay all events for each aggregate.
However, it seems that read models also lack this functionality. I found an old issue (#550), but it was closed.
For example, If I have a
UserAggregate
and I want to display the list of users. How to do it?Thanks.
The text was updated successfully, but these errors were encountered: