Building a modern durable execution engine from first principles