No video

3.1.b-Messaging--Fundamentals--Messaging with queues

  Рет қаралды 18,784

Jeffrey Richter

Jeffrey Richter

Күн бұрын

Пікірлер: 11
@tanmoychowdhury2
@tanmoychowdhury2 5 жыл бұрын
Probably the best demonstration on you tube. Thank you Jeff..
@armstrongfamily87
@armstrongfamily87 4 жыл бұрын
I designed same for a multi-tenant/language/service product back in 2003 using windows Servers, MSMQ, ASP.NET, IIS, etc. Worked great for async or sync calls from web. Async calls would get a receipt #, think most all customers preferred the sync method, easier for them, but both were supported.
@TheDodo1224
@TheDodo1224 5 жыл бұрын
Great talk, very informative!
@agapella08
@agapella08 3 жыл бұрын
really good contents here!
@nmarcel
@nmarcel 6 жыл бұрын
It would be great to see this compared with the Azure Durable Functions way.
@oliviermatrot1203
@oliviermatrot1203 7 жыл бұрын
Hi Jeffrey, amazing information. You're telling about a request coming to a website posting a message to a queue and polling for response. I can't think about anything but async/await in c#. So following is my question: Is there an API, at least to your knowledge on Azure, that could turn a REST request to a message in a queue, then waiting for a response ?
@JeffreyRichter
@JeffreyRichter 7 жыл бұрын
I'm not aware of any service that offers this. It would probably be best offered by an API gateway service.
@kendallwillets
@kendallwillets 6 жыл бұрын
That control flow looks like a nightmare. Is it possible to construct some kind of stack to manage the queue dispatch and return points? It would possibly be simpler if pushing or popping the return address were combined with queue submission.
@JeffreyRichter
@JeffreyRichter 6 жыл бұрын
I'm pretty sure I've optimized this as much as possible. That being said, I also tried to show a pretty comprehensive example with 3 different services communicating. If your services just use messaging, then there is just 1 queue per service. The additional queues come into play when one service (the web service in my example) uses request/reply; then you need a queue for each instance of this service.
@kendallwillets
@kendallwillets 6 жыл бұрын
Sorry, I don't mean to single you out; it just seems like a general problem with this type of architecture. It's how I imagine people did procedure calls with goto's before the stack was invented.
@Daweim0
@Daweim0 4 жыл бұрын
Now that you mention it this pattern does remind me of gotos (funny how history goes in circles). I think a key difference is that when a message is sent the only transmitted state is in the message. When a goto is used all sorts of state is accessible through global and maybe local variables.
3.1.c-Messaging--Fundamentals--Fault-Tolerant message processing
9:29
Jeffrey Richter
Рет қаралды 12 М.
I Took a LUNCHBAR OFF A Poster 🤯 #shorts
00:17
Wian
Рет қаралды 15 МЛН
Blue Food VS Red Food Emoji Mukbang
00:33
MOOMOO STUDIO [무무 스튜디오]
Рет қаралды 33 МЛН
HTTP Method Idempotency
13:35
Jeffrey Richter
Рет қаралды 2,3 М.
2.1.c-Networking--Fundamentals--Forward and Reverse Proxies
8:56
Jeffrey Richter
Рет қаралды 33 М.
HTTP URLs, Headers, Requests & Responses
19:32
Jeffrey Richter
Рет қаралды 4,9 М.
1.1.a- Distributed Cloud Apps--Fundamentals--Why Cloud Apps?
12:16
Jeffrey Richter
Рет қаралды 37 М.
Istio & Service Mesh - simply explained in 15 mins
16:09
TechWorld with Nana
Рет қаралды 655 М.
What is a MESSAGE QUEUE and Where is it used?
9:59
Gaurav Sen
Рет қаралды 969 М.
System Design Interview - Distributed Message Queue
26:28
System Design Interview
Рет қаралды 277 М.