TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How do you prevent your site from crashing from too much traffic?

10 pointsby bobrenjc93almost 13 years ago

4 comments

jackalopealmost 13 years ago
<p><pre><code> 1. Static files whenever possible 2. Caches wherever possible 3. Database indexes </code></pre> These optimizations tend to pay off the most and probably require the least amount of expertise.<p>A good IDS system that prevents bots and attackers from consuming resources can also be helpful.
iSlothalmost 13 years ago
Static files always help, especially if your using something like Nginx to serve them.<p>Cache is also great, I make use of MemCache and Varnish on most of my applications.
10dpdalmost 13 years ago
Depends on the site.. what backend are you using?
AznHisokaalmost 13 years ago
I don't market it :P