|  |
| --- |
| [![](<http://photos23.flickr.com/29305573_7c9bb5849e.jpg>)](<http://photos23.flickr.com/29305573_7c9bb5849e.jpg>)<br>Old URL:<br>photos23.flickr.com |
| [![](<http://static.flickr.com/23/29305573_7c9bb5849e.jpg>)](<http://static.flickr.com/23/29305573_7c9bb5849e.jpg>)<br>New URL:<br>static.flickr.com/23 |

Just this week I started getting problems with [Flickr](<http://www.flickr.com>) images that were embedded in my own sites. I got a “red cross” instead of a picture. When I checked the image URLs that I was using and the ones that Flickr currently uses, I saw they had changed, and the transition was not flawless (at that point).

Where each image used to reside on one of the [photosXX.flickr.com](<http://photos23.flickr.com/29305573_7c9bb5849e.jpg>) servers, they now have the URL [http://static.flickr.com/XX/…](<http://static.flickr.com/23/29305573_7c9bb5849e.jpg>) (with the same server id XX). Apparently in some cases, the image URLs were not automatically redirected to the new address, which caused the crosses. Some Flickr users were [complaining](<http://www.flickr.com/forums/bugs/11414>) [about](<http://www.flickr.com/forums/help/11410>) [the same problem](<http://www.flickr.com/forums/help/11452>) on the Flickr forums.

**While I am writing this, more and more URLs start working again, i.e. there is an automatic redirection to the correct URL.** But basically this 1 month old [explanation of the Flickr image URLs](<http://digitalphotography.weblogsinc.com/entry/1234000650052735/>) has to be updated:

> [http://photos{server-id}.flickr.com/{id}\_{secret}\_\[mstb\].jpg](<http://photos{server-id}.flickr.com/{id}_{secret}_[mstb].jpg>) becomes  
> **[http://static.flickr.com/{server-id}/{id}\_{secret}\_\[mstb\].jpg](<http://static.flickr.com/23/29305573_7c9bb5849e.jpg>)**

**FLICKR STORAGE HISTORY**  
In the early days of Flickr, the images were stored on separate servers: [photos1](<http://uptime.netcraft.com/up/graph?site=photos1.flickr.com>) was 69.90.111.71, [photos2](<http://uptime.netcraft.com/up/graph?site=photos2.flickr.com>) was 69.90.111.72, …, situated in [Vancouver, BC (Canada)](<http://www.dnsstuff.com/tools/city.ch?ip=69.90.111.72>): probably adding 1 storage server at a time while the gigabytes were pouring in. After the move to [Yahoo (Sunnyvale, CA)](<http://www.dnsstuff.com/tools/city.ch?ip=68.142.213.135>) in July of this year, all photoXX DNS names were changed to point to the same 68.142.213.135 IP address – or storage1.flickr.vip.mud.yahoo.com.

Today, instead of maintaining the 33 DNS entries, they opted for working with 1 domain name static.flickr.com and let the load balancing/cache distribution ([analyze.forret.com](<http://www.forret.com/projects/analyze/?url=http%3A%2F%2Fstatic.flickr.com%2F23%2F29305573_7c9bb5849e.jpg>) shows there is a “`X-Cache = HIT`” HTTP header that is a caching directive) decide from which server the image should be grabbed. You can actually get an idea by this little hack:

- [photos1](<http://static.flickr.com/1/>): “**storage3**.flickr.mud” shown on the ‘home’ page
- [photos2](<http://static.flickr.com/2/>): “**storage5**.flickr.mud”
- [photos3](<http://static.flickr.com/3/>): “**storage3**.flickr.mud”
- [photos4](<http://static.flickr.com/4/>): “**storage7**.flickr.mud”
- [photos5](<http://static.flickr.com/5/>): “**storage4**.flickr.mud”
- …

A total of 8 storage servers, I’m guessing.

Technorati: [flickr](<http://technorati.com/tag/flickr>) – [yahoo](<http://technorati.com/tag/yahoo>) – [storage](<http://technorati.com/tag/storage>) – [images](<http://technorati.com/tag/images>)
