These are chat archives for NimbusAPI/Nimbus

18th
Jan 2016
samousavih
@samousavih
Jan 18 2016 06:51
Hey about NimbusAPI .... why the way large messages stored changed from creation date folders to expiry date folders?
Andrew Harcourt
@uglybugger
Jan 18 2016 07:20
Hey @samousavih..
The main reason for having dates in the folder structures at all is to know when the message bodies can be safely removed.
For commands it's easy: was the command handled successfully?
For events it's a bit more tricky as all of the (potentially unknown number of) event handlers need to have handled the message before the body gets removed.
Either someone has to orchestrate that (i.e. events publishing events about events... ick..) or we have to have a deterministic way of knowing when things are safe to clean up.
Does that make sense?