Salesforce Certified Heroku Architecture Designer — Question 37
An app uses a queue of worker dynos to perform complex image processing, but the worker dynos are occasionally running out of memory when performing the processing. All of their dynos are currently standard-1x dynos.
What should an Architect recommend in this scenario?
Answer options
- A. Add additional worker dynos.
- B. Break up the image processing across multiple dynos.
- C. Move the app to a Private Space.
- D. Change the type of dynos to standard-2x.
Correct answer: D
Explanation
Changing the dyno type to standard-2x is the correct answer because it provides more memory, which can help alleviate the memory issues during image processing. While adding more dynos or breaking up the tasks might help with load distribution, they do not address the underlying memory constraint of the existing dynos. Moving to a Private Space does not inherently increase memory and may not resolve the issue.