5 ms·
>But for many web apps, the database is not the bottleneck. Really? I think the database is usually the bottleneck in most web apps. That's why you cache data:
by smharris65 14y ago
>But for many web apps, the database is not the bottleneck.
Really? I think the database is usually the bottleneck in most web apps. That's why you cache data: to avoid hitting the database.
- spullara 14y agoWrites to the DB (and more importantly replication since it is single threaded in mysql) are often the bottleneck that is hard to scale. Write through caches can scale reads up very high. It takes a long time to hit the write limit for most applications so often read slaves and memcache is sufficient.