Git Product home page Git Product logo

Comments (6)

tatsuhiro-t avatar tatsuhiro-t commented on June 15, 2024 1

Thank you for suggestion. One of pros for nghttpx is it can connect to backend using HTTP/2 protocol with L7 routing, which nginx lacks at the moment.
Con is obviously nghttpx has less feature than nginx. But nghttpx has the essential features to be used as ingress controller.

from nghttpx-ingress-lb.

tatsuhiro-t avatar tatsuhiro-t commented on June 15, 2024 1

nghttpx can change backend configuration without reloading/process restart. It is just a matter of internal HTTP POST request, and we are done. We use watch interface for Ingress resource, and the application of change is done very fast. I'm not sure that nginx supports this.

from nghttpx-ingress-lb.

wernight avatar wernight commented on June 15, 2024

That can indeed improve performances (wonder how much given Ingress Controller and Pods are co-located), if the servers behind also support it.

from nghttpx-ingress-lb.

tatsuhiro-t avatar tatsuhiro-t commented on June 15, 2024

As for location of Ingress controller, and service Pods, Ingress controller is typically running as DaemonSet on dedicated node (e.g, node label selection), and Pods will be on the other nodes.
As long as the latency is not that large, I think it is OK.
Some services, like gRPC, requires h2 protocol, and if they run as Pod, nginx controller is forced to use L4 mode, but nghttpx can forward the gRPC request on L7 layer as usual.

from nghttpx-ingress-lb.

wernight avatar wernight commented on June 15, 2024

But even nghttpx would be an endpoint for L7 and just create another L7 to gRPC server, no?

from nghttpx-ingress-lb.

tatsuhiro-t avatar tatsuhiro-t commented on June 15, 2024

If I understand correctly, yes. Ingress is L7 thing.

from nghttpx-ingress-lb.

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.