Giter Site home page Giter Site logo

Comments (5)

kyessenov avatar kyessenov commented on June 16, 2024

It would be good to understand the expressive power limit of the current Envoy configuration format. I can imagine we'd probably need to extend the routing section in Envoy to take into account arbitrary Mixer attributes and that would require extensive changes to core Envoy.

For example, routing rules are grouped by virtual hosts in Envoy. If we have rules for a binding svcA -> svcB, can we get away with a single virtual host for B or we need one host per binding?

from pilot.

rshriram avatar rshriram commented on June 16, 2024

Depends on the protocol. When the protocol allows multiplexing (e.g. HTTP), we can get away with a single virtual host, while forcing all outbound connections from the app to land on a predefined port (say 6379). We can differentiate different targets using the http host header and URLs. Or an easier fallback would be catch all (*) for internal envoys running with non edge services (i.e. non user facing).

If it's a non multiplex-able protocol like redis, mongo, plain tcp, etc., we would need one virtual host per service (e.g. One for mongo, one for redis) each listening on a different port.

from pilot.

rshriram avatar rshriram commented on June 16, 2024

This has been listed as a TODO in the ProxyConfig proto in istio/api/proxy/alphav1/config/cfg.proto
@ayj this can be moved out of V0 into some bucket for future iterations?

from pilot.

ayj avatar ayj commented on June 16, 2024

Sure. We don't have any future milestone / projects defined yet, but we can treat anything not tracked under ManagerV0 as part of some future iteration for now.

from pilot.

rshriram avatar rshriram commented on June 16, 2024

closing this as of now. The two projects have diverged significantly. Aspects and stuff do not apply to route configurations.

from pilot.

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.