Although the Kindle Fire tablet consumed much of the focus at Amazon.com's launch event today in New York, the company also showed off a bit of radical software technology as well, namely the new browser for the Fire, called Silk.
Silk is different from most other browsers in that it can be configured to let Amazon's cloud service do much of the work assembling complex Web pages. The result is that users may experience much faster load times for Web pages, compared to other mobile devices, according to the company. Opera's mobile browser does the same thing to reduce bandwidth usage, sending just the final rendered Web page to the browser.
[ While InfoWorld's Galen Gruman says that the Kindle Fire can't hold a candle to the iPad, Robert X. Cringely says the Amazon Store is the real iPad killer. |Keep up on key mobile developments and insights via Twitter and with the Mobile Edge blog and Mobilize newsletter. ]
Amazon CEO Jeff Bezos noted that most modern Web pages are complex creations, with multiple photos, animations, and complex scripts and mark-up code. The CNN home page, for instance, is built by the browser from 53 static images, 39 dynamic images, three Flash files, 30 JavaScript files from seven different domains, 29 HTML files, and seven CSS files. ... The modern Web has become a complicated place. It is difficult -- challenging -- for mobile devices to display modern Web pages rapidly."
Silk's split-browser approach
To speed page rendering on the Kindle Fire, Silk uses a "split browser" approach, Bezos said. "It partially lives in EC2, and it partially lives on Kindle Fire." All the user's Web page requests will be sent through a service in the Amazon EC2 (Elastic Compute Cloud) for processing. The service acts as a caching service, as well as a staging area where the more complex bits of Web pages can be preprocessed before being redirected to the user's browser.
Silk is also fully functional as a stand-alone browser, said Jon Jenkins, director of platform analysis at Amazon.com, at a demonstration booth after the event. It supports HTML5, JavaScript, CSS, and associated next-generation Web standards. It also supports Flash. Amazon built the software from the ground up using the WebKit open-source browser engine. That standa-alone nature is essential to be able to handle interactive websites that use technologies such as AJAX and Flash, where the user has to interact with the Web page components individually, not just look at a rendered whole.
All the user's requests are directed to the EC2 service, which then fetches the pages from the source and optimizes the content for the platform. Complex parts of JavaScript may be preprocessed and images may be downsized to a more manageable size. Many common but rarely updated elements of a popular Web page are served directly from the EC2 cache, such as the CNN.com logo. "EC2 knows that logo hasn't changed for months, so it doesn't wait until getting the HTML file back before pushing that logo back to you," Jenkins said.
The site's original content, as well as content personalized for each user, will be requested from the content provider.
The service uses content compression techniques, such as re-encoding video and images before sending them to a device. The service also keeps connections constantly open to popular websites, which reduces the time needed to negotiate connections on a one-to-one basis.






