News for hackers. Stuff that matters.
Re:Handling five billion sessions a day in real time by buster on Friday February 20, 2015 @05:54AM (#9079899)
What i never see is how much servers/hardware/resources they are spending. It's _always_ like "we process a quadrillion messages per second" but it never mentions that you'll need a quadrillion expensive servers to do so. Same for many many database benchmarks, sadly...
Re:Handling five billion sessions a day in real time by frostmatthew on Friday February 20, 2015 @09:19AM (#9080474)
It's a couple years old but What it takes to run Stack Overflow[1] lists the number of DB servers, Web servers, etc

[1] http://nickcraver.com/blog/2013/11/22/what-it-takes-to-run-s...

Re:Handling five billion sessions a day in real time by jackweirdy on Friday February 20, 2015 @10:04AM (#9080668)
Re:Handling five billion sessions a day in real time by jared314 on Friday February 20, 2015 @10:13AM (#9080704)
StackExchange is pretty open with their hardware metrics.

The StackExchange performance site: https://stackexchange.com/performance

Re:Handling five billion sessions a day in real time by Someone1234 on Friday February 20, 2015 @10:57AM (#9080913)
> RAM: 48GB

Per server or in total..? Either one is believable.

Re:Handling five billion sessions a day in real time by zuck9 on Friday February 20, 2015 @11:14AM (#9081018)
I don't think a single server can do its task in just 5 GiB (48 GiB/9)
Re:Handling five billion sessions a day in real time by Moter8 on Friday February 20, 2015 @12:49PM (#9081643)
See the tagline "statistics by server"

Image: http://i.imgur.com/q1oDamy.png

Re:Handling five billion sessions a day in real time by Kurtz79 on Friday February 20, 2015 @11:20AM (#9081062)
It must be per server, adding RAM is really the quickest and cheapest way to improve performance.
Re:Handling five billion sessions a day in real time by MrBuddyCasino on Friday February 20, 2015 @09:16AM (#9080466)
I had a hunch I'd see the data structures du jour in there: Bloom Filters and HyperLogLog. Since they are pretty accurate by themselves already but run much faster than the brute force approach, why keep the latter? The error margin, if used properly, should be small enough so people shouldn't really care.
Re:Handling five billion sessions a day in real time by ropiku on Friday February 20, 2015 @09:34AM (#9080543)
They are not for accuracy. One usage for instance is to recompute stats if there are bugs in the stats processing code. Or if you want to add more metrics. (I work at Twitter but not on Answers).
Re:Handling five billion sessions a day in real time by meesterdude on Friday February 20, 2015 @09:15AM (#9080461)
> What happens if our speed (real-time) processing layer goes down? Our on-call engineers will get paged and address the problem.

Innovative!

But for real, that's some architecture, and very insightful to see what they've got. Totally nothing I'd have guessed.

Re:Handling five billion sessions a day in real time by toblender on Friday February 20, 2015 @09:11AM (#9080442)
First thing I noticed was Amazon in there Stack. Amazon really owns the internet...
Re:Handling five billion sessions a day in real time by philippnagel on Friday February 20, 2015 @09:53AM (#9080621)
In what way does Amazon own the Internet?

Yes, they own some of the computers that make up the Internet, but by far not all of them.

Re:Handling five billion sessions a day in real time by metaphorm on Friday February 20, 2015 @10:42AM (#9080841)
they are the dominant vendor of hardware/hosting to the largest and most complex web applications on the internet. AWS is the pillar that some of the most high volume sites on the internet (like Twitter and Netflix) rely on. Its safe to say that without AWS (or some other similar vendor) the internet as we know it wouldn't exist.
Re:Handling five billion sessions a day in real time by latch on Friday February 20, 2015 @10:57AM (#9080912)
That's ridiculous. It's like you're saying: without Honda, the car industry, as we know it, wouldn't exist.

The hosting industry is huge. There's a ton options, many of them better, larger and older than AWS. There are so many sites that don't use AWS. For example, I believe that, pre-Google, youtube used ServerBeach.

Re:Handling five billion sessions a day in real time by sanderjd on Friday February 20, 2015 @11:41AM (#9081215)
> There's a ton options, many of them better, larger and older than AWS.

Some examples would be more interesting than a general "you're wrong".

Re:Handling five billion sessions a day in real time by latch on Friday February 20, 2015 @12:29PM (#9081504)
For every site that's reliant on AWS, there's probably more than 10 000 that aren't. The giants, for example: Google. Facebook. Wikipedia. Microsoft.

It's hard to get actual numbers, but Equinix might be the largest. I believe their Singapore data center is actually what AWS, Digital Ocean and Azure use. (there's a lot more of these, such as Internap and Level 3 (which provided (and might still) services for Netflix and iTunes.))

AT&T is quite large. World of Warcraft used to be hosted on AT&T's infrastructure (might still be).

The above tend to be for large setups. Going smaller, you have the Rackspaces and Softlayers (now IBM). And, to a lesser extent, providers like OVH and Hetzner.

And, you can't forget the likes of Digital Ocean and Linode.

It's hard to come up with examples because more things are examples than aren't. AWS' market share is growing, but that's to be expected, in a lot of ways, despite EC2 being ~10 years old , it's still a new player.

AFAIC, what's more interesting about AWS is:

1 - How dominating it is over Microsoft and Google

2 - How popular the less invasive offerings are. A lot of people are sticking to their colocated, dedicated or VPSs, while using some part of AWS for DNS, backups or email. I hope they keep this up.

Re:Handling five billion sessions a day in real time by sanderjd on Friday February 20, 2015 @01:22PM (#9081872)
Thanks for the reply—exactly what I was hoping for!
Re:Handling five billion sessions a day in real time by nullrouted on Friday February 20, 2015 @03:25PM (#9082771)
I'm not saying right or wrong but here are some examples:

WhatsApp (Pre-Facebook) - Softlayer

Youtube (Pre-Google) - ServerBeach

Vevo - Rackspace

Zendesk - Rackspace

GoCardless - Softlayer

Snapchat - Softlayer

Re:Handling five billion sessions a day in real time by domoarevil on Friday February 20, 2015 @05:46AM (#9079881)
twitter: @copypastaa and then appending ?hn is at least consistent :)
Re:Handling five billion sessions a day in real time by joosters on Friday February 20, 2015 @06:19AM (#9079963)
"How we handle spying on your mobile phone activity on a global scale"
Re:Handling five billion sessions a day in real time by bpg_92 on Friday February 20, 2015 @08:55AM (#9080383)
hahaha but it is a good architecture you have to admint :D