What problems can a service mesh solve, and what are its trade-offs?
A service mesh can centralize service-to-service mTLS, traffic policy, telemetry, and retries at the proxy layer. It adds sidecar/proxy resources
The question library
Explore practical questions, clear explanations, and code examples across developer technologies.
Showing 3517–3528 of 3610 questions
A service mesh can centralize service-to-service mTLS, traffic policy, telemetry, and retries at the proxy layer. It adds sidecar/proxy resources
Active-active can reduce latency and improve regional availability but complicates writes, conflict resolution, data replication, and failover. C
Database ownership limits schema coupling and lets services evolve independently. Cross-service queries and transactions become harder, so use AP
Trace context connects spans across service boundaries. Traces reveal where time is spent and which dependency adds latency; sampling, propagatio
An SLO sets a target for a service-level indicator over a window. The error budget is the allowed unreliability; budget burn can guide release pa
Stop accepting new work, mark the instance unready, allow in-flight requests or messages to finish within a deadline, then release resources. Han
Enforce tenant identity on every data access path, scope cache keys and queues, and consider per-tenant quotas. Stronger isolation may require se
Version public contracts deliberately and keep old and new versions compatible during migration. Versioning can use URL paths, headers, or media
Prefer additive, optional fields and tolerant consumers; define schema compatibility rules and versioning. Avoid changing field meaning or removi
A work queue distributes tasks among workers, often with one successful consumer per message. A retained event stream supports replay and multipl
Locks can expire while a slow holder continues, and network partitions can make ownership ambiguous. Use fencing tokens or version checks when st
Retries multiply traffic when a dependency is already overloaded. Use bounded retries, exponential backoff with jitter, retry budgets, circuit br