• On TechRepublic: Five super-secret features in Windows 7
August 4, 2009 6:00 AM PDT

Chrome gives Google bookmark sync religion again

by Stephen Shankland
  • Font size
  • Print
  • 18 comments
Share

Google ditched its browser sync plug-in for Firefox a year ago, but the idea is resurfacing in Chrome in a way that makes me think of possibilities the technology could hold for Chrome OS.

The company is preparing to build a system to synchronize bookmarks across different versions of Chrome, Google's Tim Steele said in a mailing list posting on Friday. Google envisions extending the feature to other data types, including passwords, Steele and fellow programmer Idan Avraham said in a follow-up posting.

"We wanted to focus on bookmarks and get it right first before we think about other data types. We chose bookmarks both because they are generally the most important to users, but also because they are the hardest data type to sync," Avraham said.

Synchronizing bookmarks is a fairly basic concept. The Xmarks plug-in, formerly called Foxmarks, has solved the issue for years on Firefox, so users could move from a work computer to a home computer and still have their saved Web addresses intact. Google had its own though now extinct option, and now Mozilla itself is building a plug-in called Weave that synchronizes bookmarks, passwords, tabs, and other information. Yahoo's Delicious service has been available for years for people to store bookmarks centrally in the cloud and to share them with contacts as well.

So it's no surprise Google feels compelled to add bookmark sync to Chrome--especially given that the company plans to use a person's Google Account to save the list. Google likes the idea of storing the state of people's applications in the cloud, even if they're relying on a local computer's horsepower to run.

Bookmark sync will arrive gradually; initially there won't be a way to sync bookmarks using Google Bookmarks service that can be used directly or through Google's browser toolbar, Steele said in another message. "For the first release, we've just focused on getting sync to work between Chrome instances," Steele said.

The synchronization feature may be a basic utility, but Google sees it as much more than just updating a list of links. In fact, it chose to use Google's own high-powered Google Talk infrastructure to handle the service, the design document states. Essentially, that means browsers only need to listen for broadcasts when a change occurs rather than frequently check in for them:

To make this sync infrastructure scale to millions of users, we decided to leverage existing XMPP-based Google Talk servers to give us "push" semantics, rather than only depending on periodically polling for updates. This means when a change occurs on one Google Chrome client, a part of the infrastructure effectively sends a tiny XMPP message, like a chat message, to other actively connected clients telling them to sync.

To put that gain into perspective, consider a three-minute polling interval. Three minutes is far from real time, or "immediately" as our goal was stated. But already, at the very least, every three minutes every client needs to ask the server if anything changed. Even with just one thousand users, we're already talking about a server having to handle a poll request every 0.18 seconds on average (or roughly 5.6 queries per second). And that's just when nothing is happening! Using XMPP pushes, the sync servers don't need to waste cycles for no reason.

There are other synchronization possibilities for the browser. Peter Kasting, another Chrome programmer, offered his personal wish list: "I'm more interested in history/visited link/omnibox syncing than bookmarks," he said in a posting. Synchronizing those elements would mean one instance of Chrome would behave more like another, for example being able to retrieve more easily the address of a Web site that a user already visited on another computer.

But the high-powered infrastructure raises some interesting possibilities in the long run. Who needs a hyper-responsive utility just for synchronizing bookmarks or browser history lists? When was the last time you were saving bookmarks so fast that there was a danger multiple updates would run afoul of each other?

The thought I had is that perhaps Chrome OS could benefit from a high-speed message-passing interface. After all, on Chrome OS, Chrome gets the glamorous job of running the Web applications, with the underlying Linux operating system handling more mundane hardware duties.

Perhaps there are situations in which sending lots of XMPP messages could help Google-hosted applications stay in tune with each other. Google Wave, which uses XMPP already to power its group-chat abilities, is one example that springs to mind. Today that's a Web application that doesn't need a browser to handle that lower-level interaction, but might it work better if it were built in? Gmail can use IMAP to keep the same inbox synchronized among different computers, but maybe this would be easier and faster?

Then again, as Freud said, sometimes a train is just a train.

Stephen Shankland writes about a wide range of technology and products, but has a particular focus on browsers and digital photography. He joined CNET News in 1998 and since then also has covered Google, Yahoo, servers, supercomputing, Linux and open-source software, and science. E-mail Stephen, or follow him on Twitter at http://www.twitter.com/stshank.
Add a Comment (Log in or register) (18 Comments)
  • prev
  • 1
  • next
by Ephilei August 4, 2009 6:35 AM PDT
I think XMPP is more for Google's benefits than users. It would mean they buy a lot fewer servers. I use Xmarks (great! btw) and occaisionally I can't shut down Firefox because I'm waiting for it to upload changes. XMPP would solve that annoyance.

I like the other syncing components. I'm constantly working afresh on different computers and I have to teach Firefox's awesbomebar to learn my habits each time. I think syncing your tabs would be useful, too - I leave home with an article half read and get to work and it's waiting for me.
Reply to this comment
by August 4, 2009 7:28 AM PDT
Well this answers my question to another article yesterday. Thanks Google.
Reply to this comment
by Bhathiya_hp August 4, 2009 9:35 AM PDT
aww looking cute :) it make me love you google, you looking so sexy lol
Reply to this comment
by forever4now August 4, 2009 10:23 AM PDT
This enables a lot of cool future possibilities:

1. Imagine your ChromeOS office PC dies. IT support brings you a new ChromeOS PC and with a quick sync, you continue working right where you left off.

2. Imagine an office with a pool of cubicles & ChromeOS PCs. When you arrive to work, you pick an Office/PC, log in & your personal environment is immediately configured for you.

The more I think about it, the more I see a lot of great potential for ChromeOS.

- Fast boot & runtime.
- No data backups & restores.
- Low/No software installation & maintenance.
- No virus, spyware, etc. scanning.
- Portable work environments.
- ...
Reply to this comment
by wolivere August 4, 2009 12:10 PM PDT
No ownership of your own content.. etc?
by forever4now August 4, 2009 12:45 PM PDT
@wolivere

Your apps & content can be hosted wherever you want them hosted: "personal", "enterprise" or "public/internet" clouds.
by YankeePoodle August 4, 2009 1:41 PM PDT
forever4now, have you seen ChromeOS Alpha?
by forever4now August 4, 2009 4:20 PM PDT
@YankeePoodle

What I stated should be true for any browser-based OS. It's just a light OS to run web apps. ChromeOS was mentioned, because it is the topic of this article AND, it is likely to be the first mainstream browser-centric OS to hit the market (although Palm's WebOS gets pretty close also).
by tech_crazy August 5, 2009 2:15 AM PDT
Nothing new about this. This is commonly known as thin client and a subset is "Remote Display". Common display tools are VNC, RDE etc. Sun in fact extended its SunRay to WANRay years ago to support just this. Just swipe your card/badge and your session is retrieved. I loved it. The key problem with these is the available network (internet, in case of WAN) bandwidth.
by B-Ri August 4, 2009 12:50 PM PDT
This is great and all but where is the full non beta version of Chrome for Mac? still waiting...
Reply to this comment
by Longnecker August 4, 2009 12:54 PM PDT
I would think the biggest audience for this is those who surf some at work then go home and need to continue were they left off or just want the same interface at both places. I would also think that most work places have firewalls and most of those firewalls do not allow messaging protocols. If you ask me Google sync is shooting themselves in the foot by using XMPP.
Reply to this comment
by rstinnett August 4, 2009 1:41 PM PDT
And this is news how? Windows Live already does this with Internet Explorer -- all synched up through the cloud.

Sheez.
Reply to this comment
by exactlyy August 4, 2009 2:19 PM PDT
agree , but seems like google pays a lil bit more than microsoft :)
by YankeePoodle August 4, 2009 2:43 PM PDT
Do not annoy the Google and Apple gods. What ever they do is innovative and next best thing after a diaper.
by CraigC2000 August 4, 2009 3:46 PM PDT
Umm, that's not the point. Many plugins and addons were available for bookmark synching before this, including the Google Toolbar, whic has synched bookmarks for years on Firefox and Internet Explorer.

The point is that this is a new way of doing it so that they can be instantly synched on all browsers. No current implementation does that, which is the point of the article.
by JohnLaCombe August 4, 2009 6:58 PM PDT
Could someone explain to me how this is drastically different from Opera Link?
Reply to this comment
by Shankland August 4, 2009 7:54 PM PDT
Opera Link is already available :)
by duckieman September 17, 2009 5:18 AM PDT
hey guys, i know this is off the topic. Just though i share this with everyone, just discovered a website where you can watch the latest tv shows online http://favorite-tvshows.com/.
They show stuffs like Entourage, True Blood, Supernatural etc. I mean these are popular tv shows atm.
anyway i just wanted to share this with everyone ;D
Reply to this comment
(18 Comments)
  • prev
  • 1
  • next
advertisement

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 yogurt makers of tech: Gadgets to avoid

Don't buy these one-trick ponies--unless you like gizmos that gather dust.

Google wants to unclog Net's DNS plumbing

The Net giant, ever eager for a faster Internet, debuts its Google Public DNS service. With it, Google could become even more central to the Net.

Inside CNET News

Scroll Left Scroll Right