From: John Joyce Date: 2007-10-02T08:42:09+09:00 Subject: Re: Ruby vs. PHP On Oct 1, 2007, at 4:27 PM, Lionel Bouton wrote: > Gaurang Khetan wrote: >> Hello experts, >> >> I thought this topic was quite related so posted in this same >> thread.. >> >> We are going to start a new website (serving videos > > Ruby speed is irrelevant. > >> but several database >> intensive features as well > > There too (unless these "intensive features" involve fetching high > number of rows and computing on them in Ruby). > >> ), and we think it will hopefully reach a >> stage where scalability is going to become important. >> >> Hence I wanted some idea abt speed.. >> > > You may want to compare RDBMs under your projected concurrent loads > and > storage solutions for serving video... > > Lionel > If you by "serving videos" you mean streaming videos, you'll want some specialized software, like Quicktime Streaming Server for Quicktime, other stuff for RealMedia, other stuff for WindowsMedia, other stuff for FlashVideo. You can still call it from whatever language, but you might want to think about serving video from the file system for speed. You could keep an index of it in a database, but serving video directly from a database might not be such a hot idea.