GithubHelp home page GithubHelp logo

Comments (6)

tifayuki avatar tifayuki commented on July 16, 2024

No. The code of dockercloud/haproxy is pretty much like tutum/haproxy on handling SSL certs. In my tests, the SSL enabled haproxy is generally like 2 or 3 seconds slower than the one without SSL.

from dockercloud-haproxy.

PuKoren avatar PuKoren commented on July 16, 2024

Our issue is that it escalades quickly, when over 100-200 req/sec, it takes more than 10sec to serve a request on SSL.

We tried with tutum/haproxy and there is the same issue.

In short, we face the issue on Docker Cloud, but not on Tutum. Do you have any idea of why this happen?

from dockercloud-haproxy.

tifayuki avatar tifayuki commented on July 16, 2024

Does it happen if you run it locally without Docker cloud?
If yes, there could be the issue of this image.
If not, I would guess it is the overlay network issue

Also, can you monitor the CPU usage of the haproxy process, which could be a performance bottleneck?

from dockercloud-haproxy.

PuKoren avatar PuKoren commented on July 16, 2024

@tifayuki I was thinking about the overlay network too, but when switching to host mode I have the issue #53

Will dig into it this week or the next week to post some update, thanks

from dockercloud-haproxy.

PuKoren avatar PuKoren commented on July 16, 2024

@tifayuki it seems the issue was that the maxconn was reached and requests were delayed. I'm not 100% sure about it so I will let it live over the weekend and see with the day charge tomorrow and update this issue.

Thanks

from dockercloud-haproxy.

PuKoren avatar PuKoren commented on July 16, 2024

Our CPU is 100% when having high load and using SSL, as it takes a lot of CPU.

We will need to fork the repo and add nbproc support for those use-cases. I close the ticket for now as it is not a bug, but a feature request for nbproc

from dockercloud-haproxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.