Dasith Wijesiriwardena

Results 12 comments of Dasith Wijesiriwardena

I thought In was going crazy trying to figure out why it was null.

Would the best design practice be using a different storage provider for snapshots (Like Redis) that caters for a quick lookup by a key?

Yes it does make sense. I've implemented my SnapshotStorageProvider in a very similar way. https://github.com/dasiths/NEventLite/blob/master/NEventLite%20Storage%20Providers/EventStore/EventstoreSnapshotStorageProvider.cs But I replaced it with Redis and got better read times. The only drawback with...

This introduces contention issues afaik. Calculating the snapshot and storing it in the right place in the stream require locking. Using a separate stream we just store the snapshot with...

Have a look here if you're keen https://dasith.me/2016/12/31/event-sourcing-examined-part-2-of-3/

Hi @macsux, Do you mind giving a quick rundown of a scenario where this would be useful? Are you doing any external (api/io) calls from the internal event handler?

I'm having a bit of trouble understanding this. Sorry. Are you using the aggregate to build the saga? I like to understand the scenario a bit better. Do you have...

Hi @cmrdY... When I designed it I wanted the aggregate class ctor and mutating methods to be public. A good case for this is unit testing. Is there any reason...

> https://github.com/boxboat/grypeadmissioncontroller I wrote this and got permission to open source it. This might scratch your itch? :) Awesome. It's very similar to https://github.com/aquasecurity/trivy-enforcer.

I had to be more specific in the description and say "single string strictly in the following JSON format" ```python def weather(action_input: str) -> str: print(action_input) input_obj = json.loads(action_input) where...