From: <php...@li...> - 2011-05-11 22:07:37
|
Hi, > of HAProxy, I have determined that it is neither a problem with > GlassFish clustering, nor with the intermediary load-balancing proxy. it's a problem with your setup. If you run PHP behind the proxy, please see our FAQ, the problem vanishes. > Rather, it seems that PHP/Java bridge uses chunking in an improper way Not really, no. The bridge uses a HTTP/1.1 connection to get in contact with the JEE back-end. After the first statement, the bridge uses a private socket- or pipe channel, if it is available. If not, the bridge must continue to use the HTTP connection until it breaks. And it will break, usually after ~30 seconds or ~100 statements. And there's no way to re-establish a connection with the same node nor to transfer the state to a different node. [connection: upgrade] Yeah, if WebSocket ever take off, and its problems get fixed, we might use it. But I have the gut feeling that this will never happen. Regards, Jost Bökemeier |