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

Performance impact while using stream-sts #4

Open
nihn opened this issue Jul 27, 2017 · 4 comments
Open

Performance impact while using stream-sts #4

nihn opened this issue Jul 27, 2017 · 4 comments

Comments

@nihn
Copy link

nihn commented Jul 27, 2017

Hello,

we use vts and sts nginx modules. Unfortunately we have experienced strange performance issues and after debugging it seems that sts module causes them.

We have couple of nginx which proxies all kind of traffic (tcp, udp, http) and on those which proxies much tcp/udp traffic and have sts module enabled we see big performance drop (even in http part). I am attaching one of our metric which shows how drastically upstream response drops when module is disabled:

image

It is worth noting that we haven't observed any visible impact when we disabled vts module, also this problem appears only during peak hours.

@ngocketit
Copy link

Any update on this? I'm planning to use these modules but then found this issue. Having a proper monitoring is crucial for a load balancer. Unfortunately, Nginx opensource sucks in this respect and we have to rely on third party modules. Really appreciate your work on this @vozlt.

@vozlt
Copy link
Owner

vozlt commented Jun 21, 2018

@nihn Thanks for reporting.
I need detailed informations to confirm the problem.
So I have some questions as follows:

  1. What is the upstream response time measured by using?
  2. What is the type(http|stream) of upstream response time in the above graph?
    • upstream response time in http block
    • upstream response time in stream block
  3. Have you checked the nginx error log at that time?
  4. What you expect is nginx-module-vts is no problem and nginx-module-stream-sts is suspicious during peak hours, is right?
    • nginx-module-vts
      • on: NO PROBLEM
      • off: NO PROBLEM
    • nginx-module-stream-sts
      • on: PROBLEM
      • off: NO PROBLEM
  5. How much traffic(requests/sec, bytes/sec) do you have during peak hours?
  6. Please let me know your environment informations.
    • os
    • $ nginx -V output
    • nginx-module-vts version
    • nginx configurations

@nihn
Copy link
Author

nihn commented Jun 27, 2018

Hello voltz. I switched jobs I no longer work with Nginx. Maybe @psliwka can provide more details.

@psliwka
Copy link

psliwka commented Jan 17, 2019

@mlowicki, can you recall what this was about?

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

4 participants