Hi All,
I have been playing a bit with modelling an aggregate structure, that from a business domain perspective, would be conveniently modelled as an @AggregateMember
Map (with ForwardMatchingInstances
).
However, the number of elements in that map would be up to 150,000 quite commonly; as far as I can tell, there is no lazy-loading mechanism for @AggregateMember
, so I would incur quite a considerable performance penalties owing to SerDes overheads.
Firstly, am I correct that @AggregateMembers
with ForwardMatchingInstances are not lazy-loaded from the event store (Hibernate-style proxy for example)?
Secondly, what are some good patterns in Axon for achieving a similar outcome to the RootAggregate -> Entity pattern?