Last post Jan 15, 2020 03:06 PM by bruce (sqlwork.com)
Nov 22, 2019 03:00 AM|Mushar|LINK
What is Event Driven architecture in Asp.Net Core? What is event sourcing and how it could be useful in my web application?
Nov 22, 2019 08:57 AM|maherjendoubi|LINK
Jan 15, 2020 08:01 AM|Khuram.Shahzad|LINK
By definition from Wikipedia: An event can be defined as "a significant change in state". For example, when a consumer purchases a car, the car's state changes from "for sale" to "sold". A car dealer's system architecture may treat this state change as
an event whose occurrence can be made known to other applications within the architecture. From a formal perspective, what is produced, published, propagated, detected or consumed is a (typically asynchronous) message called the event notification, and not
the event itself, which is the state change that triggered the message emission. Events do not travel.
Jan 15, 2020 08:05 AM|Khuram.Shahzad|LINK
Event is something that happen and application is subscribers are watching for event when it happened they get notifies by publisher and then subscriber do some action, like in micro services we have event bus that is responsible for publishing/subscribing
, it implement pub/sub design architecture, that is pull/push base and application subscriber for some events and waiting for publisher to broadcast it, when it happened then they have some event handler that do some business logic.
practical example is:
Jan 15, 2020 03:06 PM|bruce (sqlwork.com)|LINK
Event driven architecture is where instead of using web service calls for micro services to communicate you use an event queue. Event sourcing and the saga pattern are often used. Both AWS and Azure have support for this architecture using asp.net core.