java代理服务器源码-mod_cluster:mod_cluster是一个基于Apachehttpd和纯JavaUnderto

  • u7_193722
    了解作者
  • 434.4KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-06-16 01:00
    上传日期
java代理服务器源码mod_cluster 项目 mod_cluster 是一个智能负载均衡器。 它使用通信通道将来自反向代理服务器的请求转发到一组应用程序服务器节点之一。 与 mod_jk 和 mod_proxy 不同,mod_cluster 利用应用服务器节点和反向代理之间的附加连接将服务器端负载平衡因素和生命周期事件传输回代理。 这个额外的反馈通道允许 mod_cluster 提供其他负载平衡解决方案中没有的智能和粒度级别。 目前有两种反向代理实现:本机实现和纯基于 Java 的实现。 与其他基于 httpd 的负载均衡器相比,项目 mod_cluster 拥有以下优势: httpd worker 的动态配置 服务器端负载均衡因子计算 细粒度的网络应用生命周期控制 AJP 是可选的 安装说明 JBoss AS 7/WildFly 8(或更新版本) 这些版本已经附带了捆绑的 mod_cluster。 它是通过 mod_cluster 子系统配置的。 JBoss AS 6 这是第一个捆绑了 mod_cluster 的 AS 版本,配置位于/server/<profile>/depl
mod_cluster-master.zip
内容介绍
mod_cluster [![CI Status](https://github.com/modcluster/mod_cluster/workflows/CI/badge.svg)](https://github.com/modcluster/mod_cluster/actions) =========== Project mod_cluster is an intelligent load balancer. It uses a communication channel to forward requests from a reverse proxy server to one of a set of application server nodes. Unlike mod_jk and mod_proxy, mod_cluster leverages an additional connection between the application server nodes and the reverse proxy to transmit server-side load balance factors and lifecycle events back to the proxy. This additional feedback channel allows mod_cluster to offer a level of intelligence and granularity not found in other load balancing solutions. There are currently two reverse proxy implementations: a native [Apache HTTP Server](https://httpd.apache.org/) implementation and a pure Java [Undertow](http://undertow.io/)-based implementation. Project mod_cluster boasts the following advantages over other httpd-based load balancers: * Dynamic configuration of httpd workers * Server-side load balance factor calculation * Fine grained web-app lifecycle control * AJP is optional [https://modcluster.io](https://modcluster.io) Installation Instructions ------------------------- ### JBoss AS 7/WildFly 8 (or newer) These versions already ship with bundled mod_cluster. It is configured via mod_cluster subsystem. ### JBoss AS 6 This is the first version of AS that bundled mod_cluster, the configuration is located in `/server/<profile>/deploy/mod_cluster.sar/META-INF` directory. ### Tomcat 7 (or newer) Distribution archives are provided for each Tomcat version. 1. Obtain the distribution archive corresponding to the intended Tomcat version by either downloading from the project website or if building from source located in `dist/target/` directory. 2. Download and unzip or untar the distribution archive and navigate to the extracted directory. 3. Copy the `lib/` directory to the Tomcat installation directory adding jars to its `lib/` directory. If upgrading from a different version, it is necessary to remove all jars copied previously. 4. Modify `server.xml` within the `conf` directory and add the mod_cluster listener as documented [here](https://docs.modcluster.io/). The minimal listener configuration is as follows: ```xml <Listener className="org.jboss.modcluster.container.tomcat.ModClusterListener" connectorPort="8009"/> ``` Project Structure ----------------- Project is split up into multiple modules: ``` core (contains the implementation of container-independent core mod_cluster concepts) container spi (SPI classes for container integrations, has no dependencies on a specific web container) tomcat (base for Tomcat container implementations, based on Tomcat 7.0) tomcat8 (Tomcat 8.0 container implementation) tomcat85 (Tomcat 8.5 and 9.0 container implementation) tomcat100 (Tomcat 10.0 container implementation) load-spi (SPI classes for load metric computation) demo client server ``` Source Code ----------- Source code for the mod_cluster project is located on GitHub: [https://github.com/modcluster/mod_cluster](https://github.com/modcluster/mod_cluster) Building -------- ### Servlet Container Modules When building from source, first ensure that Maven version 3.2.5 or newer (run `mvn -version`) and JDK 8.0 or newer (run `java -version`) are installed. The following command builds modules for all containers: ``` mvn install -P dist ``` Distribution files for Tomcat and a demo application will be built in the `dist/target/` directory. Reporting Issues ---------------- Project mod_cluster uses Red Hat Jira issue tracker under MODCLUSTER project: [https://issues.redhat.com/browse/MODCLUSTER](https://issues.redhat.com/browse/MODCLUSTER) License ------- This software is distributed under the terms of the GNU Lesser General Public License (see [LICENSE.txt](LICENSE.txt)).
评论
    相关推荐
    • Proxy服务器源代码
      Proxy服务器源代码
    • VB做的Proxy服务器源代码
      VB做的Proxy服务器源代码 借花而已。不用钱的。
    • ex-proxy:节点代理服务器
      ex-proxy:节点代理服务器
    • CC Proxy 7.2
      代理服务器CCProxy于2000年6月问世,是国内最流行的下载量最大的的国产代理服务器软件。主要用于局域网内共享宽带上网,ADSL共享上网、专线代理共享、ISDN代理共享、卫星代理共享、蓝牙代理共享和二级代理等共享代理...
    • Radvision SIP proxy 服务器
      Radvision SIP proxy 服务器,可以用于测试和实用部署.
    • ProxyIP代理服务器
      一款很好用的代理软件。 提供常用常见软件下载,小巧实用的小软件、小工具, 热门必备精品软件等,为尽可能的方便用户使用,软 件多为免费软件或绿色版,并附上原创的软件体验心 得及介绍。
    • 用VB做的Proxy服务器源代码
      用VB做的Proxy服务器源代码
    • Proxy Hunter
      代理服务器猎手,可以很快速的查找网络上的免费 Proxy 哦!主要有以下特点:支持多网址段、多端口自动查询,支持自动验证并给出速度评价,支持后续的再验证,支持用户设置连接超时和验证超时,支持用户设置验证内容,...
    • Proxy Finder
      Proxy Finder是一个非常快的Proxy查找工具,它可以自动从互联网上寻找到可用的代理服务器,号称在2分钟内可以替你找到10000个,试试看吧!
    • ProxyServer:代理服务器
      代理服务器 运行说明: ./ProxyServer(端口号) 当前功能:同时支持多达 2000 个连接。(多线程)Get 方法 未来功能:发布。