i create 3 work threads ,but if i send 10url with same host ,shrpx create only 1 connection with backend,why ?
megarzzy opened this issue · 2 comments
megarzzy commented
i create 3 work threads ,but if i send 10url with same host ,shrpx create only 1 connection with backend,why can not create 3 connections with backend ?
thx!
tatsuhiro-t commented
Are you using SPDY backend, and does client use SPDY to access shrpx? Then it is normal. shrpx creates one SPDY connection per worker, and all requests in one SPDY frontend connection will go into the same backend SPDY connection.
megarzzy commented
shrpx -p -b xxxx,8888 -L INFO;
backend using spdy,but frontend using http1.1 ,maybe because of the persistent connection ?