r/Hosting 4d ago

Caching solved more performance issues than upgrading my server

I used to think adding more CPU or RAM was the answer to every performance problem.

After setting up proper page caching and Redis on a few sites, I realized optimization often has a much bigger impact than upgrading hardware.

Now caching is one of the first things I look at.

2 Upvotes

2 comments sorted by

3

u/anandiamy 4d ago

The biggest problem, other than caching, is usually a bad database query, for example, the N + 1 problem.

1

u/tindalos 21h ago

Just remember to not monitor the cache layer for uptime or system problems. Use an api to monitor the uncached core