Live data from Hacker News

Envoy: 7 months later

eng.lyft.com

41–48 of 48 posts

Re: Envoy: 7 months later

#41
post #5

For Googlers out there: Envoy is basically GFE

I had no idea what GFE stands for and had to track down [https://medium.com/@jerub/the-production-environment-at-goog...] in order to get a good answer.

Envoy bills itself primarily as a service mesh (seeming closest to GSLB / Global Software Load Balancer), but also as an edge proxy (seeming closest to GFE / Google Front End).

Is there any reason to think that it's more like GFE than it is like GSLB?

Re: Envoy: 7 months later

#42
post #30

Any numbers on latency Envoy adds for each request ?

according to the talk I just watched, latency/performance was their concern coming out of the gate and was the impetus for writing it in C++...

Thanks.. just tried it out with my service, beats nginx for simple http proxying pretty easily by a nice margin. Envoy supports way more features than nginx too !

Re: Envoy: 7 months later

#44

Earlier quoted context omitted.

Hopefully, it was avoided on purpose because it's a complete nightmare to use.

Honest question: How so? I have not used it in anger - just played around with it.

Too much indirection.

You get big files filled with variables, loaded from other big files also full of variables. It's hard to know what you are setting after a while or where it comes from.

After a while playing with configuration systems, I'm starting to think that configuration should just be hardcoded once and for all.

Re: Envoy: 7 months later

#46

Earlier quoted context omitted.

Honest question: How so? I have not used it in anger - just played around with it.

Too much indirection. You get big files filled with variables, loaded from other big files also full of variables. It's hard to know what you are setting after a while or where it comes from. After a while playing with configuration systems, I'm starting to think that configuration should just be hardcoded once and for all.

I would rather contact you directly but your profile is empty.

I would like to introduce you to HiveMind described here: http://blog.crudzilla.com/2016/10/managing-configurations-wi...

It addresses the issues that JSSONET does without inventing a new templating language.

I am happy to give a skype demo, email me if interested.

Re: Envoy: 7 months later

#47

Looks interesting except imo the configuration makes it basically unusable. They use jinja2 templated json... and there are hundreds of lines for their "simple" examples. Even the "hello world" type example of proxying to google is a mess https://github.com/lyft/envoy/blob/master/configs/google_com...

I tried to give it a try, and gave up for now.

1. quite hard to "give it a spin" without using docker (vomit). I eventually found some random github repo that had centos7 compatible build scripts, and it took quite a while to compile it on a test vm since it had to build gcc and a ton of other stuff. Not sure why they can't just supply a static binary "release".

2. The config really is a mess. I managed to get something almost working (only / requests went through the proxy, but nothing else for some reason, even though I was using a prefix config). There aren't really any good example configs I could find either. There is a weird config builder script with json templates in the configs dir, but it just seemed to spew out some preconfigured madness.

I am sure it works great and has more tunables than you can shake a stick at, but for now it seems to be only usable by people who have lots of time to invest in trying it out.

Re: Envoy: 7 months later

#48

Earlier quoted context omitted.

Seems like they could have used something a bit nicer to work with too (yaml, libucl, hocon, etc). I am honestly getting tired of editing fiddly json (no comments, last element in list can't have a comma, etc) all over the place.

You can use hjson for human editable json. http://hjson.org/try.html Human editable json, with comments, and doesn't kill you for a lack of trailing comma. Available libraries in tons of languages.

That actually looks pretty nice. Thanks for the link!
Post reply on HN