Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Sidecar Pattern

Sidecar Pattern

Kim Schlesinger

August 21, 2022
Tweet

More Decks by Kim Schlesinger

Other Decks in Technology

Transcript

  1. Sidecar Pattern
    Temporal Interview
    Senior Technical Curriculum Developer
    August 2022

    View Slide

  2. Goals
    1. Define "sidecar pattern"
    2. Explain how to identify the sidecar pattern in a code repo

    View Slide

  3. Hi! I'm Kim

    View Slide

  4. Prerequisites
    • "Hello World"
    • You are interested in learning more about distributed
    systems development

    View Slide

  5. Goals
    1. Define "sidecar pattern"
    2. Explain how to identify the sidecar pattern in a code repo

    View Slide

  6. Goals
    1. Define "sidecar pattern"

    View Slide

  7. Design Patterns for Cloud Native
    Source: Azure Cloud Design Patterns

    View Slide

  8. Sidecar Pattern
    Source: Cycle World: 2021 Ural Gear Up Geo First Ride

    View Slide

  9. Sidecar Pattern
    Source: Azure Cloud Design Patterns: Sidecar Pattern

    View Slide

  10. Sidecar Pattern
    2 containers:
    1. main application
    2. helper application

    View Slide

  11. Example

    View Slide

  12. Goals
    1. Define "sidecar pattern"
    2. Explain how to identify the sidecar pattern in a code repo

    View Slide

  13. Goals
    1. Define "sidecar pattern"
    2. Explain how to identify the sidecar pattern in a code repo

    View Slide

  14. Goals
    1. Define "sidecar pattern"
    2. Explain how to identify the sidecar pattern in a code repo

    View Slide

  15. Goals
    1. Define "sidecar pattern"
    2. Explain how to identify the sidecar pattern in a code repo

    View Slide

  16. Recap

    View Slide

  17. Sidecar Pattern
    • main app and helper app
    • The containers share resources on a host including CPU,
    memory, a file system and networking services

    View Slide

  18. In Code
    • 2 containers
    • Shared host
    • (Optional) Different languages and operating systems

    View Slide

  19. Goals
    1. Define "sidecar pattern"
    2. Explain how to identify the sidecar pattern in a code repo

    View Slide

  20. Resources
    • Designing Distributed Systems by Brendan Burns
    • Azure Cloud Design Patterns: Sidecar Pattern
    • ContainIQ: Kubernetes Sidecar Container | Best Practices and
    Examples

    View Slide

  21. @kimschles

    View Slide