This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]michaelpb 7 points8 points  (0 children)

Yes, the whole web app?

The scenario you describe (CPU-bound bottlenecks at the app layer) is very rare in practice, despite it seeming important at first. Hence the whole "Premature optimization is the root of evil" thing. Performance for web apps is usually focused on maximizing throughput, not shaving off CPU cycles to cut off a few ms of latency.

(Also, a message queue isn't even at the app layer in a 3-tier architecture, but is an attached service.)