无为空观
百度空间 | 百度首页 
               
 
文章列表
 
2009年07月12日 星期日 14:52

#361
#add by lsl

attributetype ( 2.5.4.66 NAME 'roles'
        DESC 'role memberships of a person'
        SUP name )

attributetype ( 2.5.4.67 NAME 'enabled'
        DESC 'enabled flag for a person'
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 )


#416


objectclass ( 2.5.6.6 NAME 'perso
 
2009年07月07日 星期二 08:46
Edge Origin Clustering Configuration
Added by Steven Gong, last edited by Thijs Triemstra on Feb 04, 2008 (view change)
Labels: (None)



This page describes the steps to configure and deploy your application on Red5 clustering.

In Red5 0.7 the Ant build.xml file contains a build target that creates a 'cluster' folder containing the same setup as described below. Use 'ant dist-cluster' to create the Red5 clustering setup.

Limitations
As of now,
 
2009年07月07日 星期二 08:45

red5的开发者真是太伟大了,把集群搞的这么平民化。

1. 下载red50.8

2. 修改一下build.xml ant dist-cluster

3. 把red5/home/cluster 的edge和origin 部署到你的edge和origin Server上。

比如2(2个edge)-2(2个origin),就需要4台机器

edge1

edge2

origin1(ip:origin1)

origin2(ip:origin2)

4. 修改edge Server上的

red5-edge-core.xml

把下面

<bean id="mrtmpClient"
  

 
2009年07月06日 星期一 15:08

压力测试工具:ab,webbench

为了比较网站或者服务器的性能少不了压力测试工具。最受欢迎的是ab测试工具。ab测试工具随apache打包发布,所有应用起来十分方便。而webbench用起来更加的简单,参数很少简单易懂.

1. ab
根目录: 在apache的根目录下面。
测试例子: ab -n 10000 -c 100 -t 10 http://www.test.com/
参数: -n 表示请求总数, -c 表示并发数. -

 
2009年07月01日 星期三 15:43
最终配置成这个样子就可以了。

<page view-id="/*" login-required="false" action="#{ssoAuthenticator.checkLogin}"/>

也就是对所有的page都检查登录状态,至于是否跳转到sso登录页面,是由web.xml里面的filter来决定的。
 
     
 
 
日历
 
     
 
个人档案
 
avauntage

上次登录:
15小时前
加为好友
 
   
 
好友最新文章
 
     


©2009 Baidu