All challenges
Code AnalysisIntermediate 60s

Durable execution vs retries

def process_order(order_id): charge(order_id) time.sleep(7 * 24 * 3600) # wait 7 days for delivery confirmation confirm(order_id) # running in a normal worker process This 'workflow' sleeps for a week inside a request handler. What is the correct architectural approach?

Think 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.

Play this in a 3-minute battle