Envoy "look-aside" load balancing?

377 views
Skip to first unread message

Jia Zhan

unread,
Jun 17, 2021, 6:18:04 PM6/17/21
to envoy...@googlegroups.com
Hello,

We have a couple of use cases where we would need to use a custom "load balancing" strategy that Envoy provides, e.g. 

1. "routing override" based on request metadata, .e.g. use Envoy as a pass-through proxy which forwards the request based on the destination host:port information attached in the request metadata (e.g. header), bypassing all the XDS & LB logic. 

2. More generally, a way to do "look-aside" load balancing (via a filter? an external service?) that allow us to customize the load balancing logic without having to modify the core Envoy LB logic. (Sorry for being a little vague on the requirements here, but we'd like to see what flexibilities we have when implementing a customized LB logic in Envoy)

Any pointers are appreciated! Thanks

--
jz

Raul Gutierrez Segales

unread,
Jun 21, 2021, 12:59:40 PM6/21/21
to Jia Zhan, envoy-users
Hi,

We blogged about this:

https://medium.com/pinterest-engineering/simplifying-web-deploys-19244fe13737

Ping me on Slack if you want to chat about it.

Cheers,
-rgs

--
You received this message because you are subscribed to the Google Groups "envoy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to envoy-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/envoy-users/CAG%3DL2ft9C4QpXPPkdWk-rJpMrHvy8C1b1EwbXOJhqMewpuEJfg%40mail.gmail.com.

Matt Klein

unread,
Jun 28, 2021, 11:34:17 AM6/28/21
to Raul Gutierrez Segales, Jia Zhan, envoy-users
See also https://github.com/envoyproxy/envoy/issues/5598 which tracks adding load balancer extensibility.

Reply all
Reply to author
Forward
0 new messages