SpinTheMic
Pro

Interview practice question

Rare corrupted data in a Go service

Backend Engineering · Concurrency · Experienced

Your Go service occasionally returns corrupted data that you cannot reproduce locally. How would you find the cause?

What a strong answer covers

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

  • Suspect data race.
  • Run tests and staging with -race.
  • Look for shared maps/slices without mutex.
  • Concurrent map writes panic.
  • Add sync or channel ownership.
Practise this topic

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

See all topics