Fwd: Flash based games not working
Amos Shapira
amos.shapira at gmail.com
Wed Aug 12 14:48:52 IDT 2009
2009/8/11 Akiva <akiva at wejew.com>
> c - We switched to a http pseudo-streaming script (xmoov-php). As soon as we did this our Israeli customers with download delays immediately reported a major improvement. Even though we implemented this script with bandwidth throttling! Since this is delivered on port 80, the firewall issues also were removed. As a negative, the per-memory use on our server for each download stream is much heavier, but fortunately memory cost is not that high.
>
> If anyone has suggestions on improving flash stream loading, we'd certainly be happy to hear about it and try any suggestions.
1. PHP (at least used to be) none thread-safe and therefore require
use of pre-fork Apache MPM which in turn means process per request.
Try to move away from PHP if possible by finding out what the protocol
it implements looks like and using other implementations.
2. nginx is supposed to be a reverse proxy accelerator but it turns
out that you can serve dynamic content from it too - including running
PHP - and it's supposed to do this much better than Apache.
--Amos
More information about the Linux-il
mailing list