News for hackers. Stuff that matters.
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by nickbarnwell on Monday April 09, 2012 @05:34PM (#3819359)
Positing that Facebook purchased Instagram for its architecture strikes me as odd. They (FB) have solved all of the problems that Instragram faces and more for a userbase roughly twenty times as large, and while the infrastructure is interesting for those at companies aspiring to Instagram's success, for your average systems engineer at Facebook or Google I would think it seems pedestrian in comparison
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by jack-r-abbit on Monday April 09, 2012 @05:42PM (#3819405)
I read that title as kind of tongue in cheek. I'm pretty sure Facebook could have built the exact same functionality for less money and in less time as it took to initiate and finalize the acquisition. Winning their users over may have been harder to do. I guess they just figured it would be easier to just buy the users. shrug
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by nostromo on Tuesday April 10, 2012 @12:20AM (#3820664)
I can't see this as a user acquisition play. The number of Instagram users that are already on Facebook must be, what, 90%? Maybe more?

So, it's obviously not for talent ($100mm per head? no way...), users, or tech. That leaves it as a competitive play. They took Instagram off the market to keep it out of the hands of Apple and Google.

Re:The Instagram Architecture Facebook Bought for a Cool Bil... by jack-r-abbit on Tuesday April 10, 2012 @09:37AM (#3822090)
But to keep what out of the hands of Apple and Google? Apple and Google don't need the talent or tech either. Instagram's only real value was users. Competitive play or not... it had to be for the users. What else is there? Break room snacks?
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by sakri on Tuesday April 10, 2012 @07:45AM (#3821719)
Whether it's acquisition or retaining, every user owns an expensive phone, the demographic advertisers lust for.
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by bigiain on Monday April 09, 2012 @09:21PM (#3820212)
Agreed. Also a pretty topical rebuttal to the other flood of articles claiming they were bought purely for the users - widely reported as being valued at $37 each, a number arrived at by assuming there's absolutely nothing else of value in the transaction.

Given the "prices" Google are rumored to be paying to acquire great engineering staff, a team of three engineers who've got a proven track record of building and supporting 100million users on their own - surely they'd be worth some not-down-in-the-noise-floor percentage of even the seemingly insane valuation here?

And a founding team who've "created" $1billion in value in ~550 days? Even if you only credit them with last weeks $500mil rumors - surely that founding team would be worth several tens of million dollars even if you didn't get the company they founded?

Re:The Instagram Architecture Facebook Bought for a Cool Bil... by prof_hobart on Tuesday April 10, 2012 @09:53AM (#3822151)
Paying $1B for a company partly because they've "created $1billion in value in ~550 days" is a bit of a tautological line of reasoning.
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by Retric on Monday April 09, 2012 @10:19PM (#3820357)
They also had ~50 million in the bank after a funding round that was so recent they could not have spent much of the money. Which means FB got a 5% discount on that billion dollar price tag and helps to make all those estimates just that much more reasonable.
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by ajslater on Tuesday April 10, 2012 @07:59PM (#3825152)
Didn't Sequoia make a big YouTube investment suspiciously immediately before acquisition?
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by watmough on Monday April 09, 2012 @11:27PM (#3820521)
This is one user that will be deleting this off of his phone.

Darn-it!

Re:The Instagram Architecture Facebook Bought for a Cool Bil... by ndcrandall on Monday April 09, 2012 @06:06PM (#3819486)
Facebook definitely had other motives for doing this. One such speculation is here http://news.ycombinator.com/item?id=3819245

Others have been for their user base while some say it's for a talent acquisition (which I highly doubt). The title doesn't seem to imply that's why they bought Instagram.

Re:The Instagram Architecture Facebook Bought for a Cool Bil... by bigiain on Monday April 09, 2012 @09:33PM (#3820250)
I've got other suspicions too…

I wonder what Instagram's privacy policy says about things like the exif data on all your photos? Almost certainly all geo-tagged. A bunch of data like "how often and how quickly individual users upgrade their iPhones".

Cynical-me wonders how much value FB placed on the non-FB social graph that Instagram built when it hoovered up everybodies contact list?

Re:The Instagram Architecture Facebook Bought for a Cool Bil... by ollerac on Monday April 09, 2012 @07:25PM (#3819816)
are companies only allowed to have one reason for their acquisitions? i assume the complexity of instagram's architecture would reflect the technical prowess of the team and this would be very important to facebook
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by maratd on Monday April 09, 2012 @07:45PM (#3819896)
The article mentions they have a team of 3 engineers. You don't pay that much cash for 3 dudes who managed to boot some instances on EC2 and install an off-the-shelf open source stack.
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by gbog on Monday April 09, 2012 @08:58PM (#3820144)
You are depreciating their work in a way that is not that of a real gentleman. Maybe you are also working on a startup and would like to make it to where Instagram guys are? Me too, you know.

And for their tech stack what its impressing is that they chose very wisely IMO: if I had to build from scratch any Web or mobile app I wouldn't do differently (Python n PostgreSQL, etc)

Re:The Instagram Architecture Facebook Bought for a Cool Bil... by GiraffeNecktie on Monday April 09, 2012 @09:06PM (#3820171)
He's being a bit flippant but his point is correct. You don't spend a billion dollars just to get three engineers, no matter how clever they are.
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by Danieru on Monday April 09, 2012 @10:50PM (#3820423)
I don't know... These ones were clever enough to get someone to pay a billion dollars for them.

That's pretty clever.

Re:The Instagram Architecture Facebook Bought for a Cool Bil... by ceejayoz on Monday April 09, 2012 @10:53PM (#3820433)
Did the pay for the three engineers, or the thirty million users?
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by maratd on Monday April 09, 2012 @09:44PM (#3820280)
> You are depreciating their work in a way that is not that of a real gentleman.

I do the same exact kind of work. So am I depreciating myself? I may be brilliant and handsome to boot, but I don't think I'm worth 333 million dollars. Which was my point.

Oh sure, I might be worth several mil. I'm that good. But that's still a tiny fraction of what Facebook paid. So no, it wasn't about the brains.

Re:The Instagram Architecture Facebook Bought for a Cool Bil... by bigiain on Monday April 09, 2012 @09:27PM (#3820234)
There are stories around of Google spending 5mil or more to acquire (or in some cases, keep) great engineers.

I wonder what the real "market value" for a proven team of 3 great engineers who were the technical base that allowed a company to grow from nothing to $1billion in under 2 years?

It wouldn't surprise me to find those three guys as a team offered 20 or more million if the right company thought they were on the market.

Lars Rasmussen made out like a bandit when he went to FB a few years back, and that was after the "failure" (at least relative to Instagram) of Wave, and before the current "bubble" as well.

Re:The Instagram Architecture Facebook Bought for a Cool Bil... by jack-r-abbit on Tuesday April 10, 2012 @09:45AM (#3822122)
IMO, getting bought for $1B is not really the same as "growing to $1B". They may have grown to a ton of users and may have raised some VC money. But that is not the same. Did they even have a revenue stream? People with insane amounts of money overpay for shiny new toys all the time. Have you ever seen MTV Cribs? lol
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by iusable on Tuesday April 10, 2012 @08:57AM (#3821936)
They have 13 employees of which 3 were heading web ops.
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by iusable on Monday April 09, 2012 @05:39PM (#3819384)
3 web ops engineers for 30+ (before android release) million users & 100+ EC2 instances = WOW!
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by blantonl on Monday April 09, 2012 @07:11PM (#3819769)
Amazon Web Services just got a huge shout-out today with this news. I self manage a large Web property that has 25+ AWS instances, plus some metal with ServerBeach and 1000TB.com. I also personally do all the development work on the site, as well as managing day-to-day operations and most support.

Yes, it is possible to run a multi-million dollar business by yourself with lots of servers, thanks to the cloud - in this case AWS.

Re:The Instagram Architecture Facebook Bought for a Cool Bil... by iusable on Tuesday April 10, 2012 @03:33AM (#3821188)
Holy Cow! www.radioreference.com is that big already? Props! 570k users and 3k feeds = that infra? Streaming must be a bitch.
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by zerostar07 on Tuesday April 10, 2012 @07:28AM (#3821678)
I love the instagram app and concept and execution, but I wonder why they even need 100+ EC2 instances (my guess is that almost all of them just serve photos). It appears instagram has little web traffic and it's not so heavily loaded with users 24/7 like facebook is.

http://siteanalytics.compete.com/instagram.com/

Re:The Instagram Architecture Facebook Bought for a Cool Bil... by iusable on Tuesday April 10, 2012 @08:56AM (#3821933)
What you are seeing there is only the visitor traffic metrics for the landing page and the URLs shared out. You aren't seeing the back-end API centric traffic from the app to the core servers.
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by zerostar07 on Tuesday April 10, 2012 @12:37PM (#3823028)
Twitter is in a similar situation, and according to compete data (inaccurate i know but vaguely indicative), twitter has more than 100 times more traffic, and they had ~70 servers in 2009 (http://www.quora.com/How-many-servers-does-Twitter-have). Just curious here.
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by iusable on Tuesday April 10, 2012 @02:29PM (#3823645)
I completely agree with your take on it; but pls note the entirely different problem Instagram solved vs. Twitter. If you build a real-time streaming application for pure text based objects, your stack will look very different. But collecting, storing, replicating and serving images as your primary social object != same thing.

Hence, even when Twitter 'added' photos, they went with Photobucket so as to not change the nature of their stack. It had taken them 3 years to really get ahead of their adoption curve for 'just' text.

Re:The Instagram Architecture Facebook Bought for a Cool Bil... by easp on Tuesday April 10, 2012 @11:21AM (#3822579)
You think API requests from all those mobile clients are some how "free"? Plus, I'd guess that they are resizing photos on the server.
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by rbanffy on Monday April 09, 2012 @05:50PM (#3819440)
Behold the power of the cloud.
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by fgd on Monday April 09, 2012 @05:50PM (#3819439)
So you're saying this is the most valuable Django application ever? :)
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by rbanffy on Monday April 09, 2012 @05:51PM (#3819441)
No. It's just the most expensive ;-)

I'd never trade my URL shortener or my podcast+connected-TV-backend for a photo sharing app.

Re:The Instagram Architecture Facebook Bought for a Cool Bil... by rwhitman on Monday April 09, 2012 @11:33PM (#3820538)
This is a real feather in the Django community's cap. Eat that Rails
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by scoot on Tuesday April 10, 2012 @12:02PM (#3822815)
How long do I have to be on HN to get a downvote button? This isn't about Django vs. Rails or any other framework, it's about the stack that Instagram is built on, nothing more. There are no comparative metrics.
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by krsunny on Tuesday April 10, 2012 @02:58AM (#3821096)
For some reason I was thinking Drupal the first time I read through the article... Drupal.
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by simonw on Tuesday April 10, 2012 @03:18AM (#3821151)
I'll be interested to see what happens with Pinterest (also Django).
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by bond on Monday April 09, 2012 @08:14PM (#3819992)
How much does it cost to run it?
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by epo on Tuesday April 10, 2012 @06:06AM (#3821486)
Facebook didn't buy them for anything like a billion dollars, $1000 plus the rest in shares is more like it.

Instagram's gamble on Instagram has become a gamble on Facebook (who are risking nothing of value).

Re:The Instagram Architecture Facebook Bought for a Cool Bil... by regularfry on Tuesday April 10, 2012 @07:23AM (#3821670)
I'm intrigued they went with XFS for the filesystem. Is there any more info on the thinking behind that decision?
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by Terretta on Tuesday April 10, 2012 @08:30AM (#3821831)
They pointed out the thinking behind it. If you check out Eric Hammond's blog at Alestic, it expands on what was mentioned here:

http://alestic.com/2009/09/ec2-consistent-snapshot

Re:The Instagram Architecture Facebook Bought for a Cool Bil... by regularfry on Tuesday April 10, 2012 @09:42AM (#3822109)
Excellent, thanks for that. Looks mostly like a legacy decision which wouldn't necessarily hold today.
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by wazoox on Tuesday April 10, 2012 @10:06AM (#3822202)
Except for the part where you want integrity; AFAIK only xfs guarantees truly atomic snapshotting thanks to xfs_freeze.

Furthermore, it's also (by an extremely large margin) your best choice if you need a filesystem bigger than 16 TB.

Re:The Instagram Architecture Facebook Bought for a Cool Bil... by regularfry on Tuesday April 10, 2012 @11:53AM (#3822752)
Allegedly other filesystems have had a similar freeze added since then.
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by wazoox on Tuesday April 10, 2012 @03:52PM (#3824043)
Actually it was added to the vfs layer IIRC, around 2.6.30.
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by riledhel on Tuesday April 10, 2012 @10:56AM (#3822419)
Why wouldn't? is there a better alternative to freeze a filesystem and take a AWS snapshot from it?
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by regularfry on Tuesday April 10, 2012 @11:55AM (#3822772)
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6... would indicate that the ability to freeze has been added to other filesystems since ec2-consistent-snapshot was first written. I've got no data on whether they're equivalently robust. If freezing was the only reason to go for xfs, then that decision would seem to be open to more alternatives now.
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by mrchess on Monday April 09, 2012 @11:19PM (#3820505)
Is this 3 backend engineers? Was there another team that maintained the app and django app?
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by zerostar07 on Monday April 09, 2012 @07:47PM (#3819900)
A not so interesting infrastructure that FB will probably overhaul. I think the author does not realize that facebook runs on custom server hardware, php/Hiphop, a bunch of open source stuff they contribute to like cassandra, memcached, varnish etc. The size of facebook and its platform is simply staggering. I 'm pretty sure their engineers are going to be hard to be impressed by these.
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by pjscott on Monday April 09, 2012 @08:06PM (#3819957)
This architecture went far enough to get them acquired for a lot of money, so while it may not be a miracle of ingenuity, it's worth studying as an example of something that worked.
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by cageface on Tuesday April 10, 2012 @02:16AM (#3820969)
Or, we've learned that even the biggest web companies can now be built with fairly vanilla technology and that obsessing over clever bespoke scaling schemes is largely a waste of time.
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by Tossrock on Tuesday April 10, 2012 @03:26AM (#3821171)
I think it'd be more accurate to say "Even /fairly large/ web companies can now be built [et cetera]". Good luck putting Google on AWS. Or (relevant to the name of this website) AWS.
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by cageface on Tuesday April 10, 2012 @03:44AM (#3821222)
I think now you could even build a fledgling Google on AWS. Once you start getting real traction then you may outgrow it but there's really no point in even talking about those steps until you have a few million users beating down your door.
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by zerostar07 on Monday April 09, 2012 @08:20PM (#3820015)
... in the sense that the typeface of famous books is worth studying as an example of how to write a good book?
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by waterlesscloud on Monday April 09, 2012 @08:10PM (#3819972)
It does raise the question of whether you even need any real ingenuity on the back end for this sort of startup...
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by regularfry on Tuesday April 10, 2012 @06:07AM (#3821490)
Thinking that you need ingenuity is often the root of problems.
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by zerostar07 on Monday April 09, 2012 @08:24PM (#3820022)
you probably need some to create it though
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by wavephorm on Monday April 09, 2012 @07:38PM (#3819859)
That's a long list of open source projects. I wonder did Instagram contribute to any of them, or help out in any way?
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by Tossrock on Tuesday April 10, 2012 @03:23AM (#3821163)
I am going to guess "no". For three people to scale a site to that size, I imagine it was a daily battle just to keep the thing flying. Not to mention, if they ran into a problem that could potentially be solved with some deep magic done on a forked OSS project... or another ten extra large instances, given their valuation I can imagine which direction they would lean.
Re:The Instagram Architecture Facebook Bought for a Cool Bil... by BobertK on Monday April 09, 2012 @10:12PM (#3820341)
three engineers and a cloud? sure beats three yards and a cloud of dust...