Giter Site home page Giter Site logo

Comments (5)

qiwzhang avatar qiwzhang commented on September 7, 2024

ESP downstream and upstream are using different connections. There is not one to one connection mapping between these two, it only has stream to stream mapping. upstream is using grpc channel, many downstream connections may use one grpc channel. So mapping keep alive between downstream and upstream is difficult.

from esp.

unludo avatar unludo commented on September 7, 2024

@qiwzhang Thank you for your answer. I don't understand though as each stream is specific to each client - server connection. There is no 'broadcast'.

I was wondering, is it possible to have a grpc client to communicate with a grpc server through a L4 LB without an ESP?
ESP is doing grpc proxy or more ?
I tried to not use an ESP but was not able to have Client -> L4 LB -> Server (inside GKE) working, whereas with Client -> L4 LB -> ESP + server it works. Is it normal for you?

from esp.

qiwzhang avatar qiwzhang commented on September 7, 2024

In theory, L4LB should work for gRPC protocol.
It may have something to do with your GKE LB or Ingress that doesn't support Http2. ESP can convert http1 to http2. But I believe GKE LB or Ingress does support http2, you may have configured it wrong.

from esp.

unludo avatar unludo commented on September 7, 2024

from esp.

qiwzhang avatar qiwzhang commented on September 7, 2024

Somewhere in the path-path, grpc request is downgraded from http2 to http1, and ESP upgrades back to http2. That is how ESP has helped.

from esp.

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.