top | item 5792341

Ex-YouTube Man Builds Graphics Card for Entire Internet

65 points| Libertatea | 12 years ago |wired.com | reply

35 comments

order
[+] Jabbles|12 years ago|reply
“We just couldn’t crunch those images down to a smaller size,” Zacharias remembers. “It would have taken a significant amount of Google’s entire processing power just to do that.”

What? Processing a thumbnail is insignificant compared to processing a video - in fact it's on the same magnitude as making a single frame of video... Maybe Google uses a lot of hardware encoders for YouTube?

In any case, I can't believe this is a reason. A billion images? Is nothing for Google. Google was offering a billion hours of cpu time to scientists for free in 2011. Don't tell me that a thumbnail takes an hour... http://googleblog.blogspot.com/2011/04/1-billion-computing-c...

Google App Engine now offers the Image Service, but perhaps that was launched after this. https://developers.google.com/appengine/docs/java/images/ove...

[+] cma|12 years ago|reply
Not to mention they could just do lazy initialization; most youtube thumbnails will never ever be viewed, so you don't have to convert them until they are needed.
[+] dgreensp|12 years ago|reply
I tried imgix for thumbnails in a web photo album. It was much slower (higher latency) and double the price per bandwidth of Amazon Cloudfront. In general, then, resizing all the images in advance and serving them from a traditional CDN offers a better experience at a better price. Only if that's impossible is imgix a good choice.

Being a premium CDN seems a bit like being a premium credit card processor -- as customers grow, they have more and more incentive to switch to a commodity alternative.

[+] dgreensp|12 years ago|reply
To be more constructive:

- Be competitive on price and performance for the basic CDN use case

- Amazon's strategy is to pass on their own costs with a very small margin. If you are serving each Zillow thumbnail by resizing it once in a while on a GPU and caching it in RAM, your costs should be tiny. Then you are just over-charging for bandwidth.

Biggest take-away is think hard about the pricing model. Maybe have big tiers with flat prices and pass on the bandwidth at cost.

[+] qhoxie|12 years ago|reply
I think that "double the price per bandwidth" figure is way off – where did you get that? imgix pricing looks to be about a 30% premium over the US CloudFront pricing, and much less than that internationally (imgix doesn't appear to distinguish).
[+] jtanner|12 years ago|reply
I host large images between 500k and 700k. I store the original image along with 4 different resized versions. The resized images on average account for 35% of disk space.

I store about 300GBs of images. The resized versions take up about 100GBs of the 300.

If I were to then to add retina versions (2x) of each thumbnail, I might be running at 70%+ disk space being used up by thumbnails.

imgix is very interesting, as it would cut my storage costs, decrease my user image upload times ( because I wouldn't have to resize after uploading ). Also I would be free to create 2x retina images, or even new thumbnail sizes as desired.

Only things to justify, are the lock-in with using imgix ( re-writing my site to use it ) and the monthly cost.

[+] cunac|12 years ago|reply
how 300GB is storage problem? I would understand if you say 300TB , but with 2TB HDD < 100$ and 0.5TB SSD < 400$ I can't really see that a major use case. And that is one time fixed payment.
[+] ekurutepe|12 years ago|reply
Isn't it a bit wasteful to resize all those images on the fly? I'd think it's much better to resize them at creation and serve different files as they're needed, assumption being here that dumbly serving a file is more power efficient/cheaper than rescaling a large image every time a smaller version is needed.
[+] zacman85|12 years ago|reply
We cache aggressively, at multiple levels, and manage the dependencies between caches. In the overwhelming amount of cases, we are serving straight out of SSD caches. The on-the-fly work only happens if the image does not already exist.
[+] pavs|12 years ago|reply
Exactly my thought, that seems like making an easy task extra complicated.
[+] jbverschoor|12 years ago|reply
So this guy has more computing power than google's entire processing power. What a load of crap.

Nice marketing though.

[+] bpicolo|12 years ago|reply
Yeah. I don't see how Google couldn't handle some image resizes, even in the billions. Or anybody else, for that matter.
[+] pavs|12 years ago|reply
Is this really such a hard problem to solve? Something like littleutils can easily solve this, no?

http://littleutils.sourceforge.net/

Also what does this has to do with being "graphics card for the entire internet"?

[+] qhoxie|12 years ago|reply
I don't think littleutils does much more than optimize images, which is pretty different from: http://www.imgix.com/docs/urlapi

Resizing or optimizing images, in isolation, is not a hard problem. I've solved subsets of this problem a handful of times before, and I could do it again, but I gladly pay for imgix. The time and headaches saved are easily worth it. The next time I have to rely on ImageMagick will be too soon.

[+] 300bps|12 years ago|reply
>Is this really such a hard problem to solve?

I must be misunderstanding because resizing an image, rotating it or many other basic operations consists of about 5 lines of .NET code and very little processing power. I imagine it's not any more difficult in other frameworks. I couldn't conceive of offloading that to an external service under just about any use case.

It seems like they plan to offer video editing via SaaS as well which is more valuable, but I would think the transfer time and bandwidth would kill any speed improvement over a massively parallel SaaS video editor as opposed to using a local open source library.

[+] jakejake|12 years ago|reply
I thought the same thing. I think this would be hard to do at scale and they offer quite a lot more features than most would need (sepia tone filter). I couldn't personally see paying for re service, but obviously it must be useful to others.
[+] dminor|12 years ago|reply
> when someone visits the site, imgix will deliver the appropriate photos and, in need be, reformat or resize them. If someone visit your site with an Apple iPad, the service can instantly reformat an image for the tablet’s “Retina” display.

I didn't see any documentation about this on their site. Can they deliver, via a single URL, differently sized images for mobile vs desktop? This is one of the biggest headaches when trying to do responsive design.

[+] e98cuenc|12 years ago|reply
We have a service similar to imgix (thumbr.it). The way we serve retina images is that you add @2x to the name of the images with JS, and when we see the image name ends with @2x we serve double the size you requested (see http://thumbr.it/api/documentation/#retina).

I guess the imgix guys do something similar.

Serving different images with exactly the same URL is tricky because it will confuse the cache.

[+] audionerd|12 years ago|reply
If you're considering the DIY server-side image resize route, here's a good list of options:

  https://github.com/adamdbradley/foresight.js/wiki/Server-Resizing-Images
... and a comparison of benchmarks – ImageMagick vs. competitors like the very fast, low memory VIPS:

  http://www.vips.ecs.soton.ac.uk/index.php?title=Speed_and_Memory_Use
[+] mhmtmhmt|12 years ago|reply
VIPS values are very good and you should notice it says "All timings are for a 5,000 by 5,000 pixel 8-bit RGB image in uncompressed tiled TIFF format, 128 by 128 pixel tiles". I haven't used VIPS in production. It seems like it's better for big files. I heard VIPS is not that performing with small files.
[+] chiph|12 years ago|reply
“We would just walk into one Apple store after another and buy them out”

Apple has good terms for business purchases. Spend more than $2k and get 18 months interest-free financing. No need to drive around to all the stores (unless you just want the airline points on your credit card)

[+] ams6110|12 years ago|reply
Is the graphics card in a Mac Mini really that good? Seems there would be cheaper ways to buy commodity hardware and put the savings towards a better graphics card.
[+] mseebach|12 years ago|reply
Heh. This was my (unsuccessful) pitch for Startup Weekend Copenhagen three years ago. My own fault for not just building it, but always nice to have an idea validated.
[+] omfg|12 years ago|reply
Is there something extra that makes this different than Cloudinary or Blitline?