Re: serving video files with php

From: Date: Thu, 15 Jun 2006 14:04:17 +0000
Subject: Re: serving video files with php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-238095@lists.php.net to get a copy of this message
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.

« previous php.general (#238095) next »