开发者

how to queue users who want to access the same database

I am developing a web application which requires tha开发者_如何学JAVAt multiple users submit there queries (each user on an average has at least 200 quires) and the queries are process through different statements in db. the system can process 8 queries/sec. when more then one user is accessing the application the db is getting more queries then it can handle. how can i queue the queries coming from different user so that all the users time delay is equal.

All your suggessions are most appritiated

I am using php and mysql

Thanks


Why don't you let this job to mysql server. It has a built in queue system. You can tweak it if it doesn't performe as well as you like

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜