Welcome to WebmasterWorld Guest from 23.20.241.155

Forum Moderators: open

Message Too Old, No Replies

Website Traffic and RAM Usage

How Much Ram Is needed for 1 Million, 2 million per month?

     
7:10 pm on Jan 9, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



When you prepare for growth, how do you project Ram usage if you are on a dedicated server? How much Ram does one need when projecting one million visitors per month or two million visitors per month?

it's all text and only few small images.

5:49 am on Jan 10, 2007 (gmt 0)

WebmasterWorld Senior Member jtara is a WebmasterWorld Top Contributor of All Time 5+ Year Member



There is absolutely no way to relate RAM required to traffic. Nor disk space, disk speed, processor speed, etc. These are probably among the most frequently-asked questions here, I suppose because they cannot be answered.

Too much depends on YOUR software, YOUR configuration, and YOUR user's usage patterns.

You can only benchmark and then project from what you know about your current resource usage.

2:53 pm on Jan 15, 2007 (gmt 0)

WebmasterWorld Senior Member lammert is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



it's all text and only few small images.

If you are only sending plain text files and images, you could decide to go for a small footprint HTTPD server like thttpd. You can serve millions of visitors per month with just a few hundred megabytes RAM in your server.

7:52 pm on Jan 15, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



128 K should suffice. If you are running server-side scripts, they may need more RAM, you'll know because the server will overload!

We run in 512K of RAM with roughly 3 million page requests from the server each month (plus images etc), and very intensive use of CGI scripts.

Matt

8:40 pm on Jan 15, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi,

I suspect Matt means "M" when he says "K", but yes, you probably could run an absolutely minimal Web server in 128kB!

I used to run my firewall (40kB of beautifully-crafted C code) and mail gateway and other stuff on a ~25MHz SunOS box with 4MB, which had some capacity to spare. I called it "lemon" because if anyone tried to break in, that's what they'd find!

Rgds

Damon

7:17 am on Jan 17, 2007 (gmt 0)

WebmasterWorld Senior Member lammert is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



... but yes, you probably could run an absolutely minimal Web server in 128kB

You can. Actually my smallest webserver is running in 128 kB RAM and 512 kB flash ROM for program code and file storage. And that server includes a display driver and an FTP server to upload HTML files. But it is running on a low power CPU and I doubt it can handle many concurrent connections which would be the case with millons of visitors per month.

On Apache based webservers without a database, the main cause of RAM usage is the timeout time after the pages have been successfully transfered. With the prefork model Apache uses in default mode, a full featured process which often uses 10 or more MB of RAM is occupied with something as simple as waiting for a timeout. That is where small footprint servers like thttpd are handy. The timeout handling is just a state somewhere in the main process instead of a complete process with its own memory space.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month