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
精彩评论