varnish中的Directors

您可以把多台 backends 聚合成一个组,这些组被叫做 directors。这样可以增强性能和弹力。您可以定义多个 backends和多个 group在同一个directors。

backend server1 { 
     .host = "192.168.0.10"; 
} 
backend server2{ 
     .host = "192.168.0.10"; 
}

现在我们创建一个 director:

director example_director round-robin { 
{ 
         .backend = server1; 
} 
# server2 
{ 
         .backend = server2; 
} 
# foo 
}

这个 director 是一个循环的 director。它的含义就是 director 使用循环的方式把backends分给请求。
但是如果您的一个服务器宕了?varnish 能否指导所有的请求到健康的后端?当然可以,这就是健康检查在起作用了。

36 thoughts on “varnish中的Directors

  1. Pingback: PutVarnish on port 80(使varnish工作在 80 端口上) | haohtml's blog

  2. Pingback: canvas wall art

  3. Pingback: Fernandez

  4. Pingback: 카지노사이트

  5. Pingback: cbd

  6. Pingback: Klik hier

  7. Pingback: www.cbdistic.com

  8. Pingback: Ignou Project

  9. Pingback: Singles clubs

  10. Pingback: ignou synopsis

  11. Pingback: http://162.213.249.223/

  12. Pingback: Engineering

  13. Pingback: porn

  14. Pingback: Furnace Repairs

  15. Pingback: 카지노

  16. Pingback: Denture Implants First Class Dental Care

  17. Pingback: 토토사이트

  18. Pingback: 메이저놀이터

  19. Pingback: click here

  20. Pingback: https://seopr.com.pl/

  21. Pingback: https://mvs.net.pl/

  22. Pingback: Juul Pods

  23. Pingback: sbobet

  24. Pingback: naltrexone order

  25. Pingback: Dictator Dirk

  26. Pingback: judi togel

  27. Pingback: Furnace Repairs Shortys Plumbing and Heating

  28. Pingback: 먹튀검증-805

  29. Pingback: بهترین سایت پوکر

  30. Pingback: كلمات اغاني

  31. Pingback: Replica Watches

  32. Pingback: เงินกู้มหาสารคาม

  33. Pingback: buy hydroxychloroquine online

  34. Pingback: maha pharma store

  35. Pingback: british dragon hgh

  36. Pingback: Buy retro sweets

Comments are closed.