Your gravatar: it’s not just for web pages any more!

December 27, 2007 | Posted by Demitrious Kelly

Simon Menke wrote a Mac OSX 10.5 plugin for the address book which brings gravatars off the web site and into your contacts. Simon intuitively grasped something that we were planning on highlighting after doing some more work with the gravatar site and processes: gravatars are something that can be used almost anywhere. Sure the most common place you’ll see them now is on blog comments, but the sky truly is the limit. Way to go Simon!

address_book.jpg

Peak Performance

December 25, 2007 | Posted by Matt

Every year the folks at 24 Ways do an advent calendar of web awesomeness, with great articles that basically cover the state of the art for developing on the web in that year.

I was delighted to see in their final article this year called Performance on a Shoe String they mention Gravatar:

You’ll have noticed the pattern by now – get rid of as much traffic as possible. When an article has a lot of comments and each of those comments has an avatar along with it, a great many requests are needed to fetch each of those images. In 2006 we started using Gravatar for avatars, but their servers were slow and were holding up page loads. To get around this we started caching the images on our server, but along with that came the burden of furnishing all the image requests.

Earlier this year Gravatar changed hands and is now run by the same team behind WordPress.com. Those guys clearly know what they’re doing when it comes to high performance, so this year we went back to serving avatars directly from them.

If your site uses avatars, it really makes sense to use a service like Gravatar where your users probably already have an account, and where the image requests are going to be dealt with for you.

W00t!

How to Vote in 2008

December 23, 2007 | Posted by Matt

Those of you eligible to vote in the United States, or employees of the Diebold corporation, have the opportunity to have a profound effect on the future of our country in the upcoming Presidential elections. As many of you know, I’m not going to be able to run until the year 2020 when I’m 36. In the meantime, we need to vote for other people but like tomato sauce in the supermarket there’s just too many choices — chunky? Italian? Clinton?

Fortunately one candidate has made an important change to their platform that should make your decision much easier. I’ll let the words speak for themselves:

3. Gravatar (Your Image): Have you noticed the unique and distinguished images that show up for some Rangers?  Well we have integrated a free service known as a globally recognized avatar (learn more at: http://site.gravatar.com/).  By simply creating your free Gravatar and placing any image or logo you want, you can then go to the dashboard and edit your profile, there’s an option to put the email you used to create your Gravatar.  Make your mark on MikeHuckabee.com today!

Read more about it here.

Just in time for Iowa you can now make your mark on Mike Huckabee, who now receives the Official Gravatar Endorsement for President of the United States™, at least until another candidate makes their stance on Gravatars known.

On Pavatars

December 23, 2007 | Posted by Matt

Like 112 people pointed me to Pavatar… okay not really, but I got a Google alert about it. Since “Pavatar – like Gravatar, but better!” got 2 votes on Digg, I feel a need to defend Gravatar’s honor. (What little it has.)

  1. The homepage says “Many of you noticed that the Gravatar.com service is offline quite a lot.” Heeeelloo-ooo! That is so 2007. Gravatar is now super-reliable.
  2. The chance of your page slowing down is much higher. Imagine you have 20 comments with Pavatars on a page, instead of using one service that might be up or down, your page is now calling 20 different domains, each of which could have a problem and be down. The browser also has to resolve up to 20 different domains. (Unless you implement caching.)
  3. Pavatar uses your own bandwidth, Gravatar uses ours.
  4. It’s fixed width, 80×80, where Gravatar allows any size up to 80×80. (And way bigger in the future! Or smaller. Did you know you can request a 1×1 Gravatar? Beat that! Actually 3×3 is my favorite.)
  5. There are no ratings.
  6. On the client side you need to support 3 different methods of autodiscovery.
  7. Pavatar allows animated GIFs. The horror!
  8. If I want to move a Pavatar to a different URL on my server, I break any place that has cached the old path. It’s not clear if or how ofter clients are supposed to re-autodiscover Pavatars, or if they hold on to it forever.
  9. If you implement the caching part of the spec you’re storing other people’s arbitrary images on your server.
  10. There’s no WordPress plugin on the directory.
  11. Finally, if you’re going to go the distributed route, do it right! Everything you need is in hCard, no need to invent new rel values. (I say this as a rel value inventor.)

On the bright side, Pavatar has a real spec that looks like a real spec. We have md5(). Point: Pavatar.

P.S. There’s no reason Gravatar couldn’t auto-discover hCards, or Pavatars, on Flickr avatars, etc. That way you could have a single API to whatever type of avatar someone is using.

Mantis Bug Tracker

December 20, 2007 | Posted by Matt

The Mantis bug tracker now has built-in support for Gravatars. Sweet!

Features that were previously ‘paid only’ are now free for all!

October 18, 2007 | Posted by Demitrious Kelly

As of 1:03 (ish) PM PST we’ve unlocked the ability for all accounts to have multiple e-mail addresses and more than 2 uploaded avatars to choose from. We hope you’ll enjoy using these features as much as we enjoy bringing them to you.

We’ll be gathering a list of everyone who upgraded in the last 60 days and will send them by a refund via Paypal early next week.

–Demitrious

Automattic Acquires Gravatar

October 18, 2007 | Posted by Matt

The best ideas are often the simplest. (At least in hindsight.) The idea of globally-recognized avatar, or Gravatar, struck me from the first time I heard it. Of course I should be able to have my avatar wherever I go! Of course email is a great way to key it! Of course there should be an open API for any platform!

Watching how Gravatar changed and evolved over the years I saw a service with great adoption and potential, but facing some classic problems of scale that successful sites are often lucky to run into. Scaling happens to be something my company, Automattic, is very good at, and as we started chatting with Tom Werner of Gravatar it became obvious there’s a lot of potential for combined forces, and I also saw a lot of parallels to Akismet, a product that does one thing, does it well, and has an open API so any platform can use it.So we worked out an arrangement to transfer the code and service from Tom to Automattic, and here we are. Here’s what we’ve done so far over the past few days:

  • We transferred the Rails application and most of the avatar serving to our WordPress.com infrastructure and servers.
  • Avatar serving is now more than three times as fast, and works every time.
  • We moved this blog from Mephisto to WordPress. )

Basically, we did the bare minimum required to stabilize and accelerate the Gravatar service, focusing a lot on making the gravatars highly available and fast. However our plans are much bigger than that. Here’s some of the things we’re looking to add and improve on the service:

  • We’re going to make all of the Premium features free, and refund anyone who bought them in the last 60 days.
  • Move the gravatar serving to a Content Delivery Network so not only will they be fast, it’ll be low latency and not slow down a page load.
  • Take the million or so avatars we have on WordPress.com and make them available through the Gravatar API, to compliment the 115k already here.
  • From Gravatar, integrate them into all WordPress.com templates and bring features like multiple avatars over.
  • From WordPress.com, bring the bigger sizes (128px) over and make that available for any Gravatar. Currently Gravatars are only available up to 80px.
  • Allow Gravatar profile pages with Microformat support for things like XFN rel="me" and hCard.
  • Develop a new API that has cleaner URLs and allows Gravatars to be addressed by things like URL in addition to (or instead of) email addresses.
  • Rewrite the application itself (site.gravatar.com) to fit directly into our WordPress.com grid, for internet-scale performance and reliability.

Of course like with all our products, the majority of development is going to be driven by you, so if you have any great ideas be sure to leave them in the comments so we can work them into our roadmap.

Thanks again to Tom Werner for creating such an awesome service and the Automattic team for getting it moved over so quickly.

Updated Croppr & Stats

June 11, 2007 | Posted by Tom Werner

I’ve just deployed an improved cropper (thanks to Chris Van Pelt for his work on that!) that has been tested on the following browsers:

* IE6 & IE7 (Windows)
* Firefox 2 (Windows and Mac)
* Opera 9 (Windows and Mac)
* Safari 2 (Mac)

This should fix the few little bugs that the old version had. If you see anything weird, be sure to let me know.

A Few Stats

Since the launch of Gravatar 2.0 there have been just over 32,000 new signups! That’s a rate of over 7,000 new members per month. A huge thanks to everyone who’s helped make gravatar the popular service that it is!

Gravatar Properly Syncing Again

March 02, 2007 | Posted by Tom Werner

I want to apologize for the spotty gravatar syncing that has been occurring over the last two weeks. I’ve finally identified and fixed the bug that was causing the problem and your gravatar selections should propagate correctly now. I will go back and re-sync everyone just to make sure all the failed syncs get done.

The way Gravatar 2.0 deals with serving gravatar images is a multi-step process. When you assign a gravatar to an email address, the system takes your image, creates 80 scaled images from that (from 1×1 to 80×80) and puts them into a directory structure that will allow the gravatar serving lighttpd servers to serve them directly as files. Once the directory structure is created, it is tarred and gzipped to create a single compressed file that represents the images for a specific email address (based on the sha1 of the address). This file is then uploaded to Amazon S3 for distribution to the gravatar serving servers (of which there are 2). In addition, a message is placed on a queue for each server (via Amazon SQS). This completes step 1. On each gravatar serving server there is a process that pops messages off its queue, downloads the stated file from S3, and extracts it into the correct location. It is then available for serving to the internet. This completes step 2.

The problem was that the library I am using to interface with S3 (AWS/S3 in Ruby) had a bit of a quirk that seemed like it should have worked, but didn’t. For the benefit of others, I present the problem code and the solution.

The original, offending code:

AWS::S3::Base.establish_connection!(
:access_key_id     => '***********************',
:secret_access_key => '**************************************'
)

bucket = AWS::S3::Bucket.find('gravatar')
archive = bucket[sha1 + ".tar.gz"]

This code connects to the S3 service, gets the ‘gravatar’ bucket, then grabs the file from it. Simple enough, but misleading. When you get the bucket, only the first 1000 items within it are returned (a byproduct of the Amazon S3 API). Then, when you try to grab your file from the bucket, the file will be returned only if the item was within those 1000 items. This explains why Gravatar worked fine at first, then degraded to where fewer and fewer successful syncs where happening. It’s a devious bug to detect, and the documentation was not forthcoming on why this might be happening.

If you know that the object you’re interested in is in S3 but it can’t be found during a lookup, you’ll want to fetch the item directly, thereby eliminating the problem of a maximum of 1000 returned items. In retrospect, this is obviously the more desirable way to do things.

Here is the fixed code:

AWS::S3::Base.establish_connection!(
:access_key_id     => '***********************',
:secret_access_key => '**************************************'
)

archive = AWS::S3::S3Object.find(sha1 + ".tar.gz", 'gravatar')

So, if your gravatar has not been appearing properly, you can reassign it to your email address and it will propogate now. As I said before, I will push the entire contents of S3 onto the queues to make sure everyone is up to date.

I’m very sorry this problem took so long to fix, and I understand your frustration. I hope you will once again be happily gravataring!

Tom

Welcome to Gravatar 2.0!

February 16, 2007 | Posted by Tom Werner

I’m pleased to announce the release of the all new gravatar.com 2.0! It’s the same great Gravatar you’ve come to know and love, now with more features and better scalability.

As always, you can sign up for free and get:
– One email address per account
– Two gravatars per account (and an easy way to switch between them)

Or upgrade to Gravatar Premium and get:
– Unlimited emails per account
– Unlimited gravatars per account (makes switching between them easy!)

Gravatar 2.0 allows you to upload any size image which you can then crop to your liking with the built in cropper, making it easy to get your images just the way you want them. In addition to uploading from disk, you can now choose an image off the internet, making it simple to use photos from Flickr or your favorite website.

While every gravatar will still have a rating, it will now be up to you to make that judgement call. Putting this power in your hands means no more long waits to see your image online, and makes possible our upcoming API that will allow you to manage your gravatars from external applications!

With G2 comes a brand new, highly scalable server architecture that will enable Gravatar to grow. The new architecture is backwards compatible with existing plugins, but introduces a new, simpler URL format for requesting gravatars. This new format will become the basis for an updated set of plugins that will be forthcoming. These new plugins will begin to leverage some of the exciting online identity enhancements that are already in the works.

This release is just the beginning of a big change in how users interact on the web. Keep an eye on this weblog for news about upcoming features and plugins.

Welcome to Your Identity—Online.

« Newer PostsOlder Posts » an    joint