News for hackers. Stuff that matters.
Re:Reddit launches image uploads, ditching alliance with Imgur by whalesalad on Thursday May 26, 2016 @12:57AM (#11775559)
Looks like it's backed by S3

  x-amz-storage-class: REDUCED_REDUNDANCY
  Content-Type: image/jpeg
  Server: AmazonS3
Can't imagine that AWS bill...
Re:Reddit launches image uploads, ditching alliance with Imgur by tomschlick on Thursday May 26, 2016 @01:10AM (#11775628)
At Reddit's scale they would be able to negotiate directly with AWS for lower rates. I'm sure they already do so with servers.
Re:Reddit launches image uploads, ditching alliance with Imgur by jedberg on Thursday May 26, 2016 @01:57AM (#11775859)
[ deleted ] -- I removed it because I got tired of trying to explain the nuance.
Re:Reddit launches image uploads, ditching alliance with Imgur by Dobbs on Thursday May 26, 2016 @02:00AM (#11775872)
That is absolutely false. Plenty of large companies are able to negotiate their rates on AWS. You just have to be huge.
Re:Reddit launches image uploads, ditching alliance with Imgur by fpvracing on Thursday May 26, 2016 @02:56AM (#11776112)
Do you realize that the person you're responding to used to run Reddit's servers?
Re:Reddit launches image uploads, ditching alliance with Imgur by dave2000 on Thursday May 26, 2016 @03:04AM (#11776151)
Is that why the comment was deleted?
Re:Reddit launches image uploads, ditching alliance with Imgur by fpvracing on Thursday May 26, 2016 @03:08AM (#11776173)
I didn't say he was right. And I also have no idea why his comment was deleted.
Re:Reddit launches image uploads, ditching alliance with Imgur by tripzilch on Thursday May 26, 2016 @06:19AM (#11776849)
[ deleted ]
Re:Reddit launches image uploads, ditching alliance with Imgur by girvo on Thursday May 26, 2016 @08:37AM (#11777426)
Hardly huge. When I was at a web agency with about 70 people on staff here in Australia, we were an AWS partner with negotiated rates, and honestly we weren't doing massive clients really (aside from some government stuff now and then).
Re:Reddit launches image uploads, ditching alliance with Imgur by kapkapkap on Thursday May 26, 2016 @09:23AM (#11777686)
How much was the monthly bill ($) ?
Re:Reddit launches image uploads, ditching alliance with Imgur by jedberg on Thursday May 26, 2016 @02:29AM (#11776002)
[ deleted ]
Re:Reddit launches image uploads, ditching alliance with Imgur by x0x0 on Thursday May 26, 2016 @03:01AM (#11776137)
It has happened, though I'm not sure if it's common or not. I worked for a big hadoop user (5 years ago: 6k boxes/over 50k cores/30 pb) that aws really wanted on their platform. They offered huge discounts to get us as a marquee customer, much better than their public pricing. Unfortunately, they were still ludicrously expensive compared to O&O but we were good at running huge automated clusters with 1.5 ops.
Re:Reddit launches image uploads, ditching alliance with Imgur by driverdan on Thursday May 26, 2016 @07:48AM (#11777191)
You don't have to be huge, just not tiny.
Re:Reddit launches image uploads, ditching alliance with Imgur by fidget on Thursday May 26, 2016 @02:37AM (#11776053)
Depends what. We pay significantly lower than label price for Cloudfront prices. EC2? Never seen a reduction in that
Re:Reddit launches image uploads, ditching alliance with Imgur by tomschlick on Thursday May 26, 2016 @02:02AM (#11775881)
TIL. After reading about Spotify negotiating with Google Compute Cloud I just thought it was common place for such orgs to negotiate vs everyone else that will rarely reach that scale.
Re:Reddit launches image uploads, ditching alliance with Imgur by vertex-four on Thursday May 26, 2016 @03:47AM (#11776320)
According to Reddit's source code they're using a provider called Imgix - https://www.imgix.com/ - who I assume use S3.
Re:Reddit launches image uploads, ditching alliance with Imgur by HomebrewCC on Thursday May 26, 2016 @04:32AM (#11776482)
Came across an incredible photo series of their dataserver. http://photos.imgix.com/building-a-graphics-card-for-the-int...
Re:Reddit launches image uploads, ditching alliance with Imgur by Xiol on Thursday May 26, 2016 @05:10AM (#11776618)
> Apple’s operating system offers numerous advantages over other platforms when it comes to image processing, and it is also favored by many designers for the same reasons. imgix has written tools which allow us to leverage these strengths with our service, using OS X for image operations where it provides superior quality and performance.

What advantages? If you're running these as headless servers, then what advantages does OSX possibly provide over cheaper, more powerful Linux boxes using e.g. ImageMagick (ok, ok, not having massive remote code execution vulnerabilities is one of them).

Re:Reddit launches image uploads, ditching alliance with Imgur by wille92 on Thursday May 26, 2016 @09:42AM (#11777834)
Same thing jumped out at me--having racks of mac mini's seems like a waste
Re:Reddit launches image uploads, ditching alliance with Imgur by pjc50 on Thursday May 26, 2016 @05:49AM (#11776736)
Does ImageMagick have access to GPU hardware acceleration?
Re:Reddit launches image uploads, ditching alliance with Imgur by tetromino_ on Thursday May 26, 2016 @08:50AM (#11777494)
Re:Reddit launches image uploads, ditching alliance with Imgur by coolspot on Thursday May 26, 2016 @03:42PM (#11780881)
Crazy.
Re:Reddit launches image uploads, ditching alliance with Imgur by Fenntrek on Thursday May 26, 2016 @10:21AM (#11778126)
Who in turn look like they're using fastly for their cdn judging by them sharing the exact same pops.

(Guessing they use the fastly private cdn or have some sort of deal with them considering the imgix branded cages on their blog).

https://docs.imgix.com/guides/cdn-guidelines

https://www.fastly.com/network-map

Re:Reddit launches image uploads, ditching alliance with Imgur by dylanz on Thursday May 26, 2016 @01:26AM (#11775707)
They're using reduced redundancy which should save them a pretty penny.
Re:Reddit launches image uploads, ditching alliance with Imgur by oolongCat on Thursday May 26, 2016 @01:04AM (#11775598)
What are some better alternatives to s3?
Re:Reddit launches image uploads, ditching alliance with Imgur by mozumder on Thursday May 26, 2016 @01:21AM (#11775676)
Colocation hosting your own servers around the world... you know, the original way.
Re:Reddit launches image uploads, ditching alliance with Imgur by x0x0 on Thursday May 26, 2016 @03:04AM (#11776152)
s3 is awesome. Keep using it but put your own boxes in a colo with a direct connect to aws (not all colos offer this unfortunately). Your boxes can then g3 20+tb of ssd cache in front of your raw pb+ datasets in s3.

https://aws.amazon.com/directconnect/pricing/

Re:Reddit launches image uploads, ditching alliance with Imgur by amazon_not on Thursday May 26, 2016 @02:38AM (#11776059)
Even cheaper and easier is just to rent dedicated servers or VPSes.
Re:Reddit launches image uploads, ditching alliance with Imgur by adventured on Thursday May 26, 2016 @02:50AM (#11776098)
One of the earlier Imgur style hosts, ImageVenue, did this very successfully (they were extremely large in terms of traffic at their peak and for the time, until better options came along).

The founder, Vlad, used to rent out cheap dedicated boxes with about 500gb of bandwidth per box for $60 to $80 per month. He'd cycle upload machines - eg 123.imagevenue.com - and fill up the drives on them until no more space was available; when bandwidth was exhausted, that was that for the month. Typically image file downloads would decline on any given upload over time, so machine resources would free back up in terms of bandwidth and deleting images that weren't viewed after N amount of time.

Re:Reddit launches image uploads, ditching alliance with Imgur by mozumder on Thursday May 26, 2016 @02:58AM (#11776121)
For image-heavy use I found its just cheaper to build your own box and cohost instead of renting.
Re:Reddit launches image uploads, ditching alliance with Imgur by amazon_not on Thursday May 26, 2016 @03:06AM (#11776162)
How do you figure that? You can rent the exact same server as a dedicated server. The difference is, you have no capital outlay up front, you don't need to ship and rack it or replace broken parts and there is only a month-to-month commitment.
Re:Reddit launches image uploads, ditching alliance with Imgur by mozumder on Thursday May 26, 2016 @03:29AM (#11776249)
The boxes with lots of disk and memory are much more expensive when rented vs buying. SSDs are super expensive to rent, for example.

I made a Skylake Xeon system with all enterprise components for $2k. You can't even rent Skylake Xeons anywhere right now.

Re:Reddit launches image uploads, ditching alliance with Imgur by amazon_not on Thursday May 26, 2016 @10:27AM (#11778175)
I've never had problems ordering custom hardware from my dedicated server providers. At worst, all I've had to do is pay a one-time fee for a particular component. SSDs have never been a problem. Neither has any Intel CPU.

It of course depends on your provider.

Rent vs buy depends a lot on the circumstances. Maybe if your requirements don't change and you don't upgrade your server hardware it's cheaper in the long run to buy. However, when I've kept a server for more than a year, I've always been able to negotiate a discount.

You didn't post your config, so I can't tell how exotic your requirements are.

Re:Reddit launches image uploads, ditching alliance with Imgur by creshal on Thursday May 26, 2016 @02:20AM (#11775960)
Is that really cheaper than S3, though?
Re:Reddit launches image uploads, ditching alliance with Imgur by sgk284 on Thursday May 26, 2016 @03:29AM (#11776248)
Even at Amazon's cheapest posted bandwidth tier you're paying $50+ per terabyte for bandwidth.

Any dedicated hosting company (OVH, Hetzner, etc...) will cost less than 3% of that (and that's on the high end).

Bandwidth is cheap, but AWS marks it up roughly 30x-50x what you'd pay in a dedicated environment.

Re:Reddit launches image uploads, ditching alliance with Imgur by MasterScrat on Thursday May 26, 2016 @05:30AM (#11776672)
Then why isn't anyone running an AWS-like service focused for bandwidth-intensive applications hosted on "OVH, Hetzner, etc..."?
Re:Reddit launches image uploads, ditching alliance with Imgur by sgk284 on Thursday May 26, 2016 @11:41AM (#11778798)
Many people do. S3 is convenient though. It handles durability, replication, uptime, etc... and even with the insane markup on bandwidth many startups / companies can afford a $10k/mo bandwidth bill because it's cheaper than hiring some devops and a team to build out the appropriate infrastructure.
Re:Reddit launches image uploads, ditching alliance with Imgur by creshal on Friday May 27, 2016 @06:34AM (#11785058)
That's what I meant with "really cheaper". Sure, bandwidth costs are lower with Hetzner, but that's not everything.
Re:Reddit launches image uploads, ditching alliance with Imgur by amazon_not on Thursday May 26, 2016 @10:48AM (#11778341)
It depends on how you define AWS-like services. Lots of VPS providers cater to bandwidth-intensive applications and are hosted on cheap dedicated servers.
Re:Reddit launches image uploads, ditching alliance with Imgur by vegardx on Thursday May 26, 2016 @10:24AM (#11778149)
But you don't have to store and serve all the content from Amazon or your own platform. You can easily set up aggressive caching, in a network you control, backed by S3.

And you pay premium for premium bandwidth. You can't just assume that all your users will have a good experience if you buy hardware and bandwidth from the cheapest providers around.

Re:Reddit launches image uploads, ditching alliance with Imgur by amazon_not on Thursday May 26, 2016 @10:43AM (#11778303)
Amazon bandwidth isn't particularly premium. It's just expensive.
Re:Reddit launches image uploads, ditching alliance with Imgur by gnarbarian on Thursday May 26, 2016 @02:38AM (#11776055)
Way cheaper. Amazon is a middleman for hardware. Even at smallest scales the cost of buying a server pays off within a year. In exchange you get convenience and the ability to scale up on demand without buying more hardware.
Re:Reddit launches image uploads, ditching alliance with Imgur by pbhjpbhj on Thursday May 26, 2016 @08:11AM (#11777295)
I'm sure buying the server pays off, but what about running and administering it?

What's the minimum commercially you'd spend to get cross-continent redundancy on hardware you manage in-house. Just the accounting cost of paying wages for technicians in two countries probably means you need to be a quite large company.

There are middle grounds, managed co-location say, but then you're not likely to save much over using AWS are you?

Re:Reddit launches image uploads, ditching alliance with Imgur by amazon_not on Thursday May 26, 2016 @10:42AM (#11778293)
Even managed co-location is cheaper than AWS when you factor in the egress bandwidth charges at scale.

Another way to do it is to use dedicated servers. The datacenter will take care of repairs and remote hands functions and all you need is to manage the server from the OS level upwards. No need to have technicians in multiple countries, everything can be done remotely.

Re:Reddit launches image uploads, ditching alliance with Imgur by gnarbarian on Thursday May 26, 2016 @12:41PM (#11779369)
Yep this is what we do. It works well.
Re:Reddit launches image uploads, ditching alliance with Imgur by gnarbarian on Thursday May 26, 2016 @12:39PM (#11779356)
You still have to manage/ administor the aws instance. It only really saves you from the overhead involved with hardware failures.
Re:Reddit launches image uploads, ditching alliance with Imgur by amazon_not on Thursday May 26, 2016 @02:35AM (#11776039)
Yes, way, way cheaper. Amazon egress bandwidth is 10-100x more expensive than IP transit.
Re:Reddit launches image uploads, ditching alliance with Imgur by eru on Friday May 27, 2016 @02:14AM (#11784232)
Depends on what you compare it you. Amazon sells you not only the hardware, but also the management services.
Re:Reddit launches image uploads, ditching alliance with Imgur by easytiger on Thursday May 26, 2016 @03:07AM (#11776169)
Massively cheaper at scale. Do the basic math.
Re:Reddit launches image uploads, ditching alliance with Imgur by vonklaus on Thursday May 26, 2016 @04:33AM (#11776491)
can you explain the math? I honestly don't have a working knoweldge of the inputs, but let's say i wanted the equivalent of ec2? How would I go about setting it up and the costs? If I wanted to serve a few million english speaking people my web application, how coud I calculate the price? Do I literally buy my own hardware, or I rent hardware at a dedicated rate? These are real questions btw, not rhetoric, it's hard to find a solid blog post or comparison of setting this up and the long term cost v convenience benefits of scaling this because almost everyone uses cloud providers, and by cloud providers I mean digital ocean, AWS, azure, rackspace or now google. Heroku (last I checked) sits on AWS as well and maybe even ngineyard does. actually pretty curious now if a few million people would be worth running your own gear, and if running that gear was lease v buy
Re:Reddit launches image uploads, ditching alliance with Imgur by pjc50 on Thursday May 26, 2016 @05:50AM (#11776741)
The cost difference depends on how much your administration costs go up because you need to do things yourself, rather than through the AWS API. That's why it's hard to calculate.
Re:Reddit launches image uploads, ditching alliance with Imgur by Jonovono on Thursday May 26, 2016 @10:28AM (#11778185)
Not sure if this is just for your private photos, but it's cheaper: https://www.backblaze.com/b2/cloud-storage.html
Re:Reddit launches image uploads, ditching alliance with Imgur by pkulak on Thursday May 26, 2016 @01:21AM (#11775679)
Use S3 but put a cache in front of it, at the very least.
Re:Reddit launches image uploads, ditching alliance with Imgur by thomseddon on Thursday May 26, 2016 @02:20AM (#11775961)
Reddit use Cloudflare on both reddit.com and redditstatic.com
Re:Reddit launches image uploads, ditching alliance with Imgur by static_noise on Thursday May 26, 2016 @01:55AM (#11775851)
> Can't imagine that AWS bill...

That's not how things work over here.

We can and do imagine. We even calculate estimate values so we don't have to stay in the dark and reason without a solid basis.

I'd encourage you to find some traffic numbers provided by imgur and some S3 pricing to do a rough estimate. Maybe someone more knowledgable will pop in and improve on that. When we argue everyone involved shall be wiser after. That's how it works around here.