QuestionQ35

VerifiedMonitoring, Scaling, and Operations

A client operates an application on a background worker dyno. The application lets users request personalized information as a PDF. During peak use, the app handles millions of requests simultaneously. This request volume has created a bottleneck that is affecting performance.

Which two solutions can an Architect recommend to eliminate the bottleneck and improve performance?

Choose two
Explanation

A job queue decouples the burst of PDF-generation requests from their processing, allowing background workers to retrieve jobs asynchronously. Increasing the number of worker dynos provides greater parallel processing capacity for those queued jobs. Heroku documents that worker dynos process background jobs and that scaling worker dynos allows more jobs to be processed in parallel.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!