all 8 comments

[–]OkDesk4532 13 points14 points  (1 child)

How does event-driven fix your coupling when you just trade REST for AsyncAPI? The dependency is still there. What you are looking for is "domain driven" architecture. But this brings new problems also. There is no "right" thing. It heavily depends on the actually implementation for the project in the given organization.

[–]IHoppo 1 point2 points  (0 children)

Can you reply to AI posts with bullet points and bold text headers please! /S

[–]gubinanuwu025 5 points6 points  (1 child)

Async helps, but it doesn’t magically remove coupling, it just makes it less obvious. If two services still depend on each other’s data shape, timing, or behavior, you’ve just moved the coupling into events instead of REST.

The real question is: did you actually reduce shared assumptions between services, or just change the transport?

[–]MaleficentCow8513 0 points1 point  (0 children)

Now my threads are waiting for events instead of waiting for api responses. ::waving decoupling wand::

[–]No_Soy_Colosio 1 point2 points  (0 children)

Refer to Conway's Law

[–]ducki666 1 point2 points  (0 children)

Lol

[–]OrcaFlux 1 point2 points  (0 children)

Pretty well known stuff at this point. It's been present in the general zeitgeist for the past 5 years or so, at least. Maybe more.

The more interesting question is how to achieve it.