Design a Long-Running Query Service
Company: Perplexity
Role: Software Engineer
Category: System Design
Difficulty: medium
Interview Round: Onsite
Overview: Design a long-running query service with durable jobs, asynchronous status and results, resource limits, and clear retry, cancellation, and failure behavior.