The Backend Engineering Show with Hussein Nasser

Episode 136 - Sidecar Proxy (Pros and Cons)


Listen Later

A sidecar proxy is an application design pattern which abstracts certain networking features, such as inter-service communications, monitoring and security, timeouts, retries, communication protocols, away from the main architecture to ease the maintenance of the application as a whole.

In this video I’d like to talk about how we classically do things:

  • Library Pattern
    • getComments HTTP1:1/JSON
    • Add features retries/timeout /hardcode the server name what it changed/add new server to load balance between them/credentials
    • Sidecar pattern
      • getComments HTTP/2
      • Sidecar proxy/container
      • Examples

        • Microservices (Linkerd, Envoy, Istio)
        • Pros

          • Language agnostic (polyglot)
          • Protocol upgrade
          • Security
          • Tracing and Monitoring
          • Service Discovery
          • Caching
          • Cons

            • Complexity
            • Latency
            • SideCar Proxy must be layer 7
            • Library 2:25

              Sidecar: 7:40

              Example: 13:00 (https://www.youtube.com/watch?v=cp3Ku1XeOn8)

              Pros & Cons : 16:15

              Cards

              6:22 HTTP/2

              10;50 Reverse Proxy / proxy

              example 13:00 (https://www.youtube.com/watch?v=cp3Ku1XeOn8)

              16:00 Layer 4 vs Layer 7 load balancer

              ...more
              View all episodesView all episodes
              Download on the App Store

              The Backend Engineering Show with Hussein NasserBy Hussein Nasser

              • 4.9
              • 4.9
              • 4.9
              • 4.9
              • 4.9

              4.9

              40 ratings


              More shows like The Backend Engineering Show with Hussein Nasser

              View all
              Freakonomics Radio by Freakonomics Radio + Stitcher

              Freakonomics Radio

              32,263 Listeners

              Software Engineering Radio - the podcast for professional software developers by team@se-radio.net (SE-Radio Team)

              Software Engineering Radio - the podcast for professional software developers

              273 Listeners

              Risky Business by Patrick Gray

              Risky Business

              373 Listeners

              Science Vs by Spotify Studios

              Science Vs

              12,166 Listeners

              Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

              Syntax - Tasty Web Development Treats

              990 Listeners

              Darknet Diaries by Jack Rhysider

              Darknet Diaries

              8,110 Listeners

              Practical AI by Practical AI LLC

              Practical AI

              212 Listeners

              Within Reason by Alex J O'Connor

              Within Reason

              1,659 Listeners

              All-In with Chamath, Jason, Sacks & Friedberg by All-In Podcast, LLC

              All-In with Chamath, Jason, Sacks & Friedberg

              10,231 Listeners

              Dwarkesh Podcast by Dwarkesh Patel

              Dwarkesh Podcast

              548 Listeners

              Big Technology Podcast by Alex Kantrowitz

              Big Technology Podcast

              514 Listeners

              Hard Fork by The New York Times

              Hard Fork

              5,544 Listeners

              The AI Daily Brief: Artificial Intelligence News and Analysis by Nathaniel Whittemore

              The AI Daily Brief: Artificial Intelligence News and Analysis

              659 Listeners

              Prof G Markets by Vox Media Podcast Network

              Prof G Markets

              1,471 Listeners

              The Pragmatic Engineer by Gergely Orosz

              The Pragmatic Engineer

              74 Listeners