Re: serving video files with php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andras Kende wrote:
Hello,

Is there any drawback servings video files through php downloader script on
high load site?

Or just straight link to the videos are more efficient?

Thank you,

Andras Kende

http://www.kende.com



Yes, there is. The PHP downloader script will have to stay resident in memory for the entire duration of the download, plus it's going to take up more CPU power than apache's own functionality (even if only marginally). If you intend to have multiple simultaneous downloads for this, it's going to be a rather large resource drain compared to just letting Apache handle the download itself.

Regards, Adam Zey.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux