Cool: Google Releases Protocol Buffers Into the Wild

I love that Google just open-sourced Protocol Buffers. Think of Protocol Buffers as a very compact way of encoding data in a binary format. A programmer can write a simple description of a protocol or structured data and Google’s code will autogenerate a class in C++, Java, or Python to read, write, and parse the protocol. Given a protocol buffer, you can write it to disk, send it over the network wire, and do any number of interesting tricks. Any medium-sized company (and quite a few startups!) should find Protocol Buffers very handy.

You may want to read this paper about the Google cluster architecture if you haven’t already, because I’m going to remind you of two things about Google that are pretty obvious in retrospect. You can think of the Google cluster architecture as a bunch of moderately powerful personal computers connected by ethernet. That’s not quite correct, but it’s a pretty good abstraction. In that model, you have pretty good disk/RAM/computational throughput, but network communication is much more limited. That leads to the first nice thing about Protocol Buffers: they’re very compact going over-the-wire via network.

To understand the other nice thing about Protocol Buffers, bear in mind that in the Google cluster architecture, there are many different types of servers that talk to each other. Question: how do you upgrade servers when you need to pass new information between them? It’s a fool’s game to try to upgrade both servers at the same time. So you need a communication protocol that is not only backward compatible (a new server can speak the old protocol) but also forward compatible (an old server can speak the new protocol). Protocol Buffers provide that because new additions to the protocol can be ignored by the old server. That lets you upgrade different servers at different times (check out the “A bit of history” section in that overview). Protocol Buffers are especially appropriate to represent requests and replies between a client and a server.

(By the way, congrats also to the folks that worked to release this code outside of Google. Making open-source code available to the outside world is a great way to build goodwill with developers.)

There are over 10,000 .proto files in use at Google, and Protocol Buffers are a vital part of Google. If you’re a programmer, why not try Protocol Buffers out for yourself?

Comments (22)

The business case for goodwill

Carolyn Y. Johnson has a great article about companies that listen online today in the Boston Globe. She mentions that Comcast and Southwest monitor Twitter for frustrated users and Dell for improving its customer service as well as providing a site called IdeaStorm where people can provide feedback. Dell has implemented over 50 of the suggestions from the IdeaStorm site.

I’ve talked about listening online before, because I think everybody at Google should do it to some degree. Google is pretty good at hearing outside feedback, although there’s always more we could (and should!) do. Here’s what I said last time:

Some of the most dynamic teams at Google are the ones that listen to bloggers and respond. ....

My ideal would be if every Google project had someone watching the blogosphere for feedback. It could start as simply as a persistent search in Google News and Google Blogsearch for mentions of that product. That would help us spot if a particular project is causing headaches for someone. We should get the listening locked in first.

Both Google News and Google Blogsearch provide RSS feeds for search results, so you can search for your product name, turn it into a feed, then add that feed to Google Reader to see new mentions of your products. If you’re logged in, you can even customize Google News to create a “Google” section or only news about your favorite topic.

I wrote the quoted paragraph above in 2006. In 2008, you’d monitor more places. Monitor Twitter with Summize, which can provide a feed for a query. Monitor FriendFeed by adding “&format=atom” to the end of a search url (hat tip to lifestream blog for getting that info from Bret Taylor at FriendFeed).

By the way, it’s not just companies that benefit from feedback online either -- most organizations can get good suggestions. Ubuntu’s brainstorm feedback site just received its one millionth vote on an idea and has its own blog. You can even download the code for Ubuntu’s brainstorm project and use it yourself.

The fly in this ointment is how to make a business case for listening. What are the metrics that argue for having someone engage with a community, listen to feedback, and push for changes? Any smart person intuitively knows that good community relations are a solid idea, but how do you prove that? In a company of size X, how many people should pay attention to or be dedicated to community relations? I’d be interested if other people have thought about the business case for goodwill, or know of resources that discuss this.

Comments (41)

How to stop junk mail

I’ve been learning how to stop receiving junk mail, and I thought I’d share what I’ve learned.

Reducing Junk Mail

There are several services that will help you reduce your junk mail:

- GreenDimes offers a free basic service, but I decided to do their $20 one-time fee because it offered a few extra things I wanted. GreenDimes walks you through some easy steps that will reduce unsolicited mail, and also lets you decline catalogs. Each time you receive an unwanted catalog, you go to GreenDimes and type the name of the catalog in. GreenDimes takes care of removing you from that catalog’s mailing list. I’ve been quite happy with this service, especially since it’s a one-time fee.

- ProQuo is a free junk-mail reduction service. In the future, they intend to make money when consumers opt-in to request offers; ProQuo will make money from those advertisers. I tried this service today. It lets you stop many services with just a couple mouse clicks per service, but for about 50% of the marketers (maybe 10-15 of them) you have to print and send a letter or leave to an external website to complete a form. It’s still better than nothing though, because even if you’re lazy you can opt out of a lot of junk mail with just your mouse for free. Overall, the service is free, easy, and helps you opt out of a wide variety of lists.

- Catalog Choice is a site solely for opting out of catalogs. It doesn’t tackle things like credit card offers, PennySaver, or list brokers, but the site is clean with a really nice user interface. One of the founders, Daniel Katz, has been interviewed by Bill Moyers, so I trust that they’re a legit organization, even though their WHOIS information is private and there’s very little information about the group on their site. It sounds like three different environmental groups formed Catalog Choice as a non-profit. One piece of advice for Catalog Choice: please give a little more information about yourselves (e.g. history, founders, press) so that people can easily see that you’re legitimate.

- 41pounds.org charges $41 for five years of service. The name comes from the fact that they claim to block 41 pounds of junk mail per year for you. I haven’t tried this service.

Contacting services directly

- You can visit the webpage of the Direct Marketing Association (DMA) to opt-out online so that you don’t receive mail from companies that use DMA lists. The pretty url http://www.dmaconsumers.org/cgi/offmailinglist takes you to the url https://www.dmachoice.org/MPS/proto1.php where you want to select option #3 (”Remove your name from DMA Member Prospect Lists”). You will have to provide a valid credit card number, but your credit card will not be charged.

- You can opt out of ADVO online.

Other options

- While you’re at it, why not place yourself on the “Do not call” list at www.donotcall.gov to prevent most telemarketers from calling you? All you need to give is your phone number and an email address, and you will be permanently opted out. Read more about the do-not-call list if you’re interested.

All these actions won’t eliminate junk mail completely, but it will prevent a lot of the junk from showing up in your mailbox. These aren’t affiliate links, just stuff that I think people will find handy. Good luck!

Comments (51)

Protect yourself: get a free credit report

I wanted to write down 3-4 easy steps to protect yourself from identity theft and help you check your free annual credit reports.

Credit check options

- If you haven’t checked your credit in the last year, visit the official site that lets you get a free credit report from each of the three major credit bureaus. The site is annualcreditreport.com and you’ll have to be on the lookout for upsells like “Find out your credit score for $5.95″ or “Sign up for a credit monitoring service.” But this option is a safe and free way to get access to your credit report from Experian, TransUnion, and Equifax.

- Suppose you don’t want credit card companies sending you offers by snail mail. After all, a thief could steal the offer from your mailbox and use it to open a credit card in your name. Again, there’s a free, official service from the three major credit bureaus to stop getting “free credit cards” offer by postal mail. The site is www.optoutprescreen.com. You can opt-out online for five years, or print out and mail a piece of paper to do a permanent opt-out.

- If you had any type of open credit account between 1987 and May 28, 2008 (which is probably most adults in the United States), you can receive nine months of free credit monitoring. TransUnion, one of the big three credit unions, is settling a class action lawsuit and provides this monitoring for free if you sign up before September 24, 2008. The official site is www.listclassaction.com and you can choose from several options. I chose the nine month credit monitoring service.

If you think you might have been a victim of identity theft or are at higher risk for identity theft (e.g. someone stole a laptop that might have had personal information on it), you have a couple options. A fraud alert requests that before a new lender opens up an account, they take extra steps to verify your identity like calling you on the phone. It should be free if you call the credit bureaus, but it only lasts for 90 days, so you would need to renew the fraud alert every three months.

Meanwhile, a credit freeze is just what it sounds like. It freezes your credit record completely, so that identity thieves should not be able to open new credit accounts in your name. A credit freeze costs $10 per credit bureau each time you want to freeze or un-freeze your credit record.

I used the first three websites earlier to get my free credit report, opt out of getting more credit card offers, and sign up to for a credit monitoring service. Again, all of these are free or official sites; I don’t get any money for recommending them. :)

Other options

If you’re feeling ambitious, you can also get a public records report on yourself to see what turns up. I believe you can get this report free once a year as well from ChoicePoint. You can get more information here but I believe the short answer is that you need to print, fill out, and mail this one-page form (PDF link). You need to include a photocopy of your driver’s license or other ID and a copy of a utility/phone/credit card bill -- see the instructions for the form (PDF link) for more info.

Do you know of other ways to protect yourself from identity theft or otherwise monitor your credit record or score?

Comments (23)

Suggest what webspam should work on next

Today is July 1st, which is a special day because it marks the beginning of the second half of the year. Just in the last day or so there have been a couple pieces of good news: better indexing of Flash, and we re-wrote our “What is an SEO?” guide to improve the tone, then asked for more suggestions on how to improve it.

July 1st is also a good time to sit down and ask the question “What do I want to accomplish during the rest of this year?” I’ve been talking to various people on my team about which projects to tackle next, and I wanted to ask for your feedback too.

In the comments, feel free to suggest projects that you think Google should work on next in webspam. I have a comment policy and I’ll reserve the right to prune comments that don’t contribute to the discussion. But if you have a constructive, polite suggestion then I’d be interested to hear it.

The one other thing I would ask is to please think about your suggestion before reading the other comments. If people read the other feedback first, the suggestions won’t be as independent.

Comments (141)

Next entries » · « Previous entries