Grokking System Design Fundamentals
Ask Author
Back to course home

0% completed

Vote For New Content
Ricardo Franco
Failed microservice brings down the entire system

Ricardo Franco

Nov 23, 2023

The API gateway can be used to implement a circuit breaker pattern, which can help to prevent a single failed microservice from bringing down the entire system

How a single failed microservice can bring down the entire system? Is it in the case of Service Aggregation?

1

0

Comments
Comments
Ilya Mikhasik
Ilya Mikhasik2 years ago

Crickets... Other responses from Design Gurus look like a copy/paste from Chat GPT.

As for the question, I think a microservice can bring down the entire system if it stops responding and failover doesn't happen. Looks like API gateway monitors health of microservic...

sai manoj
sai manoja year ago
  1. Thread Blocking:
    • When an upstream service calls a downstream API experiencing timeouts, it may wait indefinitely for a response. The entire service can become overwhelmed if multiple threads in the upstream service are blocked while waiting for this unrespo...
LeafarBlu BR
LeafarBlu BRa year ago

I consider that it could happen in case of a bad dependency between the microservices, where a cascade of calls could cause the entire system down.

For example, microservice A calls B, and B calls C. In case of service C is out, B might have a time-out, leading A to h...

On this page

Key Usages of API Gateways

  1. Request Routing
  1. Aggregation of Multiple Services
  1. Security Enforcement
  1. Load Balancing
  1. Caching Responses
  1. Protocol Translation
  1. Monitoring and Logging
  1. Transformation of Requests and Responses
  1. API Versioning
  1. Rate Limiting and Throttling
  1. API Monetization
  1. Service Discovery Integration
  1. Circuit Breaker Pattern Implementation
  1. Content-Based Routing
  1. SSL Termination
  1. Policy Enforcement
  1. Multi-Tenancy Support
  1. A/B Testing and Canary Releases
  1. Localization and Internationalization Support
  1. Reducing Client Complexity

Real-World Example: Netflix

Conclusion