The Facebook Blog
We asked ourselves this question more than once while working on improvements to search in March 2006. At the time, there were bigger search engines out there, including some good open source ones, that we could have used to power Facebook search results. However, we decided that searches carried out on Facebook had a particular structure that only we could understand and optimize for. We wrote a crawler for the site, created an in-memory reverse index using both hashes and ternary tries and created a ranking system that scaled to return unique results for over 28 million user profiles.
Some quick stats about Facebook search:
Facebook search results are sorted by an approximation of social graph distance. People closer to you in the graph—your friends and people in your networks—are likely to be more relevant to you and thus are ranked higher. We also use this concept of "social proximity" to order results within applications like groups and events. Facebook search's key differentiator is that search results are unique to every user because they are based on a individual's place in the social graph.
We have big plans to improve Facebook search in the upcoming months. We want to leverage the power of the social graph to further improve the quality of the results and ensure that you find what you are looking for on Facebook.
Aditya Agarwal, a Facebook Tech Lead, is searching for an answer...
Some quick stats about Facebook search:
- Over 600 million searches per month. This makes us one of the top 20 search engines on the web in terms of number of searches.
- Approximately 1 terabyte of in-memory data.
- Average search query time of less than 100ms.
- Most used people search engine on the web.
Facebook search results are sorted by an approximation of social graph distance. People closer to you in the graph—your friends and people in your networks—are likely to be more relevant to you and thus are ranked higher. We also use this concept of "social proximity" to order results within applications like groups and events. Facebook search's key differentiator is that search results are unique to every user because they are based on a individual's place in the social graph.
We have big plans to improve Facebook search in the upcoming months. We want to leverage the power of the social graph to further improve the quality of the results and ensure that you find what you are looking for on Facebook.
Aditya Agarwal, a Facebook Tech Lead, is searching for an answer...
At Facebook, we believe that every engineer has a great idea within them. We had a Hackathon last week, and it was a chance for each engineer to surface this idea and spend a night cranking away on it.
Hackathon is a chance to work on the ideas we have been thinking about for last couple of months, to change the "That would be hot!" sentiment to something real and live on the site. The objective is to create something interesting by the end of the night that you can get feedback on from your peers and coworkers.
There were some rather memorable moments of this Hackathon. A fridge stocked with Red Bull kicked off the evening. When projects were announced at the opening gather-round, I realized what a rich pool of talent we have in the office and was anxious to see what the night would produce.
There was the 2am feeding frenzy during which 40 burgers were devoured in about three minutes. And to top it all off, there was a breakfast run to IHOP that took us about 2 hours to get served. My advice: Don't roll in 45 deep to an IHOP at 6am.
Hackathon is a chance to work on the ideas we have been thinking about for last couple of months, to change the "That would be hot!" sentiment to something real and live on the site. The objective is to create something interesting by the end of the night that you can get feedback on from your peers and coworkers.
There were some rather memorable moments of this Hackathon. A fridge stocked with Red Bull kicked off the evening. When projects were announced at the opening gather-round, I realized what a rich pool of talent we have in the office and was anxious to see what the night would produce.
There was the 2am feeding frenzy during which 40 burgers were devoured in about three minutes. And to top it all off, there was a breakfast run to IHOP that took us about 2 hours to get served. My advice: Don't roll in 45 deep to an IHOP at 6am.

The best story ever showed up on just about everyone's News Feed around 5am.
Watch out for some cool things to come out of our most recent Hackathon. "Photos of you and friend," an iPhoto exporter, and Ajax-ed wall posts (so you can post on a friend's Wall without leaving the profile page) were all made over the course of the night. Other fun additions were the ability to access Facebook on a Nintendo Wii!
There were plenty of other great ideas that may make their way into the site or into other projects over time…Facebook pets still might not happen, but someone got to spend the time on it, just because they wanted to.
Aditya is a Facebook engineer. His Hackathon project isn't going to be released on Facebook...yet.
Publicações Arquivadas por Data
2009
Novembro (12)
Outubro (17)
Setembro (10)
Agosto (10)
Julho (10)
Junho (13)
Maio (13)
Abril (13)
Março (14)
Fevereiro (13)
Janeiro (8)
2008
Dezembro (15)
Novembro (14)
Outubro (12)
Setembro (9)
Agosto (2)
Julho (3)
Junho (6)
Maio (5)
Abril (6)
Março (2)
Fevereiro (4)
Janeiro (3)
2007
Dezembro (4)
Novembro (4)
Outubro (1)
Setembro (3)
Agosto (4)
Julho (4)
Junho (2)
Maio (5)
Abril (9)
Março (8)
Fevereiro (7)
Janeiro (4)
2006
Dezembro (3)
Novembro (6)
Outubro (5)
Setembro (7)
Agosto (4)
Archived Posts by Blogger
Abraham Cooper (1)
Adam Conner (4)
Adam Hupp (1)
Aditya Agarwal (2)
Akhil Wable (1)
Alex Moskalyuk (1)
Alexandre Roche (3)
Alok Menghrajani (1)
Annie Ta (2)
Ari Steinberg (2)
Arjun Banker (1)
Austin Haugen (1)
Barbara Fischkin (1)
Barry Schnitt (1)
Benjamin Ling (1)
Bikash Agarwalla (1)
Blair Heuer (1)
Blaise DiPersia (1)
Blake Chandlee (1)
Bo Hong Deng (1)
Bob Trahan (2)
Brian Shire (1)
Brynn Shepherd (1)
Cameron Marlow (1)
Carl R. Augusto (1)
Carolyn Abram (11)
Cat Lee (3)
Chad Little (2)
Chengos Lim (1)
Chris Cox (2)
Chris Hughes (2)
Chris Kelly (4)
Chris Putnam (3)
Chris Ward (1)
Craig Donato (1)
Dan Rose (1)
Daniel Chai (1)
Danna Gutman (1)
Dave Fetterman (1)
Dave Morin (1)
Doug Beaver (2)
Dustin Moskovitz (1)
Elizabeth Linder (2)
Elliot Schrage (2)
Eric Kwan (1)
Eric Zamore (1)
Evan Priestley (1)
Everett Katigbak (1)
Ezra Callahan (8)
Florin Ratiu (1)
Gareth Davis (1)
Gene Fant (1)
Ghassan Haddad (1)
Gibson Biddle (1)
Graeme Menzies (1)
Harry Huai Wang (4)
Henri Moissinac (1)
Jack Lindamood (1)
Jake Brill (1)
James Wang (2)
Jared Cohen (1)
Jason Min (1)
Jason Sobel (1)
Jeff Kanter (1)
Jeff Williams (1)
Jeffrey Wieland (1)
Jesse Dwyer (1)
Jessica Ghastin (1)
Jimmy Lavoie (1)
Joanna Lee (1)
Joe Green (1)
Joe Hewitt (3)
Joe Sullivan (1)
Joel Seligstein (1)
Jon Fougner (2)
Jon Warman (2)
Jonathan Hsu (1)
Josh Elman (1)
Josh Wiseman (2)
Julie Trescott (1)
Julie Zhuo (2)
Justin Bishop (1)
Justin Mitchell (1)
KC Estenson (1)
Kari Lee (1)
Kate Losse (3)
Kathy H. Chan (4)
Katie Carter (2)
Katie Geminder (6)
Kevin Arata (1)
Kevin Der (1)
Leah Pearlman (5)
Lee Byron (1)
Lisa P. Jackson (1)
Liz Perle (1)
Luke Shepard (1)
Makinde Adeagbo (1)
Malorie Lucich (1)
Marcia Velencia (1)
Mark Kinsey (2)
Mark Slee (9)
Mark Zuckerberg (18)
Matt Cahill (1)
Max Kelly (3)
Melissa Luu-Van (1)
Melody Quintana (1)
Michael B Kaiser (1)
Michael Gummelt (1)
Michael Richter (1)
Mike Honda (1)
Naomi Gleit (4)
Natalie Minor (1)
Navid Mansourian (1)
Nico Vera (3)
Nikki M. Flatley (1)
Paul C. Jeffries (1)
Paul Janzer (1)
Paul McDonald (1)
Pedram Keyani (1)
Pete Bratach (1)
Peter X. Deng (2)
Philip Fung (3)
Prashant Malik (1)
Randi Zuckerberg (5)
Raylene Yung (1)
Richard Allan (1)
Rob Goodlatte (1)
Robert Johnson (1)
Roddy Lindsay (2)
Ruchi Sanghvi (1)
Ryan McGeehan (3)
Sam O'Rourke (1)
Sameer Moidu (1)
Sandra Liu Huang (1)
Sara Lannin (3)
Sasha Rosse (1)
Scott Marlette (1)
Scott Mills (1)
Shaun King (1)
Shervin Pishevar (1)
Sheryl Sandberg (1)
Simon Axten (3)
Sophia Huang (1)
Steven Grimm (1)
Suzie White (1)
Ted Ullyot (1)
Teddy Underwood (1)
Tim Sparapani (1)
Tom Occhino (1)
Tom Whitnah (4)
Victor Valdez (1)
Wayne Chang (3)
Will Chen (3)
Xenia Nosov (1)
Yair Landau (1)
Yishan Wong (1)

