I would also recommend Varnish cache for this. You will get FAR more performance out of it and it will scale much higher for this type of application.
On Wed, Jan 5, 2011 at 11:24 AM, Jason S-M <[email protected]>wrote: > no, I am storing my videos on the file system and in the db are just > entries pointing to the path on the file system. > > Yikes, I could not imagine a db with the video's stored in it, yuck. > > so memcached is not the answer here? > > On Jan 5, 2011, at 11:22 AM, Evert Pot wrote: > > > Wrong cache.. > > > > Store your video's on the filesystem, definitely not. ever. in a > database, and cache using a webserver such as varnish. > > > > On 2011-01-05, at 7:38 PM, JTSM wrote: > > > >> Hi All, > >> > >> I am launching a video intensive Apple Fan site that uses HTML5 video. > >> With many people hitting the site, my thought is the more popular > >> videos should be cached. However I am not privy on how to setup > >> memcached for such use. > >> > >> The machine this site is running on is CentOS 5.5 64 but, Apache, PHP, > >> MySQL 5. It is a dual core machine with 12gb of RAM, max is 16gb and I > >> will max it out over the next month or so probably as I find good > >> deals on 4gb DDR3 sticks. > >> > >> The site's size will be about 300gb (about 60gb now) I have LVM > >> running with 300gb allotted to /var/www/html. > >> > >> Can anyone provide insight on setup and optimization? > >> > >> Since my database doesn't change alot as far as what videos are > >> available would one cache the mysql db? > >> > >> Best, > >> -Jason > > > >
