Engineering Blog

Blog posts tagged 'Optimization'

Zizhuang YangEngineering

Every Millisecond Counts

Posted about 8 years ago

Site speed has always been an important factor in the development of Facebook, even as the site evolves over time to become more feature-rich and complex. As we grow beyond the 250 million user mark, every small change to the site causes a huge ripple, affecting throngs of web surfers and their experience on Facebook. My project this summer as an engineering intern on the Infrastructure team involved tackling this imposing fact by exploring data and finding out how various changes to fundamental parts of the user experience impacted and changed user behavior. Read more...

Designing the Facebook username land rush

Posted about 8 years ago
blog post · Web · Data · Caching · User Experience · Performance · Optimization · Testing

We recently hit a milestone of 50MM usernames a few weeks ago — in just over a month since we launched usernames on June 12. Ever since we launched usernames, we’ve had a lot of people express interest in understanding how we designed the system and prepared for this big event. In a recent post, my colleague Tom Cook wrote about the site reliability and infrastructure work that we did to ensure a smooth launch. As an extension to that post, I’ll discuss some specific application and system design issues here. Launching usernames to allow over 200 million (at the time — we’re now over 250 million) people to get a username at the same time presented some really interesting performance and site reliability challenges. The two main parts of the system that needed to scale were (1) the availability checker and (2) the username assigner. Since we were pre-generating suggestions for users, we needed to check availability of all the suggested names, which placed extra load on the availability checker. Read more...

Chris PiroEngineering

Chat Stability and Scalability

Posted about 9 years ago
blog post · Web · Data · Compute · Languages · Chat · Messages · Performance · Optimization · User Experience

Almost ten months ago we launched Facebook Chat to 70 million users. We ventured into a lot of new territories with this product: not only were there tricky web design and product issues, we needed to develop and launch a trio of new backend services to support all of Chat's functionality. Read more...

Behind the scenes with the new Facebook features in Apple’s iPhoto ’09

Posted about 9 years ago
blog post · Web · Culture · Photos · Optimization · User Experience

Apple recently announced that the new Faces feature converts iPhoto '09 name tags to Facebook name tags. Then they and their friends can view those photos in Facebook, and if other friends are tagged in Facebook, those tags will sync back to iPhoto ’09. This integration makes it really easy for Mac users to share and connect with others, which is central to what Facebook is all about as well. Engineers crave to work on things that are impactful and touch a lot of people. I joined Facebook three months ago knowing that I’d have such opportunities. Little did I know that my first project, helping bring Facebook features to Apple’s iPhoto ’09, would allow me to make an impact for Facebook so soon. To see my work at Macworld was a nice bonus! Technically speaking, this feature is a part of Facebook Connect and the APIs it provides. An interesting aspect of this particular feature is that it is designed to be bi-directional. This means one can modify photos in iPhoto ’09 or on Facebook and the changes will be reflected in both places. To support this bi-directional integration, we enhanced the photos APIs to help iPhoto ’09 determine when name tags are added on Facebook, keep them in sync with the iPhoto ’09 application, and provide familiar Facebook privacy controls to allow users to share these photos with the appropriate set of people. As a new engineer working on this project, I quickly experienced first-hand what many people told me about Facebook – it’s a place that has extremely smart and passionate people who are given the freedom to make the right decisions. The project had a great start thanks to Tracy Chou and the Connect team. It was an amazing experience to build on what they started and have my first project be something so substantive and prominent. It helped me realize the incredible opportunity one has at Facebook to help make the world more open and connected. Srinivas, a new engineer at Facebook, can’t wait to have pictures of his New Year revelry be shared to Facebook using iPhoto ’09. Read more...

Keep Updated

Stay up-to-date via RSS with the latest open source project releases from Facebook, news from our Engineering teams, and upcoming events.

Subscribe
Facebook © 2017