Design and architecture Flashcards
1
Q
What are some common challenges related to network communication that SREs need to address?
A
challenges: network latency, service discovery, load balancing, and security
2
Q
Describe strategies you would employ to ensure reliable, low-latency, and secure communication between microservices?
A
- Service Mesh: manage service-to-service communication
- Circuit Breakers: prevent cascading failures.
- API Gateway: centralized routing, authentication, and rate limiting
- Service Discovery: dynamic service registration and discovery
- Observability: Employ distributed tracing, logging, and monitoring
- Encryption and Authentication: use protocols like TLS/SSL. Use mutual authentication for service-level security.
3
Q
Describe the principles of “Failover”?
A
Failover is when we automatically redirect traffic from a failed or degraded component to a healthy backup
4
Q
Describe the principles of “Fallback”?
A
Fallback is a strategy used when a component’s primary method fails, and a secondary or alternative method is used as a backup