Net Data Design, LLC Blog

Software and Database Development Blog

Browsing Posts in Technology

In the last installment of this series I covered the basic tools and theories behind delivering great streaming content to your audience without breaking the bank. Either out of pocket or in bandwidth, so lets talk about Bit Rate Throttling to begin with.

Imagine this – a client connects to your server, clicks on your featured video, watches 5 seconds of it to realize they have no interest in watching further, and move on to the next video.

In those 5 seconds, the server could have sent out 5 minutes worth of the video, and you paid for 5 minutes worth of bandwidth! With the Bit Rate Throtter + media bitrate detection, the server would only end up sending a little over 5 seconds worth, and you would end up paying only for what was used.

Bit Rate Throttling (BRT) is a module plug-in for IIS 7 0r IIS 7.5. It’s an extension of the IIS Media Service. The IIS7 Bit Rate Throttling module was first announced at the National Association of Broadcasters (NAB) show last April as part of the TCO advantage for Silverlight.  Enabling Web masters to throttle the delivery of any file based on the file type. It also has additional functions for digital audio/video files. Throttling can be set at the following levels within Internet Information Services (IIS) Manager: server, site, virtual directory, and file.

BRT contains the following features:

  • Fast Start – the ability to send the first part of the media file without rate limiting, to seed the playback buffer in the player and make sure that playback can begin as soon as possible (most players try to pre-buffer a certain amount of the video, often 5 seconds, before starting playback). This also insures that if the connection suffers a hiccup, the playback can continue uninterrupted.
  • Disconnect detection - when the client stops watching the video, goes to another page, or closes the video, the BRT detects the connection closure and stops sending the file.
  • Built-in support for detecting the playback rate for common media formats, including .asf, .avi, .flv, .m4v, .mov, .mp3, .mp4, .rm, .rmvb, .wma, and .wmv.
  • Ability to configure static throttling rates, and media auto-detection rates at any configuration level.

It should also be noted you can configure the BRT module to handle static files as well, such as a large [progressive] .jpg file. So, if you feel you need to trim the bandwidth, Bit Rate Throttling module is a great place to start.

In the next segment I’ll focus on the Smooth Streaming IIS 7+ features and capabilities.

VN:F [1.8.4_1055]
Rating: 0.0/10 (0 votes cast)
VN:F [1.8.4_1055]
Rating: 0 (from 0 votes)
  • Share/Bookmark

At first glance Silverlight seems like just another platform for creating interactive website, desktop and mobile applications. Much like Adobe’s Flash or AIR. but there is a lot more to it. As I’ve mentioned before, I’m all about giving my clients a product that suites them best even though it may be outside of my “comfort zone.”

I have a client (to be named later) that had a need to deliver high-quality videos without breaking the budget. By budget I mean in terms of bandwidth, encoding, and preparation. We also host this clients website which was recently moved to a new server running Windows 2008 R2, with IIS 7.5. So in looking for a solution I came upon Silverlight, which is a natural fit with IIS 7.5’s  Media Services and Smooth Streaming.

To make this scenario work, you’ll need Microsoft’s Expression Web 3 or Microsoft’s Expression Studio 3. The Expression Encoder 3 is bundled with those packages with sell from (estimated) $150 to $500 dollars. Both packages offer a wide array of tools that will help in your video encoding as well as many other tasks such as website development and desktop applications.

With Expression Web 3 alone, you be able to code in PHP, HTML/XHTML, CSS, JavaScript, ASP.NET, ASP.NET AJAX, all using standards-based code (yes, I checked), however Expression Encoder is the key. It’s not only easy to navigate and use, but allows you to drop in QuickTime, AVI, MPEG, and other formats into the encoder, and utilize the latest quality and speed improvements to the VC-1 or H.264 codecs, choose a Silverlight template (or make your own), and publish directly to a web server using Expression Encoder Publishing Plug-in. It should be noted that the video can also be published locally and viewed.

Smooth Streaming is the production version of a technology first used by Microsoft to deliver on-demand video of the 2008 Summer Olympics for NBCOlympics.com. By dynamically monitoring both local bandwidth and video rendering performance, Smooth Streaming optimizes playback of content by switching video quality in real-time.

Using Smooth Streaming, visitors with high bandwidth connections and modern computers can experience full HD quality streaming, while others with lower bandwidth or older computers receive the appropriate stream for their capabilities. The result is visitors across the board enjoy a compelling, uninterrupted streaming experience, which ultimately lead to extended visitor stays and increased revenue opportunities.

In my next installment of this topic, I’ll cover the nuts and bolts of Bit Rate Throttling and Smooth Streaming.

VN:F [1.8.4_1055]
Rating: 0.0/10 (0 votes cast)
VN:F [1.8.4_1055]
Rating: 0 (from 0 votes)
  • Share/Bookmark

While there are some that say that a MySQL/InnoDB “monopoly” isn’t healthy in the long run. What is a bit puzzling is the Oracle acquisition of Innobase Oy (the makers of InnoDB) a few years ago. The question in regards to this acquisition is whether Oracle is serious about seeing MySQL grow and prosper, or was that a means to get a strangle-hold on a vital piece of MySQL?

To Oracle’s credit, they have published  a press release stating their commitments regarding their acquisition of MySQL by way of acquiring Sun. Personally, I’m not buying it.

For years Oracle worked, behind the scenes to discredit MySQL and tried hard to understand how their customers could ever consider using such an “immature” product instead of their lead product. In fact, it was so important to Oracle that they offered some very substantial discounts to customers who were using MySQL and Oracle. The good news is that this strategy didn’t work. MySQL had and has a staunch following that has always been a little leery of Oracle.

I’ve been a CTO at two locations that used Oracle and have found their practices to be cut-throat, sometimes bordering on ruthless. Is Oracle a serious threat to the open-source community? In my estimation, it certainly is, more than most of my colleagues, although a huge percentage of them would agree that this acquisition is not good for MySQL. Does Oracle participate in the open-source community? Sure, in a manner that supports themselves through commercial offerings. This is not the true spirit of open-source and leads to a slippery slope.

I’ve posted a poll on the right of this post, feel free to participate.

VN:F [1.8.4_1055]
Rating: 0.0/10 (0 votes cast)
VN:F [1.8.4_1055]
Rating: 0 (from 0 votes)
  • Share/Bookmark

We, as an SMB (small and medium business), have been using Amazon’s S3 for sometime now. We are a small software development company that specializes in web applications. We also host web applications and sites. The benefit of S3 is it gives us the ability to keep complete off-site back-ups as well as share certain files with outside contractors and clients.

This probably isn’t anything earth shattering to most, but it certainly beats our old system of taking back-up tapes and DVD off-site every night. That method had too many short-comings to say the least.

Recently, for one of our secure document storage web applications, we started incorporating a data provider that utilizes the S3 API. Setting a search provider for S3 proved to be a bit of a challenge, but so far it has worked out fairly well.

So lets get back to the topic at hand. For the SMB looking for a cost effective way to keep file storage organized and highly available, I’m hard pressed to come up with another viable solution. If you’re the owner of a SMB or work for one, what options have you explored? What method of [off-site] back-up are you using? I’d really like to hear from you…

VN:F [1.8.4_1055]
Rating: 5.0/10 (1 vote cast)
VN:F [1.8.4_1055]
Rating: 0 (from 0 votes)
  • Share/Bookmark