aevatarAI / aevatar-station

Your all-in-one platform for creating, managing, and deploying AI agents.
MIT License
24 stars 8 forks source link

[MongoDB] Understand The Implementation of Orleans Event Sourcing #523

Open Charles-aelf opened 4 weeks ago

Charles-aelf commented 4 weeks ago

Identify potential performance bottleneck

zhifenglee-aelf commented 3 weeks ago

Orleans.Provider.MongoDB for saving state is saving EventSourcing logs as well which should not be the case. EventSourcing logs should be saved through the Orleans.EventSourcing.MongoDB package's implementation in another mongodb collection.

Charles-aelf commented 3 weeks ago

Instead of current state, GrainState storage is saving state change log into mongodb, this requires further investigation to check if this is default behavior or misconfiguration issue

Image