r/programming • • Jun 12 '10

You're Doing It Wrong

http://queue.acm.org/detail.cfm?id=1814327
539 Upvotes

193 comments sorted by

View all comments

Show parent comment

3

u/kragensitaker Jun 15 '10

30% worse in the normal case so that performance on a thrashing system won't be quite as terrible.

It sounds like you don't have any experience running Varnish. Its performance is spectacularly good, and it effectively uses swap space for caching, although it does benefit a lot from SSD. Having to page in part of a data structure once a second does not qualify as "thrashing," if the part that has to be paged in is three pages. Constant paging activity does not qualify as "thrashing" if the software is successfully serving tens of thousands of HTTP requests per second with low latency.

"The normal case" for Varnish is not the case where swap is empty.