Feeds

Facebook reveals 700TB of tiered RAM and flash power Graph Search

The Social NetworkTM lifts skirts, shows glimpses of MySQL, Hadoop and Unicorn

Secure remote control for conventional and virtual desktops

Facebook has revealed a little more detail about how it built Graph Search, the feature it took live a couple of weeks back to enable better searching of the billion posts it now collects each day.

The reveal came in a blog post, as is the fashion at this time, that explains building better search across posts is hard because Facebook has “70 different kinds of data we sort and index on, many of them specific to certain types of posts.”

That's all managed by MySQL, which passes data to a HBase cluster before Hadoop gets to work. At this point “Unicorn”, Facebook's name for the tech powering its search engine, gets involved and the result is a colossal index with a very substantial cache that the company tries to treat as gently as possible.

Keeping the cache happy is not a trivial task, so the company has devised the following tiering regime:

“However, storing more than 700 terabytes in RAM imposes a large amount of overhead, as it involves maintaining an index that is spread across many racks of machines. The performance cost of having these machines coordinate with each other drove the Unicorn team to look into new solutions for serving the posts index. The solution we decided on involves storing the majority of the index on solid-state flash memory. We managed to preserve performance by carefully separating out the most frequently accessed data structures and placing those in RAM.”

RAM as tier zero and flash as tier one are suggested as the recipe for fast access to data by just about the whole storage and big data industries, so Facebook's infrastructure will please many a sales and marketing person and probably make its way into lots of slideware before too much time passes.

Perhaps a little more interesting is the post's statement that Graph Search was built “in the past year by a few dozen engineers”. Plenty of lesser projects take more time and more people, suggesting the most interesting thing IT pros and their managers can learn from Graph Search might be how the project was managed and the hardware designed and implemented, rather than the configurations chosen. ®

Top 5 reasons to deploy VMware with Tegile

More from The Register

next story
NSA SOURCE CODE LEAK: Information slurp tools to appear online
Now you can run your own intelligence agency
Azure TITSUP caused by INFINITE LOOP
Fat fingered geo-block kept Aussies in the dark
NASA launches new climate model at SC14
75 days of supercomputing later ...
Yahoo! blames! MONSTER! email! OUTAGE! on! CUT! CABLE! bungle!
Weekend woe for BT as telco struggles to restore service
Cloud unicorns are extinct so DiData cloud mess was YOUR fault
Applications need to be built to handle TITSUP incidents
BOFH: WHERE did this 'fax-enabled' printer UPGRADE come from?
Don't worry about that cable, it's part of the config
Stop the IoT revolution! We need to figure out packet sizes first
Researchers test 802.15.4 and find we know nuh-think! about large scale sensor network ops
SanDisk vows: We'll have a 16TB SSD WHOPPER by 2016
Flash WORM has a serious use for archived photos and videos
Astro-boffins start opening universe simulation data
Got a supercomputer? Want to simulate a universe? Here you go
prev story

Whitepapers

Go beyond APM with real-time IT operations analytics
How IT operations teams can harness the wealth of wire data already flowing through their environment for real-time operational intelligence.
5 critical considerations for enterprise cloud backup
Key considerations when evaluating cloud backup solutions to ensure adequate protection security and availability of enterprise data.
Getting started with customer-focused identity management
Learn why identity is a fundamental requirement to digital growth, and how without it there is no way to identify and engage customers in a meaningful way.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.
Simplify SSL certificate management across the enterprise
Simple steps to take control of SSL across the enterprise, and recommendations for a management platform for full visibility and single-point of control for these Certificates.