Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
zepolen
16y ago
0 comments
Share
> 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.
0 comments
default
newest
oldest
diN0bot
16y ago
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.
zepolen
OP
16y ago
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).
j
/
k
navigate · click thread line to collapse