Skip to Content

Supercomputer Digests Twitter in Real-Time

Specialized hardware and software could provide new insights into the social Web.
October 20, 2010

Determining the most influential users of Twitter is probably not what the creators of the Cray XMT supercomputer had in mind when they designed their machine. But when you’re packing this much computational heat, you go where the hard problems are. Twitter, Facebook and the rest of the social Web have become the modern-day equivalent of the water cooler, albeit with an automatic transcriptionist present. And processing all the data that conversation generates turns out to be a very hard problem.

Cray XMT supercomputer courtesy Cray

For example, as of February 2010, Facebook included 400 million active users with an average of 120 “friend” connections each, all of whom collectively shared 5 billion pieces of information in a single month.

Figuring out who the “influencers” are in such a massive social networks requires creating a gigantic social graph, where each user is a vertex and the connections between them are lines. Ranking users within such a graph requires a determination of their “centrality”. That is, how many other people are connected to them, and how many people are connected to them, and so on, until you get to the trunk of the tree structure underlying connectedness on a service like Twitter.

It turns out this is not the sort of problem that is readily handled even by the usual go-to workstations of the scientific supercomputing world – the GPGPU-powered supercomputers that leverage the graphics chips usually used to render lush 3D environments in videogames. These GPGPU workstations simply don’t allow enough control over how many processes are running in parallel to efficiently churn through social graphs as big as the one represented by Twitter or Facebook.

That’s why David Ediger of Georgia Tech, with the help of a long list of collaborators, turned to the 128-CPU Cray XMT housed at the Pacific Northwest National Laboratory. The XMT is a favorite of supercomputing hot-rodders and uber-geeks who appreciate its fine-grained massively multithreaded tunability. This machine is usually pressed into service for solving problems like “Hierarchical Bayesian Modeling for Text Analysis” or analyzing the stability of America’s power grid, but Ediger had it cogitating on every stray thought from a single day’s worth of the Twitter firehose.

The Cray made short work of Twitter, disposing of an entire day’s worth of connections in under an hour. The results will surprise no one – on Twitter, a tiny fraction of sources are retweeted widely, mostly government and media, while the rest of the service is either people talking in small groups or literally talking to themselves.

The point, though, is that throwing a finely-tuned Cray running Ediger’s custom software – GraphCT – at Twitter allowed the researchers to digest the service in something like real time. Which is exactly the sort of capability that intelligence agencies, marketers and perhaps even Twitter itself might want to have.

Follow Mims on Twitter or contact him via email.

Keep Reading

Most Popular

Conceptual illustration of a therapy session
Conceptual illustration of a therapy session

The therapists using AI to make therapy better

Researchers are learning more about how therapy works by examining the language therapists use with clients. It could lead to more people getting better, and staying better.

street in Kabul at night
street in Kabul at night

Can Afghanistan’s underground “sneakernet” survive the Taliban?

A once-thriving network of merchants selling digital content to people without internet connections is struggling under Taliban rule.

Conceptual illustration showing a file folder with the China flag and various papers flying out of it
Conceptual illustration showing a file folder with the China flag and various papers flying out of it

The US crackdown on Chinese economic espionage is a mess. We have the data to show it.

The US government’s China Initiative sought to protect national security. In the most comprehensive analysis of cases to date, MIT Technology Review reveals how far it has strayed from its goals.

IBM engineers at Ames Research Center
IBM engineers at Ames Research Center

Where computing might go next

The future of computing depends in part on how we reckon with its past.

Stay connected

Illustration by Rose WongIllustration by Rose Wong

Get the latest updates from
MIT Technology Review

Discover special offers, top stories, upcoming events, and more.

Thank you for submitting your email!

Explore more newsletters

It looks like something went wrong.

We’re having trouble saving your preferences. Try refreshing this page and updating them one more time. If you continue to get this message, reach out to us at customer-service@technologyreview.com with a list of newsletters you’d like to receive.