Redian新闻
>
How to define webserver and DB hardwares
avatar
How to define webserver and DB hardwares# Java - 爪哇娇娃
l*b
1
I am developing a JSF web application running on Jetty to handling about 70,
000 to 80,000 transactions simultaneously per day. I am headache how to
determine the hardwares, how many servers? standalone or VM? CPU, RAM, etc?
avatar
m*r
2
80k per day?

70,

【在 l*****b 的大作中提到】
: I am developing a JSF web application running on Jetty to handling about 70,
: 000 to 80,000 transactions simultaneously per day. I am headache how to
: determine the hardwares, how many servers? standalone or VM? CPU, RAM, etc?

avatar
l*b
3
Yes, it is peak number. Normal is about 70K.
Thanks for reply. Do you have good advice?

【在 m****r 的大作中提到】
: 80k per day?
:
: 70,

avatar
C*g
4
不妨现在普通PC上试一试。
avatar
g*g
5
80K is not a lot. Maxium current user sessions may be more helpful.

【在 l*****b 的大作中提到】
: Yes, it is peak number. Normal is about 70K.
: Thanks for reply. Do you have good advice?

avatar
l*b
6
Do you mean the user session is the bottlenet? How to improve that? And do
you know how many servers I could use in the beginning? Thank you.

【在 g*****g 的大作中提到】
: 80K is not a lot. Maxium current user sessions may be more helpful.
avatar
m*i
7
1. write a load test, e.g. jmeter
2. monitor your cpu / memory / disk / network utilization and find out what
is the bottle neck.
3. Reconfig your software to address these problems.
If you are using mysql, having replicas is a must (to provide high throughput). If possible, sharding is always a good way to improve the database scalability

70,

【在 l*****b 的大作中提到】
: I am developing a JSF web application running on Jetty to handling about 70,
: 000 to 80,000 transactions simultaneously per day. I am headache how to
: determine the hardwares, how many servers? standalone or VM? CPU, RAM, etc?

avatar
m*r
8
honestly, i don't understand the concept of a "daily concurrent session".
do you mean the maximun concurrent session is 80k? or daily unique session
is 80k? if it's the former, yes, that's alot of sessions. if the latter,
it's 80k/24 => 3k/hour => 50/minute => 1/second. that's only 1 session more
than 0 sessions/second. not alot.

【在 l*****b 的大作中提到】
: Yes, it is peak number. Normal is about 70K.
: Thanks for reply. Do you have good advice?

avatar
l*b
9
Thanks for reply and advice. The 80k I mentioned is the number of
transaction committed to DB per day. The peak is 10k per hour during the
rush hours.

session
more

【在 m****r 的大作中提到】
: honestly, i don't understand the concept of a "daily concurrent session".
: do you mean the maximun concurrent session is 80k? or daily unique session
: is 80k? if it's the former, yes, that's alot of sessions. if the latter,
: it's 80k/24 => 3k/hour => 50/minute => 1/second. that's only 1 session more
: than 0 sessions/second. not alot.

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