as nobody else answered, i try it somehow :)write a script to simulate 300 users the same time searching process.in serverside php file define start time and final time in the beginning and end. in serverside create a table(log) in db to record the duration.(id,user-ip,duration)in client side, write a script to loop browsering the server php file. the test case should be the most heavy function of searching. finally check the log table and evaluate it. 300 people the same time online searching should be enough for 50k users' scale site.your topic is pretty interesting.. ding ding.. with best wishessandy
解决方案 »
- linux下连接windows下的mysql,速度比较慢
- 分组新标志如何在sql里写
- 关于mysql时间类型是怎么储存的问题?
- 请问 mysql 5.0 如何 实现 约束 的功能 ????
- mysql 索引问题,请大侠帮忙
- 555求助, 本人安装了mysql 5.0 在DOS下测试一切正常,用网页全是连接不到数据库?为什么?
- 求助:如何用sql语句取出mysql 数据库中表的字段的说明信息 !!!
- linux下安装mysql时的问题,2002错误
- PB 中取 MySql 记录数问题,急等回复!!!
- MySQL数据六个字段24W数据 select × 需要10秒 请教可能是哪些问题
- 这条SQL错在那里?
- 如何把标准的.sql文件导入mysql中(急,在线等)
<html>
<head>
<script>
function isValid(x)
{
var submit_string = compose_the_string_to_post(x);
for(var i=0; i<300; i++)
{
x.submit(); //not sure of the syntax :(
}
}
</script>
</head>
<body>
<form method=post action="your_remote_serach_engine_ interface" onsubmit=isValid(this)>
<input type=hidden name=city values="city">
<input type=hidden name=country values="country">
...
..
.
<input type=submit name=s1>
</form></body>
</html>i have no idea whether php can do a graphical presentation.. in the server side we could at least write a java 2D application.wait for better solution..