Hacker News new | ask | show | jobs
by bakugo 1237 days ago
Equip your server with a decent CPU, enough RAM to allow MySQL to keep most of your database in it, and fast SSDs. Profile your code and optimize/cache anything that stands out as slow, aggressively cache data that is read often using memcached/redis/etc, use an http cache proxy like cloudflare in front to cache static assets (and maybe pages that aren't dynamic for every user)