Traffic is rarely a problem in itself. Serving a cached page from memory costs almost nothing; generating it from scratch with a dozen database queries costs a lot. The difference between a site that collapses on launch day and one that does not is mostly how much work each request causes. This guide builds the layers that keep that work small, and then sizes the server for what is left.
Know Your Traffic
| Traffic type | Cacheable? | Strategy |
|---|---|---|
| Anonymous readers (blogs, news, landing pages) | Yes, fully | Full-page cache; nearly free per visit |
| Logged-in users (dashboards, communities) | Partly | Object cache, fragment caching, efficient queries |
| Carts and checkout | No | Enough PHP/app workers and database capacity |
| APIs | Sometimes | Response caching for public data; rate limits |
| Bots and crawlers | Yes, if allowed | Serve from cache; rate-limit abusive ones |
Layer 1: Full-Page Caching
For PHP sites, Nginx can cache rendered pages and serve them without touching PHP:
# http context
fastcgi_cache_path /var/cache/nginx levels=1:2 keys_zone=SITE:100m inactive=60m max_size=2g;
# server block
set $skip 0;
if ($request_method = POST) { set $skip 1; }
if ($http_cookie ~* "wordpress_logged_in|woocommerce_items_in_cart|comment_author") { set $skip 1; }
if ($request_uri ~* "/wp-admin|/cart|/checkout|/my-account") { set $skip 1; }
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php8.3-fpm.sock;
fastcgi_cache SITE;
fastcgi_cache_key "$scheme$request_method$host$request_uri";
fastcgi_cache_valid 200 10m;
fastcgi_cache_bypass $skip;
fastcgi_no_cache $skip;
add_header X-Cache $upstream_cache_status;
}
Adjust the skip rules for your application, and purge the cache when content changes (a plugin or a purge endpoint). For WordPress, a caching plugin is an easier alternative. Check the X-Cache header: HIT means the page came from cache.
Layer 2: Object and Query Caching
For pages that cannot be fully cached, Redis stores the results of expensive queries and computations (see our Redis guide). WordPress, Laravel, Django and Rails all have Redis cache backends.
Layer 3: Static Files and CDN
location ~* \.(css|js|webp|avif|png|jpg|svg|woff2)$ {
expires 30d;
add_header Cache-Control "public, immutable";
access_log off;
}
Use versioned file names so long cache times are safe. A CDN offloads images and assets to edge servers and absorbs bursts; it also helps visitors far from your server.
Layer 4: Tune Workers to the Plan
- Nginx:
worker_processes auto;and a generousworker_connections(for example 4096). - PHP-FPM:
pm.max_children= memory available for PHP ÷ average worker size. Too few queues requests; too many exhausts memory. - Node.js/Python/Ruby: one process per vCore (PM2 cluster, Gunicorn/Uvicorn workers, Puma workers) as a starting point.
- Keepalive and compression: enable gzip or Brotli for text, and HTTP/2.
Layer 5: Database Headroom
The database is usually the first bottleneck under load. Size its memory so hot data stays cached, keep connection counts sensible and fix slow queries before traffic arrives (see our database tuning guide).
Layer 6: Protect Against Bad Traffic
limit_req_zone $binary_remote_addr zone=perip:10m rate=10r/s;
location /wp-login.php { limit_req zone=perip burst=5 nodelay; ... }
location /search { limit_req zone=perip burst=10; ... }
Rate-limit expensive or abused endpoints (login, search, cart), block obviously malicious user agents, and use your provider's DDoS protection and a CDN for large floods.
Load Test Before the Big Day
Before a launch, sale or campaign, run a load test against staging that mimics real visitor journeys, including uncached pages such as search and checkout (see our k6 guide). Watch CPU, memory, database and response times, and fix the first bottleneck you find.
Watch the Right Numbers During Peaks
- Cache hit ratio: count
HITversusMISSin theX-Cacheheader or log it; a falling hit ratio during a campaign usually means a cache-busting query string or cookie. - PHP-FPM or app worker saturation: the PHP-FPM status page shows active processes and the listen queue; a growing queue means requests are waiting for a worker.
- Database: active connections, slow queries and CPU.
- Response time percentiles from Nginx logs with
$request_time. - Error rate: 502 and 504 responses mean the backend is overwhelmed or timing out.
Set alerts on these before a planned event, and have a short runbook: what to disable (heavy widgets, search suggestions), what to scale and who decides (see our monitoring guide).
Degrade Gracefully
When load exceeds capacity, a site that serves slightly stale cached pages is far better than one that returns errors. Nginx's fastcgi_cache_use_stale error timeout updating http_500 http_503; keeps serving cached pages while the backend recovers, and fastcgi_cache_lock on; stops a stampede of identical requests from all hitting PHP when a popular page expires.
Choosing the EPYC Plan
| Site profile | Starting point |
|---|---|
| Content site, mostly anonymous, full-page cache | 4 vCores / 16 GB |
| Busy WooCommerce or membership site | 8 vCores / 32 GB |
| Large community, marketplace or SaaS with many logged-in users | 16 vCores / 64 GB |
Every plan includes an unmetered 1 Gbps port. Large media files are better served from a CDN or object storage so the port is not the limit.
When One Server Is Not Enough
Move the database to its own server first, then add application servers behind a load balancer (see our load balancing guide). Do this when the largest sensible plan is saturated after caching, or when you need the site to survive a server failure.
Reduce Database Reads
Beyond caching, look at what each page asks for: load only the columns you display, paginate long lists, avoid counting large tables on every request, and precompute expensive aggregates such as "most popular" lists on a schedule instead of on every page view. Each removed query is capacity regained.
SkyRainCloud Plans for This Workload
With full-page caching, a busy content site often runs on 4 vCores / 16 GB; dynamic sites such as shops and communities with many logged-in users need 8–16 vCores and 32–64 GB. Every plan includes an unmetered 1 Gbps port, so traffic itself does not add charges.
AMD EPYC 7C13 VPS
Dedicated KVM vCores on AMD EPYC 7C13 (up to 3.70 GHz) with DDR4 ECC memory, NVMe SSD and an unmetered 1 Gbps port.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| VPS 1 — AMD | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹649/month | Websites, small APIs, bots, staging and VPN servers | Order |
| VPS 2 — AMD | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹1,299/month | WooCommerce, Node.js/Python backends, Docker Compose stacks, CI runners | Order |
| VPS 3 — AMD | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹2,499/month | Production databases, high-traffic sites, multi-container apps | Order |
| VPS 4 — AMD | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,899/month | Large production workloads, SaaS platforms, analytics, in-memory caches | Order |
Prices are monthly in INR as listed on the SkyRainCloud store (verified 2026-11-14). Stock and final pricing are shown on the product page at checkout.
Frequently Asked Questions
Can a VPS handle a high-traffic website?
What is the most important optimisation for traffic?
How many visitors can an EPYC VPS handle?
Will traffic increase my bill?
Do I need a CDN?
How do I handle sudden traffic spikes?
What breaks first under heavy load?
How should I set PHP-FPM max_children?
When should I add more servers?
Which SkyRainCloud plan suits a high-traffic site?
Related Guides
- Signs Your Website Has Outgrown Its Server: Diagnosing CPU, RAM and Disk Bottlenecks
- How to Deploy Redis on a VPS for Application Caching
- How to Load Test a Web Application with k6 Using a VPS
- How to Set Up a Load Balancer Across Multiple VPS Servers with Nginx
- How to Tune MySQL and PostgreSQL Performance on a VPS
- Unlimited Slot MC Hosting ₹99/mo — DDoS
- Vanilla Minecraft Server Hosting 2026
- Minecraft Hosting with (AMD EPYC)