Redian新闻
>
How is the Jboss AS performance?
avatar
How is the Jboss AS performance?# Java - 爪哇娇娃
l*u
1
且说金棺村在一夜之间毁于兵祸,孙大麻子和小凤虽得幸免,却都是“家破人亡、飘零
无依”,心中方寸早已乱了,值此水深火热之乱世,哪里才有生计可寻? www.6park.
com
忽听张小辫愿意带着他们去寻一场大富大贵,简直犹如死囚临刑时接着了一纸九重恩赦
,好不庆幸,当下对张小辫之言从骨子里信从了,孙大麻子更是感激流涕:“常听俺爹
说,世上的人最愿意做锦上添花,绝少人肯去雪中送碳,俺这辈子能结识到如此义气的
兄弟,也真不枉人生一世了。” www.6park.com
张小辫心知此时此地不便多说,便对那二人道:“要求那场富贵,尚有几件大事要做,
眼看日头望西坠了,咱们切莫延误,早早动身上路才是。”说罢让孙大麻子和小凤抹去
泪水,三人强打着精神在死人堆里翻找了一些吃食财物,裹将起来带在身上,以充路资
之用。 www.6park.com
张小辫又说接下来首要之事,就是把“僵尸美人”偷偷运进灵州城里。孙大麻子心想,
既然此乃得道仙人专为周济贫苦才泄露出的天机,我辈世俗中人浊智愚见,谁又参悟得
透其中道理?干脆不去多想,只管照做就好,反正张小辫得了真传指点,他怎么说就怎
么是了。 www.6park.
avatar
w*f
2
Does anyone know the performance of JBoss AS (servlet program) to handle the
http request? Right now I am really under pressue to do handle the
requirment about the 1million request/sec, it is over my head.
How is the jboss clustering working, How useful for the heavy load?
Thanks a million for any answer
avatar
o*g
3
这个似乎已经不能只谈论JBoss了
你需要提供一些request的特征,你程序的特征。
添加硬件应该是一定的了

the

【在 w******f 的大作中提到】
: Does anyone know the performance of JBoss AS (servlet program) to handle the
: http request? Right now I am really under pressue to do handle the
: requirment about the 1million request/sec, it is over my head.
: How is the jboss clustering working, How useful for the heavy load?
: Thanks a million for any answer

avatar
m*t
4

the
Man, it'd sure be over _my_ head if I had to handle more than 2 requests per
second. ;-)
Not knowing more about your application, I can only say in general that you
might try:
1. load balance among multiple jboss instances, and
2. move the static content to an Apache server.
JBoss is quite scalable. As orang points out, assuming your application has
got a decent design and implementation, it's just a matter of piling up more
hardware.

【在 w******f 的大作中提到】
: Does anyone know the performance of JBoss AS (servlet program) to handle the
: http request? Right now I am really under pressue to do handle the
: requirment about the 1million request/sec, it is over my head.
: How is the jboss clustering working, How useful for the heavy load?
: Thanks a million for any answer

avatar
w*f
5
For example, If I run multiple instances in the a dual quard core CPU server
will be fater than I just run one instance in that server, right? If so,
how many instances should I run?
avatar
m*t
6
Not necessarily faster. There will be multiple threads running in one single
jboss instance anyway, so a multi-core CPU will still have all the cores
utilized even if you only run one instance.
avatar
w*f
7
Really?if that is the case, why ppl want to do software clustering, I think
due to some limitation, all the CPU power is not utilized by those thread.
that is why the VMWare is so hot now.

single

【在 m******t 的大作中提到】
: Not necessarily faster. There will be multiple threads running in one single
: jboss instance anyway, so a multi-core CPU will still have all the cores
: utilized even if you only run one instance.

avatar
o*g
8
我觉得你对你的问题的认识有些片面
有些东西,你可能没有理解到
web server的瓶颈可能有很多,比如网络带宽,磁盘IO,CPU, Memory,数据库。。。
你需要找原因,并不是光看CPU就好了。
另外,cluster一般都是多box的,一般没有一个box装俩jboss,让他俩cluster的。

think
.

【在 w******f 的大作中提到】
: Really?if that is the case, why ppl want to do software clustering, I think
: due to some limitation, all the CPU power is not utilized by those thread.
: that is why the VMWare is so hot now.
:
: single

avatar
g*g
9
It doesn't make much sense to cluster on one machine.
People run mutliple applications on big machine because
the applications are light. And if somehow your machine
is down, all your clustered instances will be down.

【在 o***g 的大作中提到】
: 我觉得你对你的问题的认识有些片面
: 有些东西,你可能没有理解到
: web server的瓶颈可能有很多,比如网络带宽,磁盘IO,CPU, Memory,数据库。。。
: 你需要找原因,并不是光看CPU就好了。
: 另外,cluster一般都是多box的,一般没有一个box装俩jboss,让他俩cluster的。
:
: think
: .

avatar
h*e
10
Assuming that it takes 10ms for each request to be processed, and you have
2x4 core CPU in each server, so each server can process up to 800 request/
sec. In order to process 1m requests/sec, you will at least need 1250 such
servers. I doubt this type of volumn can be handled by any single or handful
number of servers, no matter how powerful the servers are and what type of
AS they run. Hardware clustering is one way to go.
avatar
w*f
11
Maybe. I will double check the IO issue. But I still think from performance
standpoint 1 JVM with large meory < multiple JVM with relative small memory.

【在 o***g 的大作中提到】
: 我觉得你对你的问题的认识有些片面
: 有些东西,你可能没有理解到
: web server的瓶颈可能有很多,比如网络带宽,磁盘IO,CPU, Memory,数据库。。。
: 你需要找原因,并不是光看CPU就好了。
: 另外,cluster一般都是多box的,一般没有一个box装俩jboss,让他俩cluster的。
:
: think
: .

avatar
w*r
12
create 20 instances of Jboss on 20 machine/VM, each can handle 50,000/sec
easily, use DNS load
balancing on the network side, it should be fairly easy. :D

handful
of

【在 h****e 的大作中提到】
: Assuming that it takes 10ms for each request to be processed, and you have
: 2x4 core CPU in each server, so each server can process up to 800 request/
: sec. In order to process 1m requests/sec, you will at least need 1250 such
: servers. I doubt this type of volumn can be handled by any single or handful
: number of servers, no matter how powerful the servers are and what type of
: AS they run. Hardware clustering is one way to go.

avatar
m*t
13

If most requests end up in the db, yes, the db would also need to be load
balanced. That's actually what we are doing on my current engagement.
avatar
w*r
14
受得了,对于数据库的访问当然要distribute, 要不然1M/sec你怎么办?有条件的话用
DB2/zOS,没条件的话Oracle cluster.
avatar
r*l
15
Cluster here is definitely needed. Well, since the applications
nowadays are multi-layered, you need to find out which layer
causes the problem. Try run load test and profiling tool on your
application.

the

【在 w******f 的大作中提到】
: Does anyone know the performance of JBoss AS (servlet program) to handle the
: http request? Right now I am really under pressue to do handle the
: requirment about the 1million request/sec, it is over my head.
: How is the jboss clustering working, How useful for the heavy load?
: Thanks a million for any answer

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。