注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

火车的家

Put first thing first

 
 
 

日志

 
 

2016.09.21 load balancing  

2016-09-21 10:07:43|  分类: 技术博客 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
Algorithm:
Numerous scheduling algorithms are used by load balancers to determine which back-end server to send a request to. Simple algorithms include random choice or round robin. More sophisticated load balancers may take additional factors into account, such as a server's reported load, least response times, up/down status (determined by a monitoring poll of some kind), number of active connections, geographic location, capabilities, or how much traffic it has recently been assigned.

Software:
Nginx Vanish

Static Proxy Caching

Both Nginx and Varnish can be used as reverse proxy cache, also for load balancing between two or more Apache servers that will deliver the dynamic content. Based in our experience, Nginx performs as well as Varnish, some benchmarks show the same thing. While others  show evidence that Nginx is better serving static stuff as proxy cache.

SSL and HTTP/2.0

If you have an e-commerce website that need to encrypt critical data like credit card information, and also personal/finance data from your web users, then you are going to need to purchase and install a SSL certificate.
The good news: Nginx supports SSL, SPDY and HTTP/2.0 by default. However, Varnish does not support SSLwith SPDY or HTTP/2.0.

  评论这张
 
阅读(35)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017