Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
zepolen
17y ago
0 comments
Save
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
2 comments · 1 top-level
top
newest
oldest
diN0bot
17y ago
· 1 in thread
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
17y 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