本月博客排行
-
第1名
青否云后端云 -
第2名
vipbooks -
第3名
e_e - kingwell.leng
- lemonhandsome
- silverend
- jveqi
- tanling8334
- xiangjie88
年度博客排行
-
第1名
青否云后端云 -
第2名
zw7534313 -
第3名
大家都说我很棒 - liyihz2008
- wy_19921005
- gengyun12
- hbxflihua
- e_e
- luxurioust
- dbagirl
- zysnba
- robotmen
- Alsmile
- gaozzsoft
- jywhltj
- cpongo1
- leslie26
- qepwqnp
- 解宜然
- zhangdaiscott
- cuityang
- sichunli_030
- gashero
- fantaxy025025
- vipbooks
- gdpglc
- ssydxa219
- wallimn
- ranbuijj
- 淡看人生
- javashop
- jickcai
- hanbaohong
- johnsmith9th
- appalese
- gaojingsong
- weiyides
- zhangyi0618
- java-007
- AVI
- laiyangdeli
- xpenxpen
- liunancun
- 龙哥IT
- conkeyn
- nychen2000
- lyndon.lin
- ouanui
- jveqi
- panshunchang
最新文章列表
nginx中upstream负载均衡配置详解
有关nginx负载均衡的配置方法,nginx中负载后端服务是使用upstream,这里就介绍下upstream的一些选项,包括轮循方式、权重、ip_hash等,需要的朋友参考下。
nginx负载均衡选项upstream用法举例
nginx中upstream的几种方式:
1、轮询(weight=1)
默认选项,当weight不指定时,各服务器weight相同,每个请求按时间顺序逐一分配到不同 ...
nginx的upstream模块
参考http://nginx.weebly.com/31034203632830430721.html第五章
http://tengine.taobao.org/book/chapter_05.html
config文件
[root@VM_12_197_centos upstream]# cat config
ngx_addon_name=ngx_http_mytest_module
HT ...
netty源码分析之ChannelHandler
netty里面最重要的应该是ChannelHandler,这个里面也是用户编程直接打交道的接口,也是串行于ChannelPipeLine里面执行相应的业务逻辑。
从类结构来看,一个handler应该有一个ChannelHandlerContext,ChannelHandler是处在上层的一个标识接口,下面有两个接口分别来处理Upstream event和一个D ...
nginx module开发利器:subrequest
nginx是个高性能web server,很多时候我们会把它当成reverse proxy或者web server container使用,但有时我们也会开发它的第三方module,因为module才能完全使用nginx的全事件驱动、无阻塞调用机制,充分使用系统资源,达到SERVER最大处理吞吐量。
在开发nginx module时,我们最有可能遇到的一件事就是,在处理一个请求时,我们需要访 ...