Questions tagged [varnish]

Varnish is a high-performance reverse proxy and load-balancer package for Linux/Unix systems.

Varnish is primarily a caching reverse proxy, but also exhibits load-balancing and backend checking mechanisms and is very widely used on high traffic websites.

Varnish was designed from the ground to be a high performance reverse caching proxy and to not compete with the operating system on managing resources like memory. Most recent versions of Varnish support storing cache on memory or disk, and serving old content in case of backend fail (saint mode), among other features.

Varnish is written by Poul-Henning Kamp (PHK), and his Architect Notes are available about varnish design. PHK is also a well known FreeBSD kernel developer and mantainer.

937 questions
-1
votes
1 answer

How to arrange web servers with Varnish?

I am wondering what it the best (most stable with the least memory footprint) arrangment for a busy php+mysql app? request > Varnish > Apache requests > Varnish > Nginx > php5-fpm requests > Varnish > Nginx > Apache requests > Nginx > Varnish >…
alfish
  • 3,127
  • 15
  • 47
  • 71
-1
votes
1 answer

WordPress not working on Varnish + Nginx based Ubuntu VPS

I set up a Ubuntu based Linode VPS with Nginx and Varnish on it. However i am not able to access anything on the IP or site address. IP: 176.58.98.79 Site: http://www.articledexter.info When i try to access either of them i get this error Error 503…
Sameer M
  • 23
  • 6
-1
votes
1 answer

Varnish on a cPanel server with 5 IPs

I have a server hosting 3 subdomains of the same domain, each with it's own IP. I need to setup varnish in front of apache for the reason that I server A LOT of small images and varnish works miracles. Since the server is not named yet (the DNS…
pataroulis
  • 143
  • 1
  • 2
  • 11
-1
votes
1 answer

Docker Swarm and load-balancing of Varnish persistent TCP connections (VIP)

I have a Varnish HTTP cache running in front of 40 workers. These workers are running on two identical Docker nodes (node-1 and node-2, 20 on each) as a unique service (web_workers). We're using Docker Swarm with the default endpoint_mode, which is…
Tangui
  • 99
  • 1
-2
votes
1 answer

How to use iptables on varnish cache server to access only by one network and backend server

Hi i want to allow only one network say 10.10.0.0 to access my varnish edge cache server at 192.168.1.10:80 port also block other 80 port request but the problem is cache server points to a origin server which listen on 80 port in in 192.168.2.0…
Leo
  • 11
  • 2
-2
votes
2 answers

Will Varnish recreate cache?

I want to cache pages on my nginx site for fast retrieval. Let's say every 5 hours I want to expire all the cache and have it recreated. Will Varnish make calls to the web-server and recreate cache on it's own or will it have to wait till a user…
Jimbotron
  • 87
  • 1
  • 1
  • 10
-3
votes
2 answers

Can Varnish be deployed to front end mariadb/mysql server pool? Or is varnish helpful only when frontending HTTP servers?

Can Varnish be used to front end a pool of mariadb/mysql servers? I see that it does not handle any non-http requests and gives 503 error.
pvpk
  • 1
1 2 3
62
63