• On MovieTome: Concept art of Iron Man's super-villain!

Webware

Read all 'Web' posts in Webware
November 25, 2009 3:09 PM PST

ComScore: Online video scores another big month

by Don Reisinger
  • 3 comments

ComScore on Wednesday released October viewing statistics for online video. And although there weren't any surprises at the top, the figures did provide some interesting insight into how users are consuming video on the Web.

According to the research firm, more than 167 million U.S.-based Web users watched video online during October. All told, they watched 28 billion videos. Google easily led the pack, servicing a whopping 38 percent of all videos Americans viewed online, with 99 percent of those videos watched on YouTube.

In a distant second, Hulu delivered 856 million videos, accounting for 3.1 percent of the market and setting a new record for monthly views. Microsoft came in third, with 451 million videos viewed on its site, capturing 1.6 percent market share.

ComScore also took a look at the total number of viewers that consumed video content during October. The research firm found that the average viewer watched 167 videos during the month. Google sites attracted 126 million unique viewers. Fox Interactive Media followed Google, with 53 million unique viewers. Yahoo sites attracted 50 million viewers. Although Hulu didn't make the top three in unique viewers, the average user watched 20.1 videos on the site during October, representing another all-time high for the site.

Some interesting tidbits rounded out ComScore's report. According to the company, 84.4 percent of all United States.-based Web users viewed online video. The average viewer watched 10.8 hours of video in October, which is especially shocking, considering that the average online video was just 3.9 minutes long.

Originally posted at Digital Media

Don Reisinger is a technology columnist who has written about everything from HDTVs to computers to Flowbee Haircut Systems. Don is a member of the CNET Blog Network, and posts at The Digital Home. He is not an employee of CNET. Disclosure.

November 25, 2009 11:18 AM PST

Why to embrace Firefox 3.6's new-tab ethos

by Stephen Shankland

Sometimes it's the little things that count.

The most prominent feature of Firefox 3.6 is Personas, which let you reskin the browser with thousands of different looks. But my single favorite change is a subtler change to the open-source browser's user interface.

CNET News Poll

Tab behavior in Firefox 3.6
New tabs now appear immediately to the right of the active tab, not at the far end of the list of tabs. What do you think?

Problem solved!
A step backward
Why do I need this?
Nice start. What's next?



View results

Specifically, when you open a link in a new tab, it appears immediately to the right of the active tab. Before, the new tabs would appear to the far right of the strip of tabs.

Yup, that's it. For those of us who spend hours a day in a browser, though, the new tab behavior helps group related tasks together. I constantly shuffle among dozens of tabs, and the new approach automatically brings some organization to my cluttered life.

However, I know it's not everybody's favorite browser behavior. So along with explaining why I like it, I'll also take some potshots and share instructions on how to get the old way back.

Why it's better
The more things I do with a browser--and the number has increased steadily for years now--the more important it becomes to be able to find different tasks amid the chaos. Microsoft and Apple understand this, as evidenced by the new taskbar features in Windows 7 and dock expose in Mac OS X 10.6, aka Snow Leopard. Those features make it easier to pluck out the one window you need from among the many you may have open.

There's a pattern to how I spawn the dozens of tabs I use as a day progresses. On a variety of pages--Gmail, Google Reader, Yahoo Finance, somebody's blog post--I'll encounter a host of links to other pages. I'll middle-click my mouse button to open interesting pages as background tabs, then use Ctrl-Tab to switch to the new pages when I'm ready. I repeat this pattern many times a day.

With the old behavior, each tab appeared to the far right of the tab strip. That's fine when getting started, but when I've moved halfway across the list and want to open another batch, I want the new ones--call them children--to open next to their parent tab. When I go away and come back, or when I lose place juggling tasks, it's easier to find my bearings again.

It's like being in a library. When you're in the European history section, you don't want to find books on rewiring your house and on vegetarian cooking.

As a longtime Firefox user, I didn't realize tab positioning could be better. When I started using Google's Chrome, which introduced the new tab behavior to me, the scales were lifted from my eyes. I immediately could get to the next tab with a quick press of Ctrl-Tab on the keyboard rather than have to use the mouse to click over to the far end of the list. I use both browsers daily, but until the Firefox 3.6 beta arrived, the new-tab position had become a sore point for me when in Firefox.

The change is actually a big deal in a couple ways. First, even seemingly minor changes in software can be disruptive. Old habits die hard, and computer users wrestling with constant change can get angry when more is foisted upon them.

Second, though, browsers are assuming an ever greater role in what people do in their personal and professional lives, and keeping one's bearings is commensurately important. That's especially true for those people for whom a gaggle of browser tabs represents a collection of chores going on in parallel.

Internet Explorer 8 categorizes related tabs by color.

Internet Explorer 8 categorizes related tabs by color.

(Credit: Screenshot by Stephen Shankland/CNET)

How the competition handles it
Tabs are now universal among browsers, but new-tab behavior isn't. Firefox and Chrome handle it the way I like best, but how do others tackle the issue?

First, let's look at Internet Explorer 8. Microsoft showed it understands some of the challenges of tab management in its latest version of its browser by coloring child tabs the same hue as their parents, but I have a gripe with how it works. Specifically, although child tabs get the same color as their parents for easy grouping and arrive to the right, grandchild tabs are the same color as child tabs. Similarly, grandchild tabs appear to the far right of the whole group of child tabs.

In my mind, I consider grandchild tabs a separate group from the child tabs. But with IE, grandchildren get the same color and position treatment as children. The only way to get a new color is to start a fresh empty tab There's no easy way to give grandchildren a new color without causing some confusion, though--should the child be the same color as the original parent or change color to be grouped with the grandchildren?

Next is Opera, which gives users a choice. By default, it opens new tabs to the far right, which I don't like, but in the Advanced|Tabs section of the preferences dialog box, you can check "Open new tab next to active." Huzzah!

There's a subtle change here I don't care for, though. Tabs always appear immediately to the right of the active tab. I'd rather have all one tab's children appear in sequence to the right. For example, if a parent tab is in position 1, then the first child would be in position 2, the second in position 3, and the third in position 4. Opening three child tabs in Opera leaves the parent in position 1, the third child in position 2, the second child in position 3, and the first child in position 4.

Last, there's Safari. It does it the old way I loathe with no option to change. Too bad.

Firefox can show thumbnail previews of new tabs, but I find them hard to recognize in front of busy Web pages.

Firefox can show thumbnail previews of new tabs, but I find them hard to recognize in front of busy Web pages.

(Credit: Screenshot by Stephen Shankland/CNET)

Why it's not enough
Most browser makers are excited about the fact that their software is subsuming more and more computing tasks that previously ran on computer operating systems. But as browsers inherit this central importance, they also inherit some of the hassles.

The new tab positioning behavior in Firefox is a step in the right direction, but there's more that needs to be done. Moving from one tab to a related adjacent one, whether through a keyboard command or mouse clicking, is a minor change. But things get harder when you need to switch from one group of tabs to the next.

There's work under way here. Opera is perhaps the leader with the ability to show thumbnails as you use Ctrl-Tab to cycle your list of open tabs.

Firefox has been noodling with the approach too. It tried then dropped tab thumbnail previews earlier, but the technology is still present. Using the about:config system for tweaking the browser (more on this later), you can change the "browser.ctrlTab.previews" setting to "true."

But for reasons that aren't clear to me, I don't find this effective either in Firefox or Opera. Perhaps I haven't used it enough, or the thumbnails are too small to be immediately recognizable, or they're just hard to see against the noisy background. There's a good reason that Apple dims the background most of the way to black when using Expose.

Aero Peek in Windows 7 lets the task bar show a glimpse of Firefox and IE tabs.

Aero Peek in Windows 7 lets the task bar show a glimpse of Firefox and IE tabs.

(Credit: Screenshot by Seth Rosenblatt/CNET)

Windows itself is helping, too. The new taskbar in Windows 7 can show individual tabs, once browsers support the feature. It's in Internet Explorer 8, and it's in the new Firefox 3.6 beta.

Add-ons such as Firefox Showcase can further tweak Firefox. (Indeed, for a wealth of options, check Mashable's handy Firefox tab management guide.)

More interesting to me, though, is work under way to expand Firefox's "awesome bar" abilities. Today, typing in it opens Web pages and retrieves ones you've already visited or bookmarked. In the future, it could be able to move you to another open tab, too. I'm a keyboard guy, so particularly appreciate this idea.

You can get a taste of the idea now. If you've enabled the "browser.ctrlTab.previews" option, hitting Ctrl-Shift-Tab will not only show you thumbnail previews, but will put a cursor in a search box.

Typing the letters of the Web page name will winnow down the thumbnails. For example, typing "netap" will cull my open tabs so only Net Applications and NetApp show. If you have a bunch of similar tabs all open, this might not help much, of course.

However, the feature only works with the tabs of one browser window, so if you can't use it to search among other browser instances.

How to get the old way back
Perhaps I've convinced you that the new approach is better. But perhaps not--in which case I encourage you to share your thoughts in the comments so people will hear more than my opinion.

For those who don't like the new tab positions, you can revert to the old method.

To get the old style back for new tab position, use Firefox's about:config system.

(Credit: Screenshot by Stephen Shankland/CNET)

First type "about:config" in the Firefox address bar. You'll get a warning that you're tinkering with Firefox's innards and you should be careful, but this isn't brain surgery, so don't be frightened. Click the "I'll be careful, I promise" button, and you'll see a big list of all the browser settings that can be tweaked.

Next, in the text box labeled "Filter:", type "tabs.insertRelatedAfterCurrent"; you should see just one entry below. In the column marked "Value," double-click on the word "true" to change it to "false." You're done.

But I'd encourage you to at least give the new way a try. If you don't like it, you can always change back.

Originally posted at Deep Tech
November 25, 2009 9:00 AM PST

Five tips for safe Web shopping

by Dennis O'Reilly
  • 1 comment

Web shoppers are a suspicious lot. That's the conclusion of a recent poll conducted by Zogby International and funded by Symantec and the National Cyber Security Alliance. The survey found that 63 percent of online shoppers abandoned a purchase due to security concerns.

Among the reasons given for failing to complete the transaction were sites that asked for too much information, uncertainty about how their personal data would be used by the site, and lack of faith in the site's security. These are all valid concerns.

CNET News reporter Greg Sandoval describes recent Congressional hearings on bogus online loyalty programs that sucker Web shoppers into offers that are loaded with fine print. Sandoval's follow-up report indicates that few of the big-name sites profiting from these programs intend to end their relationships with the companies being scrutinized.

Even if you've been making Web purchases for years, it pays to review the top five tips for avoiding unpleasant online-shopping surprises.

Know who you're dealing with
You can get an indication of a site's trustworthiness by using a site-rating browser add-on such as the Web of Trust, LinkExtend, and McAfee SiteAdvisor. I described these and other security add-ons for Firefox in a post on Nov. 17, but these and similar site-rating services are available for Internet Explorer and other browsers as well.

The BBB Online's shopping tips suggest that if you're not sure about completing a Web purchase, look for a toll-free phone number you can call to place your order. Just remember not to volunteer more information than necessary, whether you make your purchase via a Web form or telephone.

Know exactly what you're getting—and when and how you're getting it
Document as many specs as possible about the products you're purchasing, including model numbers, dimensions, item numbers, and guarantees of authenticity. Know beforehand all delivery and handling charges, warranties, and return/refund policies. Get the tracking number of the delivery service the vendor will use.

In my experience, the ability of Amazon and other reputable Web sites to deliver products when they promise goes down as the heart of holiday shopping season approaches. To avoid Christmas morning disappointments, shop very early or stick to brick and mortar for your most important purchases.

Watch for prechecked or disguised 'offers'
Just as you can find your browser sporting a new toolbar if you rush through an update of your media player or PDF reader, being in a hurry when you make a Web purchase can cause you to "sign up" for unwanted offers. Technologizer blogger Harry McCracken found himself an inadvertent enrollee in the SavingsAce affinity program run by Vertrue, which is one of the companies under investigation by Congress.

Maintain a complete paper trail
Print out all transaction records, invoices, order-confirmation e-mails, warranties, return and refund policies, and anything else that documents the transaction. The BBB Online recommends printing Web pages showing the vendor's name, physical address, and telephone number. Also print pages with information about the product you're purchasing and the seller's privacy policy and legal terms.

Watch for unexpected charges after the fact
Some of the most unpleasant surprises may not manifest themselves until you receive your next credit-card statement. Be ready to challenge any unauthorized fees or other added charges. Watch out for mystery charges from third-party vendors such as Harry's experience with SavingsAce.

If you're unable to work out any problems with the vendor, the BBB Online recommends using the Better Business Bureau's complaint form, the Federal Trade Commission's Bureau of Consumer Protection complaint form, or the equivalent complaint form on the site of your state's attorney general.

Unfortunately, when I went this route with the faulty notebook computer HP sold me, I got nowhere fast. Still, you might have better luck with your complaints than I had with mine.

Originally posted at Workers' Edge
Dennis O'Reilly has covered PCs and other technologies in print and online since 1985. Along with more than a decade as editor for Ziff-Davis's Computer Select, Dennis edited PC World's award-winning Here's How section for more than seven years. He is a member of the CNET blog Network, and is not an employee of CNET.
November 24, 2009 7:38 AM PST

New standard lets browsers get a grip on files

by Stephen Shankland

The World Wide Web Consortium has published a draft of an interface that browsers can use to manipulate files better, one of a series of steps aimed at gradually improving the sophistication and polish of Web site interfaces.

The draft File API (application programming interface) defines a number of ways that browsers and Web sites can handle files better. One big part of it: being able to select multiple files for upload, such as on photo-sharing sites or Web-based e-mail, a task that often relies on Adobe Systems' Flash today.

But there are other aspects, too. For example, the Files interface governs the use of "blobs," or packages of raw binary data such as video files. Google has touted blobs for its Gears browser plug-in as a way to divide large videos into small chunks so that uploads can be more easily resumed if a network problem interrupts the process.

Another benefit: files are handled asynchronously, which means the browser won't freeze up while a file is being uploaded or otherwise handled, and the browser reports progress on file transfers.

The technology is one example of work to transform the Web into a better foundation for interactive applications, a move that usurps some power from computer operating systems such as Windows and that's embodied most boldly in Google's Chrome OS project.

Here's one example of use of the Files interface provided by Mike Smith, who works for the W3C on matters relating to HTML--Hypertext Markup Language, the language used to describe Web pages:

A user uses a Web-based application for reading and sending e-mail. She wants to attach multiple files to particular messages. The Web application provides an user interface that allows her to select multiple files to attach at the same time. After she selects the files, they are uploaded to the Web application asynchronously, allowing the user to perform other actions while they are uploading (for example, finishing the rest of the message she was composing before you added the file attachments). As the attachments are uploaded, the Web applications shows progress bars to indicate how much of the contents of the files have uploaded thus far.

The interface can work in conjunction with various standards including the drag-and-drop support in the HTML 5 now under development and the Web Workers technology that lets browsers better perform multiple operations simultaneously.

The interface also can help Web applications process the contents of files. For example, Smith describes a lyrics finder:

A user has on her local file system a playlist file from her favorite desktop music player. The playlist contains a list of song titles and information, and she wants to be able to easily fetch the lyrics for particular songs without needing to manually search for the lyrics on the Web. So a site can provide a Web-based application that allows her to upload her playlist. The Web application then parses the file and then presents a user interface to her, show in the contents of the file as a hyperlinked, sortable list. She can then retrieve the lyrics for any given song just by clicking on a particular song title.

Arun Ranganathan, Mozilla's standards evangelist and chairman of the WebGL working group, wrote the specification, according to Chris Blizzard, Mozilla's director of developer relations.

Standards for the Web are advancing rapidly with W3C representatives including Microsoft working in conjunction with a parallel effort, WHATWG. New standards require actual implementation in browsers before they are accepted as finished, a fact that can lead to some chaos but that helps ensure the new ideas are tested in the real world.

Firefox 3.6, in beta testing now, will support most of the Files API, according to Blizzard.

Originally posted at Deep Tech
November 18, 2009 3:02 PM PST

With IE 9, Microsoft fights back in browser wars

by Stephen Shankland

With Internet Explorer 9, Microsoft showed Wednesday it's trying to retake the browser initiative.

IE remains the Net's dominant browser. But perversely, it became something of a technology underdog after Microsoft vanquished Netscape in the browser wars of the 1990s and scaled back its browser effort.

That left an opportunity for rivals to blossom--most notably Firefox, which now is used by a quarter of Web surfers, but also Apple's Safari, which now runs on Windows as well as Mac OS X, and Google's Chrome, which aims to make the Web faster and a better foundation for applications.

Microsoft has been pouring resources back into the IE effort, though, and at its Professional Developers Conference in Los Angeles, some fruits of that labor were on display. In particular, Windows unit president Steven Sinofsky showed off IE 9's new hardware-accelerated text and graphics.

The acceleration feature takes advantage of hitherto untapped computing power in a way that's more useful than other browser-boosting technology--Google's Native Client to directly employ PC's processor and Mozilla's WebGL for accelerated 3D graphics, for example--according to Dean Hachamovitch, general manager of Internet Explorer.

"This is a direct improvement to everybody's usage of the Web on a daily basis," Hachamovitch said in an interview after Sinofsky's speech. "Web developers are doing what they did before, only now they can tap directly into a PC's graphics hardware to make their text work better and graphics work better."

... Read more
Originally posted at Deep Tech
November 13, 2009 12:40 PM PST

Dolly Parton endorses IE 8 Web Slices

by Don Reisinger
  • 29 comments

Here's a topic I never thought I'd write about: Dolly Parton, the famed country singer, has endorsed Internet Explorer 8 and its Web Slices feature on YouTube.

During a minute-long video, Parton says she "wouldn't know a gigabyte from a snake bite. But the folks over at Microsoft sure know their computers." She goes on to say Microsoft checked out her "new" Web site and "turned us on to a little thing they call Web Slices."

According to a Microsoft representative, the software giant showed Parton's Web team "the new features in IE 8 and Silverlight, and they liked it so much, they wanted to implement it on their site."

Parton's site now features a three-tab Web Slice that includes her video diary, news on her career, and the option to buy some of her music. The Microsoft representative said in an e-mail that the software company "wasn't involved in the production or scripting" of Parton's Internet Explorer 8 endorsement.

Web Slices, which is available only in IE 8, enables users to keep up with sites they check often, such as ones for Web mail or weather reports. According to Microsoft, "if a Web Slice is available on a page, a green Web Slices icon will appear in the Command Bar." Users can simply click on that icon to subscribe to that page's Web Slice. Once complete, that Web Slice will be displayed in the user's Favorites Bar to make it easier to keep track of those sites the user often visits.

But the very fact that Parton (a portion of whose site is now available as a Web Slice, by the way), would endorse Internet Explorer 8 is a bit surprising. As she points out in the video, she "didn't even know there [were IE versions] 1 through 7."

Regardless, Parton seems to have found her stride. After all, like the singer says, maybe Internet Explorer 8 really is "just like your own little slice of heaven."

Originally posted at The Digital Home

Don Reisinger is a technology columnist who has written about everything from HDTVs to computers to Flowbee Haircut Systems. Don is a member of the CNET Blog Network, and posts at The Digital Home. He is not an employee of CNET. Disclosure.

November 5, 2009 10:30 AM PST

Google offers JavaScript programming tools

by Stephen Shankland
  • 7 comments

With a project called Closure Tools, Google plans on Thursday to start helping developers who aspire to match the company's proficiency in creating Web sites and Web applications.

Google is a strong proponent of using JavaScript to write Web-based programs, part of its Web-centric ethos. Indeed, the company has pushed the language to its limits with services such as Gmail and Google Docs, and it developed its Chrome browser in part to enable JavaScript programs to run faster.

But writing, debugging, and optimizing heavy-duty JavaScript can be difficult--in part because a given JavaScript program sometimes works differently on different browsers. Google's open-source Closure Tools project is an attempt to help with some of these challenges.

The first in the suite of tools is the Closure Compiler, a software package designed to boil down a JavaScript program so it's smaller and runs faster. For example, a function named DisplayAddress() could be replaced with just a().

Along with the compiler come some extra tools that run in the Firefox browser. One, Closure Inspector, is an extension for Firefox's Firebug add-on designed to help programmers understand and debug the rewritten JavaScript--linking a() back to DisplayAddress(), for example. Another add-on for the Google Page Speed extension lets programmers see how much the compiler helped.

Google also plans to make the compiler available as a Web application hosted on its Google App Engine service.

The second element is called the Closure Library, a collection of prebuilt JavaScript code that lets programmers handle relatively sophisticated technology--arrays and string manipulation, for example.

Last are Closure Templates, more prewritten code to ease creation of JavaScript and HTML user interfaces.

In an earlier era, programming tools were expensive packages bought by a select few, but open-source software, new marketing strategies, and new business methods have made that approach the exception rather than the rule these days. Now programming tools are often a means to another end--encouraging programmers to produce the software that will make Windows or the Palm Pre useful and therefore popular, for example.

In Google's case, the objective is often to make the Web more popular because it sees more activity on the Web as corresponding directly with more activity on its revenue-generating search site. Among the high-profile projects to this end are Chrome, Chrome OS, and Android, all subsidized by Google's powerful search-advertising business.

One interesting contrast to Closure is another Google project called Google Web Toolkit. It's designed to accomplish some of the same goals as Closure, including paving over browser incompatibilities and producing high-performance JavaScript. But with GWT, coders write programs in Java that gets translated into JavaScript.

So one last question: why the name?

Google's reply: "Being a functional language, the concept of a function closure is fundamental to the JavaScript language."

Originally posted at Deep Tech
November 5, 2009 9:23 AM PST

Study: Internet use won't cause social isolation

by Don Reisinger
  • 6 comments

Although technology and the Internet have taken a beating in the past for potentially limiting people's social interaction, a new study from the Pew Research Center has found that the opposite might be true.

According to a Pew Internet Personal Networks and Community survey, which polled 2,512 adults, the dawn of new technology and the Internet has not caused people to withdraw from society. In fact, the study found that "the extent of social isolation has hardly changed since 1985, contrary to concerns that the prevalence of severe isolation has tripled since then." Pew said that 6 percent of the entire U.S. adult population currently has "no one with whom they can discuss important matters or who they consider to be 'especially significant' in their life."

That said, Pew did find that Americans' "discussion networks"--a measure of people's "most important social ties"--have shrunk "by about a third since 1985" from three people to two. However, Pew found no evidence to suggest that it had anything to do with mobile phones or the Internet. In fact, the organization's study found that mobile-phone use and active Web participation yields "larger and more diverse core discussion networks."

Social media is also helping people expand their social interaction. According to Pew, those who use the Internet frequently "are much more likely to confide in someone who is of another race." Users who share photos online are more likely to discuss political topics with someone of a different party, the organization found.

Do you know your neighbor?
Frequent Web users are more likely to communicate with neighbors in person than those who don't use the Web as often, Pew found. In fact, 61 percent of respondents said that they talk to a neighbor at least once per month. The study also found that bloggers are 72 percent "more likely to belong to a local voluntary association" than those who don't blog.

Perhaps most important, Pew found that just because someone is a heavy Web user, that doesn't mean they remove themselves from traditional social activities like visiting a restaurant or hanging out at a bar on a Friday night. According to the study, Web users are "45 percent more likely to visit a cafe, 52 percent more likely to visit a library, 34 percent more likely to visit a fast-food restaurant, 69 percent more likely to visit other restaurants, and 42 percent more likely to visit a public park." Later on, the study reported that social-networking users "are 40 percent more likely to visit a bar, but 36 percent less likely to visit a religious institution."

So, next time your grandmother tells you that the Web is ruining the world, you might want to tell her to check out Pew's study. For more on these figures and many more, click here.

Originally posted at Digital Media

Don Reisinger is a technology columnist who has written about everything from HDTVs to computers to Flowbee Haircut Systems. Don is a member of the CNET Blog Network, and posts at The Digital Home. He is not an employee of CNET. Disclosure.

November 2, 2009 3:22 PM PST

Slow Web site? Yahoo open-sources an app for that

by Stephen Shankland
  • 1 comment

Betting that the benefits of the move will outweigh the risks, Yahoo has released the source code underlying in-house software called Traffic Server that can speed up Web site operations.

The software works by moving some data and operations closer on the Internet to the people trying using those services. Yahoo released it as an "incubator" project under the auspices of the Apache Software Foundation, a seasoned organization for managing open-source projects and also the site that houses the Hadoop open-source project Yahoo favors for large-scale data-processing challenges.

Shelton Shugar, Yahoo's senior vice president of cloud computing, plans to announce the move at the Cloud Computing Expo in Santa Clara, Calif., on Tuesday in a keynote speech, but the software actually arrived at Apache last week.

Shelton Shugar, Yahoo's senior vice president of cloud computing

Shelton Shugar, Yahoo's senior vice president of cloud computing

(Credit: Screenshot by Stephen Shankland/CNET)

"We've donated Traffic Server to Apache because we think it's a great piece of code, and we want to build a community around that in the same manner we built a community out of Hadoop," Shugar said in an interview.

Traffic Server is a battle-hardened package with more than 200,000 lines of C++ code. Yahoo originally got the software through its acquisition of Inktomi earlier this decade, and it's been using it ever since. Today, the software delivers 30 billion Web objects and 400 terabytes of data each day.

And Yahoo can rightly be proud of Traffic Server's performance: that comes from a surprisingly small number of Yahoo servers--between 100 and 150, said Chuck Neerdaels, vice president of data services at Yahoo. The software is set up particularly to run multiple tasks at the same time, a design well-suited to today's servers with multicore, multithreaded processors.

Source code is what humans write in a higher-level programming language; only after it's been translated into binary machine code can a computer actually run that program. When associated with an open-source project, this software is available for anyone to see, modify, and distribute, in contrast to the locked-down world of proprietary software such as Microsoft Windows. So in effect, Yahoo is allowing others not only to use Traffic Server for their own ends, but also to modify it--for example, by taking advantage of its ability at to accept plug-ins that can adapt it for different tasks.

Giving away the farm?
So isn't there a risk that Yahoo is giving away some pretty important technology that's central to its business? Plenty of start-ups today are trying to grow to Yahoo's scale, and many of them are competitors.

Some Yahoo rival might very well gain as a result, but on balance, the company thinks that it'll come out ahead. For one thing, Traffic Server in isolation is not as powerful as Traffic Server woven into Yahoo's computing fabric, the company argues.

"What we're giving up is a generic building block. What makes it really interesting at Yahoo is how we've connected it with other things to make a bigger service," Neerdaels said. As for Yahoo's major rivals: "We suspect our larger competitors already have some solution they're happy with."

Yahoo expects a number of benefits from broader development and use of Traffic Server.

"We think a lot of folks can benefit from this, and by raising the tide, we think we can benefit as well," Shugar said.

For one thing, making Traffic Server open-source software will mean that people will grow familiar in its use, making it easier for Yahoo to hire engineers who already are up to speed.

"By virtue of basing services on open-source software, we attract people who want to work on open source. They like it, and they like the idea of it. It's a skill they can take with them from one place to another," Shugar added.

For another, Yahoo can benefit from others adapting the software to a broader range of uses, he said.

Gaining influence among developers
There are intangible benefits, as well, when it comes to recognition among programmers, whose influence in some ways makes them the digital elite. Microsoft long ago learned that much of its power comes from developer allies, and Google is trying to put that lesson to good use as well by releasing many open-source projects--Google Chrome being one recent example.

Yahoo isn't in the business of selling technology to others in the manner of Amazon Web Services, Microsoft Azure, or Google App Engine. But having solid technology is essential to Yahoo. While it's willing to sell its search business and engineering skills to Microsoft, it still needs in-house expertise to power its many Web properties and to reduce its operating costs.

Here, Traffic Server is important. For example, one area where Yahoo uses Traffic Server was at Yahoo Sports for handling scores. A regular Web server sends out the Web page to a person's browser, but Traffic Server handles the JavaScript technology that periodically refreshes the contents of a scoreboard element on that page.

It's only a "trickle" of data, but at Yahoo's scale, that can be some pretty heavy work. "When they moved to using the Traffic Server front end, they shaved something like 200 machines off their back end because session management was more efficient," Neerdaels said.

Another part of Yahoo operations retrofitted with the software is Yahoo Mail, he said. Traffic Server can be used to process the cookie text files on a person's browser to figure out whether that person can be logged in automatically or the person needs to authenticate anew. It also can route traffic appropriately when, for example, a person who is "homed" to Yahoo's servers in India visits the site while in the United States.

Traffic Server also manages a lot of more nuts-and-bolts tasks. For example, it can cache Web data closer to browsers so the original Web servers that house the data aren't as overtaxed. And it can store a Web address stored in the Domain Name System to speed up network speeds.

What's it good for?
Some of these chores can be handled by existing software, such as Squid, which is already open source. But Yahoo is on a roll with its open-source work, as the company seeks to advance its internal cloud-computing infrastructure. Expect more to come.

"As various pieces of our cloud get to a point of maturity, we will open-source specific pieces," Shugar said. Future candidates include Yahoo's foundation for hosting its Web applications on a virtualized, more flexible foundation, and its Sherpa and Mobstor services for storing data.

Winning open-source allies can be difficult, and Neerdaels said it takes an engineer a good six months to fully comprehend all Traffic Server's code, so immediate gains beyond fostering goodwill are unlikely.

But in the long run, Yahoo's program could pay significant dividends. Building a series of significant open-source packages could lead to a Yahoo infrastructure that's high-power but more standard than custom-made.

It's not every day that large, significant software packages arrive on the Net in open-source form--much less a series of them that are increasingly relevant to a competitive market of large-scale Web sites.

In this case, Yahoo's gift may indeed become Yahoo's gain.

Originally posted at Deep Tech
October 30, 2009 7:15 AM PDT

Why iStockphoto embraced Google's Gears

by Stephen Shankland
  • 17 comments
iStockphoto's Kelly Thompson

iStockphoto's Kelly Thompson

(Credit: Stephen Shankland/CNET)

Google's Gears technology may not have caught on widely in the world of Web programming, but operators of the iStockphoto photo sales site have become believers.

Among other things, Gears enables browsers to store data on a local computer, which most notably means that Web applications can be adapted to work even while offline. But for iStockphoto's purposes, it primarily means better performance for people using the site and secondarily lower operating costs for the Getty Images photo sales subsidiary.

"We're not requiring anyone to install Google Gears," the company said on an explanatory Web site. "If you do install Google Gears, though, iStock will work much faster."

Google launched the open-source Gears software in 2007, but so far, the sites that use it--among them Gmail, Google Reader, WordPress, and MySpace--are the exception rather than the rule.

Speed and money
The main motivation for the change was getting a faster site, which benefits iStockphoto's financial results, said Kelly Thompson, iStockphoto's chief operating officer.

"It was 95 percent performance and end-user experience, but let's face it: if I can get more pictures pumped out faster, with more searches, we sell more," Thompson said. "Cutting down a page load time for a user is more valuable to me than the money I'll save on bandwidth."

The company adopted Gears with no prompting from Google, he added. "We did this on our own," with Web programmers jumping on the project because "it's sexy for them to work on it."

iStockphoto activated its Gears support September 30, Thompson said. In the first 16 days of use, Gears saved the company from paying for the transfer of 132GB of data over the network and lightened its Web servers by 8.7 million communication requests--and that's with only 19,000 Gears-installed users, a "tiny portion of our traffic," he said. Those without Gears benefit, too, since iStock's Web servers are unburdened somewhat by those who do use it.

The technology works by locally storing various Web page ingredients--photo thumbnails, JavaScript program code, Cascading Style Sheet formatting files, for example. Older files are flushed periodically so the users' hard drives don't get too cluttered.

"It's a pretty basic implementation right now: the second time a user sees any image or requests a JavaScript file, it loads instantly," Thompson said. One of his developers described it as "the opposite of a drug dealer: the first hit isn't free, (but) every subsequent hit is."

Google is trying to propagate Gears, which is available as a browser plug-in. In a more aggressive move, it built Gears into its Chrome browser. And in the longer term, the HTML5 standard under development reproduces the local storage abilities of Gears, a move that stands to spread the technology more widely.

HTML5 good, IE 6 bad
Thompson is a fan of another HTML5 technology: built-in video. iStock licenses video content, as well as photos and other content, and currently streams it with Adobe Systems' Flash technology.

"We'd love to be able to ditch Flash on the video side, but it's probably a ways out," Thompson said, citing widespread use of Internet Explorer.

IE is widely loathed among Web developers for its slow performance and lack of standards compliance, and even Microsoft wishes that people would upgrade from IE 6, but it's still the single most widely used browser out there, even though Microsoft released it in 2001, just before Windows XP arrived. Microsoft released IE 7 in 2006, and it tried to improve standards compliance and security with the release of IE 8 this March.

People are gradually shifting away from IE 6, but not fast enough for Thompson's taste--or plans.

"We announced we'd drop official support for IE 6 in 2010 back at the beginning of the year. I'm not sure we're going to be able to it: the percentage of users is dropping--just not quite fast enough," he said.

From August 2009 to September 2009, Internet Explorer lost a bit of usage share, compared to rival browsers.

From August (top) to September (below), Internet Explorer lost a bit of usage share, compared with rival browsers.

(Credit: Net Applications)

According to Net Applications statistics, IE 6 is used by 24.4 percent of people on the Web today, followed by IE 7, IE 8, Firefox 3.5, and Firefox 3, in descending order of popularity. Overall, IE has 65.7 percent share of usage.

iStockphoto has more early adopters in its population and therefore different browser preferences. The top five browsers on the site are Firefox, with 37.8 percent; IE, with 34.4 percent; Apple's Safari, with 22.3 percent; Google's Chrome, with 3.4 percent; and Opera, with 1.7 percent.

Among iStockphoto's IE traffic, the majority of people use version 7, but the tide is turning.

"We've seen an almost 2 percent migration of (IE) 6 to 8 in the last 60 days alone. We're hoping Windows 7 will push it even more quickly," Thompson said. "For us, even though it's a shrinking percentage, it still represents over 1 million visits per month, so I can't cut them off at the knees."

"I think we're dominated by geeks, designers, and small businesses, all who move more quickly than the enterprise--not to mention we're 35 percent Mac, with the iPhone about to overtake Linux for third place" among operating systems, Thompson said.

Originally posted at Deep Tech
advertisement
Click Here

About Webware

Say No to boxed software! The future of applications is online delivery and access. Software is passé. Webware is the new way to get things done.

Add this feed to your online news reader

Webware topics

The browser battles go on and on

roundup From Firefox to IE and from Chrome to Opera and Safari, there's no sitting still for browser makers looking to keep their products fresh and competitive.

3G wireless still holds promise

The next generation of 4G wireless may get all the headlines, but advanced 3G technology will likely dominate services for the next few years.

Most Discussed

Inside CNET News

Scroll Left Scroll Right