Separate Robots for HTTP and HTTPS traffic
unjc email
unjc.email at gmail.com
Fri Dec 21 20:38:24 UTC 2012
Hello there,
I have already set up a workload that generates mixed http/https
traffic. Since there is an issue with the https proxy, the http
traffic is heavily affected because the same robots are responsible
for both types of traffic. Would any of you please advise how I could
configure two kinds of robots (one for http and one for https) binding
to two different loop-back IP pools?
I understand it will probably not be possible to distribute the load
through using Robot's origins (origins = [M1.names, M2.names: 10%];)
anymore. I assume I could try to dedicate different number of robots
for each robot type.
Thank you in advance for your help,
Jacky
Bench theBench = {
peak_req_rate = 1000/sec;
client_side = {
hosts = ['192.168.128.36','192.168.128.37'];
addr_space = ['lo::172.1.2-250.20-30'];
max_host_load = theBench.peak_req_rate/count(client_side.hosts);
max_agent_load = theBench.peak_req_rate/totalRobots;
};
server_side = {
hosts = ['192.168.102.206','192.168.102.207'];
max_host_load = theBench.peak_req_rate;
max_agent_load = theBench.peak_req_rate;
};
};
Server S1 = {
kind = "S101";
contents = [JpgContent: 73.73%, HtmlContent: 11.45%, SwfContent:
13.05%, FlvContent: 0.06%, Mp3Content: 0.01%, cntOther];
direct_access = contents;
addresses = M1.addresses;
http_versions = ["1.0"];
};
Server S2 = {
kind = "S101";
contents = [JpgContent: 73.73%, HtmlContent: 11.45%, SwfContent:
13.05%, FlvContent: 0.06%, Mp3Content: 0.01%, cntOther];
direct_access = contents;
SslWrap wrap1 = {
ssl_config_file = "/tmp/ssl.conf";
protocols = ["any"];
ciphers = ["ALL:HIGH": 100%];
rsa_key_sizes = [1024bit];
session_resumption = 40%;
session_cache = 100;
};
ssl_wraps = [wrap1];
addresses = M2.addresses;
http_versions = ["1.0"];
};
Robot R = {
kind = "R101";
pop_model = {
pop_distr = popUnif();
};
recurrence = 50%;
req_rate = undef();
origins = [M1.names, M2.names: 10%];
credentials = select(totalMemberSpace, totalRobots);
SslWrap wrap1 = {
ssl_config_file = "/tmp/ssl.conf";
protocols = ["any"];
ciphers = ["ALL:HIGH": 100%];
rsa_key_sizes = [1024bit];
session_resumption = 40%;
session_cache = 100;
};
ssl_wraps = [wrap1];
addresses = robotAddrs(authAddrScheme, theBench);
pconn_use_lmt = const(2147483647);
idle_pconn_tout = idleConnectionTimeout;
open_conn_lmt = maxConnPerRobot;
http_versions = ["1.0"];
};
More information about the Users
mailing list