memcached for a video intensive website

2011-01-05 Thread JTSM
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

Re: memcached for a video intensive website

2011-01-05 Thread Evert Pot
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

Re: memcached for a video intensive website

2011-01-05 Thread Jason S-M
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.. > > St

Re: memcached for a video intensive website

2011-01-05 Thread Joseph Engo
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 wrote: > no, I am storing my videos on the file system and in the db are just > entries pointing to th

Re: memcached for a video intensive website

2011-01-05 Thread Evert Pot
On 2011-01-05, at 8:24 PM, Jason S-M 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? Memcache is fo

Re: memcached for a video intensive website

2011-01-05 Thread Jason S-M
Evert, >> so memcached is not the answer here? > > Memcache is for small objects, 1MB max, all in memory (hence the Mem). If you > need more than that, you're probably abusing it. > > You probably want to start figuring out exactly what kind of performance > problems you're anticipating. Tha

Re: memcached for a video intensive website

2011-01-05 Thread Geoffrey Hoffman
I would look at Amazon AWS CloudFront or similar services from RackSpaceCloud or VPS.net. Hosting what you hope to become popular videos on one server is almost guaranteed to fail or run up serious bandwidth charges or both. On Wed, Jan 5, 2011 at 11:38 AM, JTSM wrote: > ... my thought is the m