Feeds

Facebook open sources production code

"Folly" trove full of high performance widgets hits GitHub

  • alert
  • submit to reddit

HP ProLiant Gen8: Integrated lifecycle automation

Facebook has released Folly, a collection of what it describes as “reusable C++ library artifacts developed and used at Facebook.”

The trove awaits on GitHub and comprises around 50 items.

Jordan DeLong, a Facebook software engineer, explained “Our primary aim with this 'foolishness' is to create a solution that allows us to continue open sourcing parts of our stack without resorting to reinventing some of our internal wheels.” He also talks up the open source love, saying Facebook could not have been built without open source kit.

DeLong describes the code as follows:

The utilities contained in Folly are things we use heavily in production—this is code that runs on thousands of servers doing work on behalf of 900 million users every day. These utilities are loosely connected, but the over-arching theme for all of the components is high performance at scale. Some of them will show a fairly specialized focus, like reducing contention or packing things into small amounts of memory. Others, such as our in-memory JSON manipulation library or our string-formatting library, have a larger scope. But in either case, our motivation was to build components that were faster and more efficient than what we previously used.

DeLong's post announcing the release modestly says Folly is very easy to use, contains “components [that] typically perform significantly faster than counterparts available elsewhere,“ and “... even offer a step forward in terms of programmer convenience.”

On the Github README, however, he's a little more candid, writing that:

“Performance concerns permeate much of Folly, sometimes leading to designs that are more idiosyncratic than they would otherwise be . Good performance at large scale is a unifying theme in all of Folly.”

This won't be the last time Facebook does something like this: DeLong's post says “This initial release is definitely in the spirit of 'release early, release often.' We will continue to update the open source tree as new Folly components are added, so you can expect to see more of this on github in the future.” ®

Maximizing your infrastructure through virtualization

More from The Register

next story
Google Nest, ARM, Samsung pull out Thread to strangle ZigBee
But there's a flaw in Google's IP-based IoT system
Orange spent weekend spamming customers with TXTs
Zero, not infinity, is the Magic Number customers want
Want to beat Verizon's slow Netflix? Get a VPN
Exec finds stream speed climbs when smuggled out
US freemium mobile network eyes up Europe
FreedomPop touts 'free' calls, texts and data
'Two-speed internet' storm turns FCC.gov into zero-speed website
Deadline for comments on net neutrality shake-up extended to Friday
GoTenna: How does this 'magic' work?
An ideal product if you believe the Earth is flat
NBN Co execs: No FTTN product until 2015
Faster? Not yet. Cheaper? No data
prev story

Whitepapers

Top three mobile application threats
Prevent sensitive data leakage over insecure channels or stolen mobile devices.
The Essential Guide to IT Transformation
ServiceNow discusses three IT transformations that can help CIO's automate IT services to transform IT and the enterprise.
Mobile application security vulnerability report
The alarming realities regarding the sheer number of applications vulnerable to attack, and the most common and easily addressable vulnerability errors.
How modern custom applications can spur business growth
Learn how to create, deploy and manage custom applications without consuming or expanding the need for scarce, expensive IT resources.
Consolidation: the foundation for IT and business transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.