SpinTheMic
Pro

Interview practice question

Running exactly one instance of a service

System Design · Distributed Systems · Intermediate

You have a service that must run as exactly one active instance, like a scheduler, but must also be highly available. How do you design it?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Leader election among replicas.
  • Lease in etcd/ZooKeeper/Kubernetes.
  • Standby replicas ready.
  • Fencing for side effects.
  • Fast failover.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics