Do experience sharing soft layer 7 load under Windows (3)

  
deployment:

RealServer1 and RealServer2 deployment has returned to the user avatar service, SoFTProxy deploy soft layer 7 load, TestClient1 LoadRunner to test and deploy and test scripts TestClIEnt2 .

test model:

Online Users: 300 virtual users, virtual users to simulate each client 1000, a total of 300,000 simulated online users, each user gets a picture every 5 seconds.

test expected:

expected SoFTProxy process acquisition request 6w picture per second, and at 80% CPU utilization, memory utilization in 5G less. Other problems



. 1, the client IP

a) is received as RealServer SoftProxy request, the client can not directly know the IP, it is necessary to forward the packet SoFTProxy when coupled with a httpheader to tell the client IP

2, redirection, authentication, temporary response, caching and other issues

a) httpRequest.ServicePoint.Expect100Continue = false;
< BR> b) httpRequest.ServicePoint.UseNagleAlgorithm = false;

c) httpRequest.AllowWriteStreamBuffering = false;

d) httpRequest.AllowAutoRedirect = false;

e) httpRequest. AuthenticationLevel = AuthenticationLevel.None;

f) httpRequest.AutomaticDecompression = DecompressionMethods.None;

g) HttpRequestCachePolicynoCachePolicy =

newHttpRequestCachePolicy (HttpRequestCacheLevel.NoCacheNoStore);

httpRequest.CachePolicy = noCachePolicy;


Copyright © Windows knowledge All Rights Reserved