hanami / events

[Experimental] Events framework for Hanami
MIT License
43 stars 7 forks source link

Think: semaphore for 2+ instances #25

Closed davydovanton closed 7 years ago

davydovanton commented 7 years ago

What will we do if we have 2+ instances of a project and all these instances update one data in DB?

For example, we have two instances of a project for creating a user. If we send user.created the event all these instances create a user. And in this case, we will have 2 equals users in DB

davydovanton commented 7 years ago

We switched to stream architecture. It's mean that we can drop this issue