Skip to content

What about potential microservices? #84

Answered by andrzejkrzywda
mtk3d asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for the kind words Mateusz!

Let me start with a disclaimer: I'm not a big fan of extracting microservices just for the sake of it.
Microservices (as in the popular definition - json over http) - do bring some additional complexity.

Going microservices means that you no longer control the database transaction as easily as in the modulith.

That said/disclaimed:

Read models do fit well as microservices. They would consume the events and build the storage data. They are isolated, autonomous. They can be easily rebuilt, rewritten, optimized etc.

Frontends can then talk directly to the read model microservices - its role is only to expose the data in the most frontend-oriented possible way.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mtk3d
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants