CodeZettaInterview Hub

NestJS · Architecture · Senior · Scenario

How do you approach background jobs in Nest apps?

Short Interview Answer

Queues (Bull/BullMQ) with dedicated processors, retries, and separate scaling from HTTP pods.

Detailed Explanation

Keep job handlers idempotent. Observe lag. Don't run heavy jobs on web processes without isolation.

Did you know this answer?