Re:Proxygen, Facebook's C++ HTTP Framework
by invisible on Wednesday November 05, 2014 @01:51PM
(#8563472)
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?
[ Parent
| on HN ]
Re:Proxygen, Facebook's C++ HTTP Framework
by dcsommer on Wednesday November 05, 2014 @02:00PM
(#8563539)
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
by x3c on Wednesday November 05, 2014 @02:16PM
(#8563642)
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?
Re:Proxygen, Facebook's C++ HTTP Framework
by datashovel on Thursday November 06, 2014 @05:37AM
(#8566476)
I would love to see Proxygen integrated as a HackLang extension. Especially the HTTP parser. As far as I know, the PHP world is sorely lacking a robust HTTP parser.
Re:Proxygen, Facebook's C++ HTTP Framework
by datashovel on Friday November 07, 2014 @04:42PM
(#8574788)
In response to my comment here, I did some more experimentation with pecl_http. Turns out version 2.1.4 looks relatively stable. Just be sure not to make the same mistake I made of referring to the documentation on the php.net website. Instead one should look here for version 2.x documentation: