ContextCore / GridDomain

Framework for building domain-centric robust, scalable and reliable applications with ease
18 stars 7 forks source link

Replace PersistenceHub with lookup #66

Closed andreyleskov closed 6 years ago

andreyleskov commented 7 years ago

Make aggregate actor responsible for it shutdown on inactivity, or create separate actor for it. Get rid of persistnce hubs as they track all existing aggregates in-memory, it is bottleneck. Make command pipe responsible for lookup for aggregate actor and create it if not found. Think about caching actor refs for recently used aggreagates and aggregate preload on special message, it can be done when user just logs into system.

andreyleskov commented 6 years ago

Retired PersistenceHubs as part of local-only Node run mode. Was replaced by a Cluster run mode