Live data from Hacker News

Proxygen, Facebook's C++ HTTP Framework

code.facebook.com

11–20 of 98 posts

Re: Proxygen, Facebook's C++ HTTP Framework

#11
post #2

Hey there, I work on Proxygen at Facebook. I'm happy to answer any questions you have about the project.

Hey! So Proxygen was originally a reverse-proxy load balancer. Is that still how Facebook utilizes it now? If not, what is its current role? Are there any plans for integrating this with Hiphop/PHP in any way?

Re: Proxygen, Facebook's C++ HTTP Framework

#13
post #2

Hey there, I work on Proxygen at Facebook. I'm happy to answer any questions you have about the project.

Hey! So Proxygen was originally a reverse-proxy load balancer. Is that still how Facebook utilizes it now? If not, what is its current role? Are there any plans for integrating this with Hiphop/PHP in any way?

Yup, we still use Proxygen (the library) in our reverse proxy. Maybe some day we'll be able to open source the reverse proxy too, but it's pretty deeply integrated with internal FB code right now so that's tricky.

We already use the Proxygen HTTP code for the webserver part of HHVM internally. We hope to release that webserver part too (in the HHVM project).

Re: Proxygen, Facebook's C++ HTTP Framework

#14
post #2

Hey there, I work on Proxygen at Facebook. I'm happy to answer any questions you have about the project.

Hey! So Proxygen was originally a reverse-proxy load balancer. Is that still how Facebook utilizes it now? If not, what is its current role? Are there any plans for integrating this with Hiphop/PHP in any way?

The blog post mentions that HHVM uses parts of Proxygen.

Re: Proxygen, Facebook's C++ HTTP Framework

#16
post #15
post #2

Hey there, I work on Proxygen at Facebook. I'm happy to answer any questions you have about the project.

How tested is the websocket support? Does facebook use this for TLS termination?

Websocket support isn't out yet unfortunately. It's something we hope to get to soon.

Our reverse proxy uses proxygen and does TLS termination too, yes.

Re: Proxygen, Facebook's C++ HTTP Framework

#18
post #17

dcsommer (author of proxygen) gave a great talk about this at the last Sourcegraph open-source meetup. Here's the video: https://www.youtube.com/watch?v=-yxQIRl6Qic

I'm flattered, but I'm just an author. Proxygen is the work of about a dozen people over 4 years at Facebook.

Re: Proxygen, Facebook's C++ HTTP Framework

#19

Earlier quoted context omitted.

Hey! So Proxygen was originally a reverse-proxy load balancer. Is that still how Facebook utilizes it now? If not, what is its current role? Are there any plans for integrating this with Hiphop/PHP in any way?

Yup, we still use Proxygen (the library) in our reverse proxy. Maybe some day we'll be able to open source the reverse proxy too, but it's pretty deeply integrated with internal FB code right now so that's tricky. We already use the Proxygen HTTP code for the webserver part of HHVM internally. We hope to release that webserver part too (in the HHVM project).

Websockets were mentioned in the blog post. Has proxygen been deployed with websockets at facebook scale? How much support for websockets is there in the opensourced proxygen?
Post reply on HN