sgammon commented on pull request #1939:
URL: 
https://github.com/apache/incubator-pagespeed-mod/pull/1939#issuecomment-657268373


   @oschaaf cool! i'll try it with `clang` (assuming on Linux, due to the 
`sys/sendfile.h` include). if you have any other build env recommendations, let 
me know. i'm on macOS locally and GKE/COS in prod.
   
   currently, we fly pagespeed in `nginx`, but behind `envoy` to facilitate 
gRPC-web routing, like so:
   
   `L7 GCLB` > `Envoy` > (`nginx`, `gRPC-Java`)
   
   the Nginx installation here is actually two processes: one Nginx process 
configured with Pagespeed for web optimization, and one Nginx process 
configured as an [ESPv1](https://github.com/cloudendpoints/esp) instance, to do 
JSON transcoding so our gRPC API can be used with browsers that don't support 
`fetch` (and therefore cannot support 
[`gRPC-web`](https://github.com/grpc/grpc-web)).
   
   i mention this context because, with the new 
[ESPv2](https://github.com/GoogleCloudPlatform/esp-v2) beta, they're also 
moving to Envoy. that means, with _this_ PR, a full-Google-native set up on GCP 
can finally just look like:
   
   `L7 GCLB` > `Envoy` > `gRPC-Java`
   
   but with creative routing/filtering to enable pagespeed vs. gRPC on 
different endpoints. obviously that would be a huge win for us, and people on 
our stack, so you have our attention for sure! :)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to