Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Bulk capabilities #113

Open
etiennecl opened this issue Dec 11, 2020 · 3 comments
Open

Bulk capabilities #113

etiennecl opened this issue Dec 11, 2020 · 3 comments
Assignees
Labels

Comments

@etiennecl
Copy link

etiennecl commented Dec 11, 2020

Hi,

We are currently facing an issue where we are using cqrs with event-sourcing inside our application & we now need a way to bulk a bunch of commands in order to accept a high volume of data modifications. I was wondering what would be the best way to optimize performance as at the moment a single command would potentially make x number of SQL transactions. Making it an exponential behavior is more commands are sent from the same request.

We would need a way to aggregate all those commands SQL transactions into a single roundtrip.

I was thinking maybe about adding some contracts to the IStoreProvider interface as well as the ICommandSender in order to be able to handle a list of commands. This would allow the aggregation of the events processing through multiple commands with a single commit savechanges at the end.

@lucabriguglia
Copy link
Owner

Well, let's start with what you have done in https://github.com/clinia/cqrs:

  • Copy/paste of this project
  • All namespaces changed
  • No notice of changes of this original work
  • Not a single reference to Kledex.
  • License removed

Naughty naughty

@etiennecl
Copy link
Author

Hi @lucabriguglia ,

I apologize for any inconvenience this could have caused, it is indeed not the right way of supporting open source community. I want to make this right has it is not what I'm up for. To try and go into this direction and I will for starter

  • Delete the repository
  • Create a fork from this one
  • Leave all references to Kledex

I hope this could make things right, as the initial purpose was mainly to add some capabilities without modifying your core library. I do apologize again.

@lucabriguglia
Copy link
Owner

@etiennecl we all makes mistakes and it's important to makes things right.
Thanks for the understanding.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants