Saturday, January 01, 2005

Virtual lights display ... and a happy New Year.

On my main webpage I posted an update pointing to Alek Komar's Interactive Christmas lights. This is where you can go to his site and turn on and off the lights. Well it turns out it wasn't exactly real! Alek does actually put up the ligths but you can't turn them on and off via the internet (but it is possible). Since the media (news papers and TV) interviewed him thinking it was real they're pretty upset with him. Most people who visited his site are not. I would think those that do a lot of Christmas lighting (like the folks over at Planet Christmas and the HA folks would be a little upset (the Planet Christmas folks are, I know I'm not really upset). I'm afraid that a lot of folks won't put a lot of faith in future displays Alek may have. Which is too bad because his solution is more interesting than the actual display.

I spoke with Alek on some of the issues of trying to handle a real interactive display and getting Slash-dotted (inundated with thousands of URL requests all at one time). First, since he's using X10 he can process no more than 1 on/off command per second. This is a technical limitation of X10's protocol. Since he's not going to be able to handle more than one request a second continuous live video is probably not really useful. BTW, the bandwidth needs of live video (640x480 @ 15 fps) is almost 578K Bps Multiple this by thousands of requests per second (Slashdot generated about 156 requests/minute average and Fark generated 200 requests/minute average at their worst) and you have a severe case of bandwidth drought.

So the question is: Is it possible to do a live, streaming video, interactive Christmas lights display from one's home with DSL, Cable or Wireless internet access? At this time I think not. So how about no streaming video? Well that makes things a bit easier but you'll still run out of bandwidth if you get hit with a Slash-dotting. All of this requires a lot of powerful hardware, software to cache the information being sent from the display site to the request server (at an ISP where they have lots of bandwidth) and some very clever programing. In the end you're going to end up with a solution very similar to what Alek did with his technical solution. And to be honest I like Alek's solution! It's a very elegant solution to a very complex problem.

6 Comments:

At 1/13/2005 8:16 PM, Blogger Phil said...

You might get a few more comments if you allowed anonymous comments.

Secondly, the 578 KB/s figure that you give seems to be for a 1-bit/pixel (i.e. black & white, on/off only), uncompressed format. Both assumptions are probably invalid.

--

Phil

 
At 2/04/2005 9:32 AM, Blogger Neil Cherry said...

Phil, sorry for the delay in response. Been busy with mid-terms ...

I'll check into the anonymous comments. I'm not really up on blogging yet. And you are absolutely correct about my number they are way off. I found a bandwidth calculator that suggest that a continuous feed (30 fps) would eat up between 192 - 100Kbps (some - good compression). So my bandwidth calcs are way off.

This kind of video app would probably be best suited to multicasting. That way one stream, multiple receivers.

 
At 2/05/2005 9:04 PM, Anonymous Anonymous said...

Too bad multicast is not really available in either the internet infrastructure nor in common browser implementations (if it is even available in any browsers). Of course, it it were, the most common use would be for p??n.

--

Phil

 
At 5/02/2005 6:18 PM, Anonymous Anonymous said...

any news since Jan-2005
Hopefully, your school is Ok and you will come with something in May-June.

thanks!
sergio

 
At 5/03/2005 10:35 PM, Blogger Neil Cherry said...

Sergio, sorry about not post my blog. School went well, I think I aced the final. They didn't send my grades yet but I'll find out Thursday night as I have to go down to the school to change my curriculum (from EET to CS). It's a work funding issue, they won't fund a degree in EET but will fund a degree in CS.

I haven't written mainly because I've been a little busy with all sorts of stuff. Some stuff I can talk about but other stuff I can't talk about yet. Most of it is related to my HA blog.

 
At 5/22/2005 8:48 PM, Blogger Neil Cherry said...

It's now 3+ hours since I posted my BLOG entry to Blogspot via email. At least once a month I send an email to the help folks and nothing of use comes of it. I've been trying since February. If this keeps going I'm pulling up stake and moving the BLOG to somewhere where I can get support. I know this is free but what good is it if I can't get my material posted. I don't want to waste my time fighting witha system that doesn't work.

Sorry for the rant at least now you know why I haven't been posting.

 

Post a Comment

<< Home