2.2.a-Networking--Service APIs--Turning a monolith into a microservice

  Рет қаралды 6,441

Jeffrey Richter

Jeffrey Richter

Күн бұрын

This video discusses what it takes to turn a method call into a network call and many of the issues related to this effort.

Пікірлер: 9
@nosh3019
@nosh3019 6 жыл бұрын
This course is really informative
@KDOERAK
@KDOERAK 6 жыл бұрын
Again, an excellent overview.
@mazenezzeddine8319
@mazenezzeddine8319 7 жыл бұрын
Should the call to the method service block the client? Futures and callbacks are handled especially when a microservice call another microservice?
@JeffreyRichter
@JeffreyRichter 7 жыл бұрын
This question is about an implementation detail and not about the big concepts. I'm a huge fan of making non-blocking asynchronous network requests because this allows a service's implementation to be resource efficient and therefore scale better and run more cheaply. But, many services do make blocking, synchronous network requests and if the load on the service is small enough, the resource consumption stays low and this service meets the desired needs.
@mazenezzeddine8319
@mazenezzeddine8319 7 жыл бұрын
Can increasing throughput in terms of number of concurrent users be identified as a reason to go to microservices? how would microservice architectural style compare to monolith in terms of latency?
@JeffreyRichter
@JeffreyRichter 7 жыл бұрын
No, you can always scale a monolithic service up by running more instances to meet high concurrent user demand. If you can identify different parts of the monolith that have different resource consumption and/or different usages (like some users only look at photos while others frequently upload photos), then you have identified good candidates for splitting into separate microservices.
@mazenezzeddine8319
@mazenezzeddine8319 7 жыл бұрын
Can it happen that the Method Itself be shipped into the microservice e.g. class job { Method(), arg1, arg2 } using serialization and dynamic class loading, does that fall also in the context of microservices?
@JeffreyRichter
@JeffreyRichter 7 жыл бұрын
Yes, microservices don't mandate any particular way for the code to get onto a machine. But, I wouldn't get too caught up in the "microservices" terminology. It is just a word. The main idea is that it privately owns a set of behaviors and its data store just like a object-oriented class owns a set of behaviors and its private fields.
@mazenezzeddine8319
@mazenezzeddine8319 7 жыл бұрын
The main idea is that it privately owns a set of behaviors and its data store just like a object-oriented class owns a set of behaviors and its private fields. Thanks great definition: perfectly fits to an actor definition, maybe!
2.2.b-Networking--Service APIs--API versioning
3:17
Jeffrey Richter
Рет қаралды 4,7 М.
How it feels when u walk through first class
00:52
Adam W
Рет қаралды 20 МЛН
Inside Out 2: ENVY & DISGUST STOLE JOY's DRINKS!!
00:32
AnythingAlexia
Рет қаралды 18 МЛН
哈哈大家为了进去也是想尽办法!#火影忍者 #佐助 #家庭
00:33
火影忍者一家
Рет қаралды 125 МЛН
My Daughter's Dumplings Are Filled With Coins #funny #cute #comedy
00:18
Funny daughter's daily life
Рет қаралды 30 МЛН
6.4.a-Data Storage--Data Consistency--Data Consistency
17:20
Jeffrey Richter
Рет қаралды 5 М.
What is an API Gateway?
10:19
IBM Technology
Рет қаралды 316 М.
Monolithic vs Microservice Architecture: Which To Use and When?
10:43
1.2.e-Distributed Cloud Apps--Microservices--12-Factor Services (Apps)
11:37
Don’t Build a Distributed Monolith - Jonathan "J." Tower - NDC London 2023
1:04:02
3.1.b-Messaging--Fundamentals--Messaging with queues
9:20
Jeffrey Richter
Рет қаралды 18 М.
What is Middleware?
10:11
IBM Technology
Рет қаралды 103 М.
How it feels when u walk through first class
00:52
Adam W
Рет қаралды 20 МЛН