Step by Step Sidecar Pattern Tutorial

preview_player
Показать описание


Sidecar Pattern is an architecture where two or more processes living in same host can communicate with each other via the loop back (localhost) essentially enabling interprocess communication. One of the most use cases of sidecar pattern is service mesh such as Linkerd and Envoy, where process or a container sits next the application and proxy the request and enables logging, service discovery and so much cool features which makes clients become thin in a microservices architecture.

In this tutorial we will learn how can we use the sidecar pattern to decouple application logic into another process and communicate between two processes using the loopback.

1:20 Intro to Side pattern
2:55 (reference sidecar pattern video)
3:30 (Code)
9:50 reference fetch api

Stay Awesome!
Hussein
Рекомендации по теме
Комментарии
Автор

Extremely entertaining and informative video!

sapphyreviolet
Автор

hey man, thanks for the tutorial. that's good man, love your humor also.

sollenism
Автор

I think application should not send NUM to the sidecar, I must send the message string, Because log-sidecar doesn't care about the logic which makes the log message!

rasshoss