Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Application Server  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 Resin几点说明
阿熊



发贴: 0
积分: 0
于 2005-04-20 10:41 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
1、Resin主要是处理动态网页,如果是静态网页较多,建议使用Apache+Resin,处理静态页面是Apache的强项。Resin处理图片会增大IO的频繁处理,一般在大访问的项目中,把图片放在静态服务器Apache中进行处理,这样Resin只进行数据响应处理,而Apache服务器则处理图片。

2、Resin性能监测工具:Scottit。官方网站:http://www.ustobe.com/scottit。
这个软件可以看到J2EE程序的性能和Resin Server的性能,及JVM相关信息。这样可以找出J2EE中哪些页面效率低

3、Resin 3.0.x与Resin 2.1.x的servlet-mapping区别
2.1.x:
<servlet-mapping url-pattern='/pool/admin' servlet-name='org.logicalcobwebs.proxool.admin.servlet.AdminServlet'/>
3.0.x:
<servlet-mapping url-pattern='/pool/admin' servlet-class='org.logicalcobwebs.proxool.admin.servlet.AdminServlet'/>

4、Resin的负载均衡
修改resin.conf
<cluster>
<srun server-id="" host="127.0.0.1" port="20001" index="1"/>
<srun server-id="" host="127.0.0.1" port="20002" index="2"/>
<srun server-id="" host="127.0.0.1" port="20003" index="3"/>
</cluster>
防止一个端口连接数太多给堵死

5、Resin 3.0 GPL版与Resin 3.0 Pro版的区别
Pro版比GPL版多了Server Cache与JNDI功能
Server Cache(内存和Disk cache),可以提升不少性能,能够将动态文件产生的结果存成静态页面,在Cache有效期内,其它用户访问,直接返回。


zua edited on 2005-04-20 11:37

作者 Re:Resin几点说明 [Re:zua]
lyz0726





发贴: 9
积分: 0
于 2005-05-07 13:15 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
谢谢


迷茫的追寻

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923