Senior
From PDF
Microservices
Microservices
Custom Middleware: Implement custom middleware in your microservices to reject requests that exceed the rate limit and respond with appropriate HTTP status codes (e.g., 429 Too Many Requests). Example: The API Gateway might allow up to 100 requests per minute from a single IP, and
Short answer: fter the limit is reached, it responds with a 429 status until the rate limit resets. Data Management in Microservices
Real-world example (ShopNest)
ShopNest’s API Gateway routes /orders to the Order service and /payments to Payment—clients talk to one entry point.
Say this in the interview
- Define — one clear sentence (the short answer above).
- Example — relate it to a project like ShopNest or your real work.
- Trade-off — when you would not use it.
Share this Q&A
Share preview image: https://www.toolliyo.com/images/toolliyo-logo.png