Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i create 3 work threads ,but if i send 10url with same host ,shrpx create only 1 connection with backend,why ? #141

Open
megarzzy opened this issue Feb 17, 2016 · 2 comments

Comments

@megarzzy
Copy link

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
Copy link
Owner

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
Copy link
Author

shrpx -p -b xxxx,8888 -L INFO;
backend using spdy,but frontend using http1.1 ,maybe because of the persistent connection ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants