Hi,
I'm using Apache for serving static files. Apache2 require too much RAM.
I want to reduce the RAM usage.
I don't have experience with Varnish. It's said to be faster. I don't know how Varnish works.
So, How much RAM needed for running Apache2+Varnish? Will Apache2+Varnish have higher RAM usage than Apache2 without Varnish?
Thanks.
-
Varnish caches data in RAM to send "stuff" to clients faster. It doesnt save you RAM usage, it saves you processing and I/O time.
What you should be looking at is alternatives to Apache2. I saved up a great deal of RAM by switching over to lighttpd+FastCGI-PHP since I mostly share out a large number of static data.
sybreon : +1 for suggesting alternative web servers. Sometimes, mixing them is good too.rahul286 : @Sybreon - Mixing webservers, specially nginx and apache, is not good idea always. When u r running low on RAM, its always good to stick to one server IMHO.From pauska -
Nginx might be a good choice if you want a lightweight server for static files. You can select which modules you want at compile time.
From rossnz
0 comments:
Post a Comment