Question

How many page-views per day can a server with 1 GB RAM can take with 3.5 MB as and average page size.

My website sfwfun has average page size of 3.5 MB and I use WP Rocked as my cache plugin. Currently my server takes about 1500 Pageviews Per-day. And I also use CLOUDFLAIR, so bandwidth is no issue here.


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

jarland
DigitalOcean Employee
DigitalOcean Employee badge
September 12, 2018
Accepted Answer

Hey friend!

I’m afraid that there can be no correct math on this as there are too many variables, many of which may even be dynamic and subject to change without intervention by you or anyone else. Take a look at our server sizes here:

https://www.digitalocean.com/pricing/

I have personally worked on Wordpress-based websites that would struggle to perform reasonably with low traffic on our $960/m server. I have also worked on Wordpress-based websites that could manage far more traffic than your site receives on our $5/m or $10/m servers. You see, Wordpress itself is dynamic. Your choice of plugins and theme can impact that. On every page load, your server does something like this:

  1. Web server receives request.
  2. Web server requests that Wordpress return data.
  3. Wordpress loads base files, plugins, themes, and queries database to determine how to put all of the pieces together.
  4. Wordpress returns that data to the web server.
  5. Web server responds to the person making the request.

Note that step 3 is a wildcard in theory, and all too often in practice. What plugins or theme you use, and in what combinations you use them, will impact how step 3 occurs. You can stack the deck against yourself in step 3 by including a combination of poorly coded plugins, or even a poorly coded theme. You won’t know what these are unless you can audit the logic of their code while knowing the logic of the code base for Wordpress, that’s why you have to be really careful here and observe server performance along the way.

I’ve seen combinations in which every page load required 100% of all available CPU, and memory usage jumped through the roof. Those sites that I’ve seen like that, one visitor would run the server out of memory and cause the kernel to kill MySQL on our $5 server (and several more servers up the price line).

A few years ago, at a different job, I saw several sites with a worse problem. Their resource usage was light at first, but every visitor was both written to a database table and queried against that table before they were allowed to load a page. This meant that the website owners thought their servers were getting slower over time, and that they were broken. Their servers also kept running out of memory, despite them never changing anything. In reality, their overhead to finish step 3 continually increased over time based on their choice of Wordpress plugins.

The real answer here is that you need to set up your Wordpress site and then observe CPU and memory usage as real or simulated visitors hit the site. You need to make sure you’re providing as little resistance as possible to high performance, by using minimal plugins, and also by using a static page caching plugin. I hope that helps you to determine the right path. If it were me, I’d start with 2GB of memory and see where things go.

Jarland

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

New accounts only. By submitting your email you agree to our Privacy Policy

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.