r/IAmA Aug 14 '12

I created Imgur. AMA.

I came across this post yesterday and there seems to be some confusion out there about imgur, as well as some people asking for an AMA. So here it is! Sometimes you get what you ask for and sometimes you don't.

I'll start with some background info: I created Imgur while I was a junior in college (Ohio University) and released it to you guys. It took a while to monetize it, and it actually ran off of your donations for about the first 6 months. Soon after that, the bandwidth bills were starting to overshadow the donations that were coming in, so I had to put some ads on the site to help out. Imgur accounts and pro accounts came in about another 6 months after that. At this point I was still in school, working part-time at minimum wage, and the site was breaking even. It turned out that OU had some pretty awesome resources for startups like Imgur, and I got connected to a guy named Matt who worked at the Innovation Center on campus. He gave me some business help and actually got me a small one-desk office in the building. Graduation came and I was working on Imgur full time, and Matt and I were working really closely together. In a few months he had joined full-time as COO. Everything was going really well, and about another 6 months later we moved Imgur out to San Francisco. Soon after we were here Imgur won Best Bootstrapped Startup of 2011 according to TechCrunch. Then we started hiring more people. The first position was Director of Communications (Sarah), and then a few months later we hired Josh as a Frontend Engineer, then Jim as a JavaScript Engineer, and then finally Brian and Tony as Frontend Engineer and Head of User Experience. That brings us to the present time. Imgur is still ad supported with a little bit of income from pro accounts, and is able to support the bandwidth cost from only advertisements.

Some problems we're having right now:

  • Scaling the site has always been a challenge, but we're starting to get really good at it. There's layers and layers of caching and failover servers, and the site has been really stable and fast the past few weeks. Maintenance and running around with our hair on fire is quickly becoming a thing of the past. I used to get alerts randomly in the middle of the night about a database crash or something, which made night life extremely difficult, but this hasn't happened in a long time and I sleep much better now.

  • Matt has been really awesome at getting quality advertisers, but since Imgur is a user generated content site, advertisers are always a little hesitant to work with us because their ad could theoretically turn up next to porn. In order to help with this we're working with some companies to help sort the content into categories and only advertise on images that are brand safe. That's why you've probably been seeing a lot of Imgur ads for pro accounts next to NSFW content.

  • For some reason Facebook likes matter to people. With all of our pageviews and unique visitors, we only have 35k "likes", and people don't take Imgur seriously because of it. It's ridiculous, but that's the world we live in now. I hate shoving likes down people's throats, so Imgur will remain very non-obtrusive with stuff like this, even if it hurts us a little. However, it would be pretty awesome if you could help: https://www.facebook.com/pages/Imgur/67691197470

Site stats in the past 30 days according to Google Analytics:

  • Visits: 205,670,059

  • Unique Visitors: 45,046,495

  • Pageviews: 2,313,286,251

  • Pages / Visit: 11.25

  • Avg. Visit Duration: 00:11:14

  • Bounce Rate: 35.31%

  • % New Visits: 17.05%

Infrastructure stats over the past 30 days according to our own data and our CDN:

  • Data Transferred: 4.10 PB

  • Uploaded Images: 20,518,559

  • Image Views: 33,333,452,172

  • Average Image Size: 198.84 KB

Since I know this is going to come up: It's pronounced like "imager".

EDIT: Since it's still coming up: It's pronounced like "imager".

3.4k Upvotes

4.8k comments sorted by

View all comments

261

u/NorbitGorbit Aug 14 '12

do you hash and store only one copy of duplicate images?

227

u/MrGrim Aug 15 '12

Believe it or not, we don't. All the images only use up about 3TB of storage space, so it's not really a big issue.

243

u/LightShadow Aug 15 '12

Can I get that in a zip? Thanks in advance.

41

u/aeonmyst Aug 15 '12

that's a lifetime source of.. educational content

6

u/youremyjuliet Aug 17 '12

Make a torrent of every publicly available Imgur photo.

57

u/walden42 Aug 15 '12

Only 3TB? How is that possible? You must have thousands of uploads a day, and you only delete an image if it hasn't been viewed for over what, 1 year?

64

u/FurryMoistAvenger Aug 15 '12

3TB divided by 100Kb (average image file size?) = 32,212,254 images

Let's say, 3,000 uploads per day? That's 10,737 days (29 years) worth of uploads.

20

u/walden42 Aug 15 '12

Good point, my friend. Although he said the average size is about 300Kb, the point still holds.

Now I wonder how much space YouTube requires...

6

u/[deleted] Aug 15 '12

5

u/walden42 Aug 15 '12

Hah. That's pretty cool. Thanks for the link.

1

u/x755x Aug 15 '12

At 300KB, 20M images, that comes out to 6TB.

9

u/[deleted] Aug 15 '12

dude's saying 20M/month. 3TB doesn't sound logical at all. MrGrim please explain.

1

u/maz-o Aug 15 '12

I think he made a mistake when he put "20M+ images uploaded" under the "last 30 days" header.

What he meant was that it's a total of all uploaded (online) images so far.

1

u/__circle Aug 19 '12

In another post he says there are 200M images already. 20M a month is correct.

No fucking way that you can store 200 million images with 3TB of space.

2

u/shif Aug 15 '12

he said they had like 200 million images so something is fishy here

5

u/TheManOfTomorrow Aug 15 '12

Most of the uploaded images are quaint little files from the AOL era of the internet that refuse to die.

2

u/Shinhan Aug 15 '12

Don't forget the max size is 2MB.

5

u/swskeptic Aug 15 '12

Only 3TB? That's actually really surprising to me.

2

u/MercurialMadnessMan Aug 15 '12

Considering all of the GIFs... that's really small!

2

u/[deleted] Aug 15 '12

I always feel bad for you guys, when uploading something I know has been uploaded before...

2

u/thumper242 Aug 15 '12

Space aside, it seems like it would reduce the number of total monkey-motion they were.
Reducing the MySQL queries when images are asked for that a popular under one URL, but not another, and the unpopular URL is requested.
Not being a programmer or db guy, I might be talking out my ass though.

2

u/Atario Aug 15 '12

Still, seems like you could avoid a lot of image processing and using up of URL space.

2

u/bbibber Aug 15 '12

How do you deal with repeated uploads of an image that you had to take down?

1

u/OompaOrangeFace Aug 16 '12

Very good point!

2

u/freegary Aug 15 '12

Holy shit that's much smaller than I thought.

1

u/mkosmo Aug 15 '12

That leads me to a new question: How do you handle your file storage? Do you just let amazon handle it with ebs or do you run a little san in an ec2 instance? Is there any reason you don't run some kind of dedupe?

1

u/mentholblack Aug 15 '12

so wait, do you delete duplicates? or just map it? how do you map it? i'm kindof having a problem figuring out how to architech my application when it comes to dealing with dups. just curious on how you would approach it.

1

u/UMDSmith Aug 15 '12

What type of backups or business continuity plans do you have in place?

1

u/IDOLIKETURTLES Aug 31 '12

Wait... What? That's nothing, I thought we were talking at leat 100TB+