InterviewTreedInterviewTreed

The question library

Technical interview questions and answers

Explore practical questions, clear explanations, and code examples across developer technologies.

Showing 3469–3480 of 3610 questions

System Design & MicroservicesAdvanced1 min read

What is blue-green deployment?

Blue-green keeps two production environments and switches traffic after validating the new one, enabling rapid rollback but doubling temporary capacity.

System Design & MicroservicesAdvanced1 min read

What is canary deployment?

Canary routes a small percentage to a new version, monitors guardrails, and gradually increases traffic if healthy.

System Design & MicroservicesAdvanced1 min read

What is backpressure?

Backpressure slows producers or rejects work when consumers cannot keep up, protecting memory and latency.

System Design & MicroservicesAdvanced1 min read

What is a dead-letter queue?

A dead-letter queue holds messages that repeatedly fail processing for inspection, repair, and replay with safeguards.

System Design & MicroservicesAdvanced1 min read

What is a distributed lock?

A distributed lock coordinates exclusive work across nodes but requires lease expiry and fencing tokens to prevent stale owners acting after pause.