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

websocket have an effect on average response time #253

Open
suningzh opened this issue Oct 19, 2022 · 1 comment
Open

websocket have an effect on average response time #253

suningzh opened this issue Oct 19, 2022 · 1 comment

Comments

@suningzh
Copy link

Let us suppose that
Nginx processes 10000 http requests in 1s,every request's reponse time maybe 5ms,
just at this time a websocket client close the connection,nginx log this websocket handshake request,this request's reponse time maybe 30mins or more

when we use vts module, because of this websocket request, the average response time is not very perfect
should we calculate the websocket request response time ?

@u5surf
Copy link
Collaborator

u5surf commented Dec 16, 2022

@suningzh Thanks reporting and sorry for late. You said that the response time which is calculated by this module might record 2000 second for 10k request per sec.
If it is true, I consider that it seems not to be that response time what we want.
Can you share your nginx.conf and nginx or vts version which reproduce this behavior. I'd like to know what is happened and what the response time does indicate.

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