IIS Web花园轮循机制不起作用

时间:2018-06-24 15:09:59

标签: asp.net iis web-garden

我将最大工作进程数设置为 2 ,但是在日志中看到大多数请求都发送到同一台计算机上。

这是一组具有相应进程ID的并发请求的示例:

Even I don't know all the answers. - 95776
Even I don't know all the answers. - 95776
Even I don't know all the answers. - 95776
Even I don't know all the answers. - 95776
Even I don't know all the answers. - 95776
Even I don't know all the answers. - 95776
Even I don't know all the answers. - 95776
Even I don't know all the answers. - 101352
Even I don't know all the answers. - 95776
Even I don't know all the answers. - 95776
Even I don't know all the answers. - 95776
Even I don't know all the answers. - 101352
Even I don't know all the answers. - 95776
Even I don't know all the answers. - 95776
Even I don't know all the answers. - 95776
Even I don't know all the answers. - 95776
Even I don't know all the answers. - 95776
Even I don't know all the answers. - 95776
Even I don't know all the answers. - 101352
Even I don't know all the answers. - 95776
Even I don't know all the answers. - 101352
Even I don't know all the answers. - 101352
Even I don't know all the answers. - 95776
Even I don't know all the answers. - 95776
Even I don't know all the answers. - 95776
Even I don't know all the answers. - 95776
Even I don't know all the answers. - 95776
Even I don't know all the answers. - 95776
Even I don't know all the answers. - 95776

如您所见,网络花园是一个循环式的谎言。

1 个答案:

答案 0 :(得分:0)

根据此处显示的内容,您没有完整的视图。 您还需要为每个请求连接(和显示/查看)用户的ip或cookie,还需要检查每次调用是否一次,或者同时一次调用。

例如,如果您每小时仅打一个电话,则无需调用第二个工作流程,第一个工作就很好。

更多工作进程的重点在于,在同一资源上同时存在多个请求的情况下,响应更为平滑。