Varnish cache - http accelerator
  • If anyone needs help installing a Varnish cache with Apache, I can help.
    Big difference in speed.

    Rodrigo Copetti
    Sysadmin - Ubuntu is life!!!!
  • Welcome to the forum Copetti! Please also consider that you're running under OpenVZ and several tweaks needs to be performed in order to get Varnish running properly. Any tested guide is welcomed.
  • @Copetti btw, I always wondered if nginx set as reverse-proxy isn't the same or about the same as Varnish from the performance point of view.

    The RAM cache that Varnish makes use of should be the same with nginx and the Linux kernel bult-in file system read cache.

    The advantage being that nginx has more users and is easier to configure.

    Is there a real advantage of using Varnish instead of nginx reverse-proxy?

  • ralexandru, thanks for welcome!
    I did the default installation of Varnish, I changed the RAM size. I upgraded the starter for small and is running perfect. The quality of the VPS is impressive.
    Sorry my english. I'm Brazilian.

    Rodrigo Copetti
    Sysadmin - Ubuntu is life!!!!
  • waverider, okay?

    I have a colleague who joined the faculty with nginx varnish. Sets the first Varnish. Nginx serves static content and feeds the varnish. Varnish is much better than Nginx.

    In my view:
    Nginx - static content
    Varnish - dynamic content

    Rodrigo Copetti
    Sysadmin - Ubuntu is life!!!!
  • Please test some blogs hosted on the VPS and say it is fast. I have another view here in Brazil.

    Developing my site: www.copetti.info

    Running in Ubuntu (Apache + Varnish)
  • I do not like Varnish neither Apache.

    In my VPSes I opted to uninstall apache and then use Nginx to serve static files and PHP-FPM for scripts.

    Last but not least I installed APC (removed accelerator first) and Memcached.
    The result was significative!

    I consider this a better option because you don't need to use permanent cache, if your deployment needs to be always accurate.

    For me, without permanent cache, there are no issues. :)