Solving distributed data problems in a microservice architecture | Microservices.io

  Переглядів 24,898

EDA Summit

EDA Summit

День тому

To deliver a large complex application rapidly, frequently and reliably, you often must use the microservice architecture. The microservice architecture is an architectural style that structures the application as a collection of loosely coupled services.
One challenge with using microservices is that in order to be loosely coupled each service has its own private database. As a result, implementing transactions and queries that span services is no longer straightforward.
In this EDA Summit presentation, you will learn how event-driven microservices address this challenge. Chris Richardson, creator of microservices.io, describes how to use sagas, which is an asynchronous messaging-based pattern, to implement transactions that span services.
You will learn how to implement queries that span services using the CQRS pattern, which maintain easily queryable replicas using events.

КОМЕНТАРІ: 20
@RafaelSantos-cr1xo
@RafaelSantos-cr1xo 2 роки тому
I loved it. This presentations puts all components of a mature microservice together. I was looking for something like that for a long time. Congrats.
@ashseth7885
@ashseth7885 5 місяців тому
Learning from design guru is always a pleasure, thank you so much
@hubertpietrzykowski3242
@hubertpietrzykowski3242 18 днів тому
this is goldmine
@amitros77
@amitros77 11 місяців тому
This was the best. You tackled most of the real-world problems in micro-services architecture. Many Thanks.
@abhinavkumar2038
@abhinavkumar2038 Рік тому
Thank you so much for sharing all this excellent info about distributed data problems in microservice architecture!!!! It is so appreciated!!!
@amriteshsingh2952
@amriteshsingh2952 Рік тому
Awesome presentation, loved that. Thanks for all your efforts.
@kaziem
@kaziem 2 роки тому
Awesome general lecture on data composition and sharing in microservices from and industry leader.
@ajabbi-tv
@ajabbi-tv 2 роки тому
Very clear as usual Chris :)
@orkhanalikhanov
@orkhanalikhanov Рік тому
Amazing content. I can't thank you enough!
@sudharsang1983
@sudharsang1983 10 місяців тому
Very good one & this is the best I have seen for micro-services.Thank you
@mahahrishi
@mahahrishi 3 місяці тому
Very nicely explained, every thing is crystal clear
@sabihass5361
@sabihass5361 Рік тому
I learned so much. Thanks!
@nynke8893
@nynke8893 Рік тому
Thank you!
@stephendgreen1502
@stephendgreen1502 4 місяці тому
I love this deeply insightful video
@ismaelyassin8882
@ismaelyassin8882 11 місяців тому
Great video, many likes. But CQRS, hmm one of the best architectural design patterns, but replicating databases for segregating commands and queries can get complicated and needs governance to ensure everyone follows the pattern, same applies for many other patterns of course.
@Nurhuda-xm9ek
@Nurhuda-xm9ek Рік тому
it's awesome
@RobCoops
@RobCoops 11 місяців тому
The main problem I see with micro services is that it is overkill for an awful lot of systems. Sure if you are building a web based service and are expecting a few billion requests a day or more micro services are a must. But if you are building a hotel reservation system for instance you are maybe going to see a few thousand requests an hour if that. Looking at all the hoops one needs to jump through to make micros services a viable solution I am pretty certain that it will be way to heavy a lift for that hotel reservation system. Unfortunately the cool new thing in software architecture being the best solution for everything seems to still plague many software architects thinking. Yes, micro services are a cool but complex solution it certainly has a place but that place is not in a simple solution that just needs to handle a few hundred interactions a minute. Software architecture is just like any profession all about picking the right tool for the job, a monolith or a distributed monolith might be perfectly fine for the thing you have been tasked to architect. Sure it is not as sexy as the new kid on the block but it will provide enough resiliency and a far lower TOC than the new thing ever could. Ok rant over 🙂 I love the presentation though it covers a lot of the micro service pitfalls many organizations are encountering when they dive into the wonderful world of micro services.
@2k10clarky
@2k10clarky 6 місяців тому
There are other benefits to microservices other than ability to handle web scale, if you have multiple teams it makes a lot of sense for them to work on self contained de-coupled services so you can get proper autonomy and ownership at the team level. It really does depend on the use case and team set-up though, for example if I was designing an architecture for a startup where the team is small and they want to iterate fast I would probably go with a stateless monolith for simplicity and speed until such time as they prove the MVP and expand the team or the traffic/complexity tells you microservices are required. Ultimately I think software engineering is still so young as a profession we need to be way more scientific and make decisions on the basis of data and measure rather than the opinion of the dominant alpha geek
@anjanishrivastava1273
@anjanishrivastava1273 Рік тому
ITS CALLED THE INSIDE STORY I LIKED IT
@sitecocu
@sitecocu 2 роки тому
gg, Chris!
Shared Database between Services? Maybe!
13:51
CodeOpinion
Переглядів 21 тис.
🔥 Україна виходить у ФІНАЛ ЄВРОБАЧЕННЯ-2024! Реакція alyona alyona та Jerry Heil #eurovision2024
00:10
Євробачення Україна | Eurovision Ukraine official
Переглядів 278 тис.
Glow Stick Secret 😱 #shorts
00:37
Mr DegrEE
Переглядів 100 млн
Data Consistency Between Microservices
8:52
CodeOpinion
Переглядів 23 тис.
How to do Distributed Transactions the RIGHT way? Microservices
13:06
7 Database Patterns for Microservices Architecture
32:44
Kindson The Genius
Переглядів 49 тис.
They Enabled Postgres Partitioning and their Backend fell apart
31:52
Hussein Nasser
Переглядів 36 тис.
Microservice Authentication and Authorization | Nic Jackson
1:05:43
DevOps Conference
Переглядів 76 тис.
What Are Microservices Really All About? (And When Not To Use It)
4:45
The Problem With Microservices
17:47
Continuous Delivery
Переглядів 427 тис.
САМЫЙ дешевый ПК с OZON на RTX 4070
16:16
Мой Компьютер
Переглядів 103 тис.
3D printed Nintendo Switch Game Carousel
0:14
Bambu Lab
Переглядів 392 тис.