Code AnalysisHard 60s
At-least-once with side effect before ack
The DB write succeeds but the ack is lost. What happens next?
Starter code
def on_msg(m):
db.write(m) # succeeds
broker.ack(m) # network error, no ack deliveredThink you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.