开发者

Manage 10,000 users updating database through web application [closed]

开发者 https://www.devze.com 2023-01-14 21:36 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reope开发者_JS百科ned, visit the help center. Closed 12 years ago.

I have a scenario where more than 100k users trying to update database concurrently through web application in struts ,hibernate . what is the best way to solve this.

This application is locally accessed within india bangalore.this site does not always have traffic,but only during sep to dec.

around 5k users hit the database.

we have two servers


Farm it off to Amazon EC2 and S3. You are not ready (really). Once you are, the transition will be pretty simple. Look into OpenStack for when you want to tackle the challenge.


I think you better make your application distributed.You can use Hadoop which is Opensource.If your not intending to make it distributed then to speed up your database you can try In-memory-db.

UPDATE:

I just saw an db implementation of apache for online transactions.So I'm just Posting the links in case you may need it. Apache Derby[Wiki,Related Question In SO]


You could put all concurrent requests to the persistent queue with JMS oslt and then process them in on one (or more) thread (or server) by pulling and processing request one by one.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号