Hacker News new | ask | show | jobs
by zepolen 6205 days ago
> trying to get your site to handle traffic on a 3GB server and a 15GB server.

I find that I always hit cpu limits way before memory becomes an issue.

1 comments

same here. i've been profiling this past week trying to see if i can trim cpu cycles or whether that's just how the game is played.
The problem is template rendering, string handling is a (relatively) expensive process. I found utf8'ing my entire workflow (instead of decoding to unicode then reencoding to utf8) drastically affected performance (using python).