Event-Driven Core, Request-Response Shell
reactivesystems.eu
Event-Driven Core, Request-Response Shell
1–4 of 4 posts
Re: Event-Driven Core, Request-Response Shell
#2Re: Event-Driven Core, Request-Response Shell
#3When speaking about event-driven architecture in the past, people have told me it’s not for them because they build web applications and/or REST APIs. That made me think of a phrase from functional programming (functional core, imperative shell) and I wrote a short blog post about how there’s still value in being event-driven.
But then, if service A can handle the user's request all on its own, without delegating any part of it to a dependency service, that's a purely request-response system. Responding to a request doesn't require emitting a single event. If responding to a request does involve posting an event and then waiting for a counterpart event, you still have the temporal coupling.
Re: Event-Driven Core, Request-Response Shell
#4When speaking about event-driven architecture in the past, people have told me it’s not for them because they build web applications and/or REST APIs. That made me think of a phrase from functional programming (functional core, imperative shell) and I wrote a short blog post about how there’s still value in being event-driven.
>In this case, the goal of the event-driven architecture isn’t that everything is event-driven. It’s that any service that’s exposed to requests that demand a response can handle them on its own. But then, if service A can handle the user's request all on its own, without delegating any part of it to a dependency service, that's a purely request-response system. Responding to a request doesn't require emitting a sing…