News for hackers. Stuff that matters.
Re:3 years later, Facebook still can't delete photos correctly by tybris on Sunday February 05, 2012 @10:18PM (#3556051)
You generally don't delete files from a CDN. They just get evicted when they are the least recently used, which may never happen if the URL is still in circulation.

Facebook may have set near-infinite Expires/Cache-control headers on their static content, since it never gets overwritten. In that case, the CDN never goes back to the origin to check if the file is still there. The CDN they are using probably does have the ability to explicitly remove files (e.g., to respond to DMCA take-down notices), but probably doesn't have the ability to do this at Facebook picture deletion scale.

In other words, Facebook probably can't do much about it unless they get the CDN provider to make a big investment, build their own CDN, or switch to another provider that does support it (usually a costly decision).

Re:3 years later, Facebook still can't delete photos correctly by sern on Monday February 06, 2012 @03:12AM (#3556646)
No CDN caches content for that long, even if the origin tells them to. (Services like Akamai's NetStorage excluded, which Facebook most likely does not use.) It's quite obvious that Facebook is actually keeping the images on their origin servers long after they have been deleted.
Re:3 years later, Facebook still can't delete photos correctly by true_religion on Sunday February 05, 2012 @10:40PM (#3556093)
I have this same issue with my site, but in case anyone is looking for a solution---I have a tentative one: NetDNA (or MaxCDN if you're not looking at their enterprise options) has a XML-RPC API that lets you purge individual files. So you can delete something on your server, then push the purge to them.

So while things have been bad in the past--they're getting better. Having everyone try to use s3 as a CDN has really forced the industry to evolve.

Re:3 years later, Facebook still can't delete photos correctly by Karunamon on Sunday February 05, 2012 @10:45PM (#3556106)
Doesn't Facebook run their own CDN, though? (At least that's what the URL's would suggest).

And in the case of major CDN providers like Level 3, removing assets is dead simple. They provide an API for you to pass assets to expire immediately. Or barring that, having a person spend 5 seconds on the keyboard to log into the control panel and paste in the URL to kill.

It is possible - the author of the Ars article had his pictures erased after writing the article.

Re:3 years later, Facebook still can't delete photos correctly by SoftwareMaven on Monday February 06, 2012 @12:35AM (#3556330)
"""having a person spend 5 seconds on the keyboard to log into the control panel and paste in the URL to kill"""

Few people, even technologists, can grasp what it means to have 800 million users. Anything involving individuals just logging in is a non-starter.

Re:3 years later, Facebook still can't delete photos correctly by Karunamon on Monday February 06, 2012 @12:38AM (#3556337)
Not on a one off "Hey FB support, this image needs to be really really gone, make it happen." basis.

Even Google can provide that level of support.

Re:3 years later, Facebook still can't delete photos correctly by nostromo on Sunday February 05, 2012 @11:05PM (#3556148)
All of my Facebook photos are transparently hosted by Akamai. For example: https://fbcdn-sphotos-a.akamaihd.net/hphotos-ak-ash4/393462_...
Re:3 years later, Facebook still can't delete photos correctly by mcpherrinm on Sunday February 05, 2012 @11:05PM (#3556149)
The hostnames point to a CDN somewhere -- a few tests indicate at least Akamai.
Re:3 years later, Facebook still can't delete photos correctly by Bud on Monday February 06, 2012 @12:24AM (#3556312)
In other words, they are now valued at $100 billion, but providing the most basic privacy functionality imaginable, after being given years to do so, is just too expensive?
Re:3 years later, Facebook still can't delete photos correctly by VolatileVoid on Monday February 06, 2012 @04:45AM (#3556828)
value != revenue (Not justifying the status quo -- just pointing out that a valuation does not imply liquid capital)
Re:3 years later, Facebook still can't delete photos correctly by shingen on Monday February 06, 2012 @08:56AM (#3557390)
While that's definitely true, Facebook is of course not lacking in free capital to throw at this problem.

They had $4 billion in cash before the IPO. They'll have $9 billion after it.