Giter VIP home page Giter VIP logo

envoy-demo's People

Contributors

humzashah avatar

Stargazers

 avatar

envoy-demo's Issues

Concerns that this pattern may encourage undesirable practices

Heya,

Looking at the simple use cases provided in the README I'm a little concerned that this PoC and later applications being deployed using this pattern may be oversharing, or otherwise, have undesirable effects.

a) automatically providing a /health endpoint. I don't think that a sidecar should be responsible for determining the health of a service. That's logic that only the true application process can know.

b) Should the /info and envoy's http port be available to the public?

c) Should the container manger be exposing port 5000 in this example? (A direct connection to the application, not envoy).
This puts envoy as an incoming proxy.
- pro: For http traffic, envoy can protect the appliation server from slowloris attacks (does envoy actaully do this? nginx would seem like a better option)
- con: Is envoy only limited to http proxying. While it can also do HTTP/2 (for gRPC), this may limit the use cases for applications (e.g. we already have some applications that use UDP, or raw TCP connections)
- con: a userspace proxy will mask the connection details. I'm not sure that envoy currently implements the TCP PROXY protocol.

What are our safeguards against double circuit breaking? (i.e. having one circuit breaker for outbound client requests and one for inbound server requests). I don't think this is a good idea.

d) What modifications do clients (e.g. service.go) need to do to use the sidecar envoy as an outbound proxy?

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.