mod_cluster是一个基于HTTP协议的负载均衡和集群的Apache模块,支持使用Tomcat的应用服务器,例如Tomcat和JBossAS
Wheremod_clusterdiffersfrommod_jkandmod_proxyisthatitprovidesabackchannelfromthewebserversbacktothehttpdservers.Thewebserversusethisbackchanneltoprovideinformationtothehttpd-sideabouttheircurrentstate.Theuseofthisbackchannelprovidesanumberofadvantages,including:
Dynamicconfigurationofhttpdworkers.
Server-sideloadbalancefactorcalculation.
Finegrainedweb-applifecyclecontrol.
Anaddedbenefitofmod_clusteristhat,unlikemod_jk,useoftheAJPprotocolbetweenhttpdandtheback-endserverswillbeoptional.ThehttpdconnectionstoapplicationservernodescanuseHTTP,HTTPS,orAJP.(Notethatinthisfirstbetarelease,testinghasbeenfocusedonAJP.)
评论