Engineering Blog

Blog posts tagged 'Optimization'

Yarn: A new package manager for JavaScript

Posted about a year ago

With Yarn, engineers have access to the npm registry while operating faster, more securely, and more reliably. Read more...

Guilherme OttoniSoftware engineer at Facebook

Redesigning the HHVM JIT compiler for better performance

Posted about a year ago

The redesign of the HHVM JIT has improved the CPU usage for running Facebook by about 15 percent. Read more...

Johannes KopfEngineering

360 video stabilization: A new algorithm for smoother 360 video viewing

Posted about a year ago
blog post · Research · Video · Performance · Optimization

The technology, custom-built for 360 video, reduces bit rate for the same video quality and can stabilize video in less time than it takes to play back the video at normal speed. Read more...

Dive into React Native performance

Posted about 2 years ago
blog post · Mobile · Open Source · Performance · Optimization · Android · iOS

We implemented several performance optimizations over the past year to make React Native app startup twice as fast. Read more...

Gautam RoySoftware engineer at Facebook

How we built Facebook Lite for every Android phone and network

Posted about 2 years ago

FB Lite is the fastest-growing version of Facebook, 100 million users in under nine months. Read more...

Evgeny KuzyakovVirtual Reality Hacker at Facebook

Gear VR to get Dynamic Streaming for 360 video

Posted about 2 years ago

A more efficient way of delivering 360 streaming video in VR will make videos look clearer and play faster. Read more...

Next-generation video encoding techniques for 360 video and VR

Posted about 2 years ago

Transforming 360 video from equirectangular layouts to a cube or pyramid format reduces file size and alleviates image distortion for a better immersive viewing experience. Read more...

Shaohua LiSoftware engineer at Facebook

Improving software RAID with a write-ahead log

Posted about 2 years ago

Software RAID has some drawbacks, which can be problematic at Facebook's scale. Using a write-ahead log can address some of these issues and improve reliability of the array. Read more...

Natansh VermaSoftware engineer at Facebook

Optimizing Facebook for iOS start time

Posted about 2 years ago
blog post · Mobile · Infra · iOS · Optimization · Performance · Testing

We broke the cold start problem into three stages that we could focus on individually. Each had its own set of variables and challenges. Read more...

Delyan KratunovEngineering

Performance instrumentation for Android apps

Posted about 2 years ago

Bytecode rewriting has allowed us to scale up our performance instrumentation, providing unique insights into the execution at runtime. Read more...

Under the hood: Building 360 video

Posted about 2 years ago

Chopping the video up, processing it on multiple machines, and stitching it back together without any glitches or loss of audiovisual synchronization is tricky. Read more...

Optimizing Android bytecode with ReDex

Posted about 2 years ago
blog post · Mobile · Android · Performance · Optimization

The Facebook Mobile Performance Team optimized Java bytecode for Android through a project called Redex. Read more...

The technology behind preview photos

Posted about 2 years ago
blog post · Mobile · Photos · User Experience · Performance · Optimization

How a change in preview photos helped speed up profile and page loads by 30 percent. Read more...

Clément GenzmerEngineering

Delivering high scroll performance

Posted about 2 years ago
blog post · iOS · Optimization

We've developed a strategy to identify where frame drops come from in a complicated scroll view with highly variable content. Read more...

Jeffrey WielandEngineering

Introducing the Accessibility Toolkit

Posted about 3 years ago

How do you incorporate accessibility within the company's existing engineering environment?. Read more...

Erin GreenEngineering

F8: Big technology bets and open source announcements

Posted about 3 years ago

The second day of F8 — Facebook's annual developer conference — was dedicated to the future of communications technology. Read more...

Erin GreenEngineering

Inside Wikipedia's transition to HHVM

Posted about 3 years ago
blog post · Infra · Web · Backend · Open Source · Performance · Optimization · User Experience · Caching · PHP · HipHopmore

Inside Wikipedia's transition to HHVM. Read more...

Flow, a new static type checker for JavaScript

Posted about 3 years ago

Introducing Flow, a new open-source static type checker for JavaScript. Flow adds static typing to JavaScript to improve developer productivity and code quality. Read more...

Adam ErnstiOS Developer at Facebook

Making News Feed nearly 50% faster on iOS

Posted about 3 years ago
blog post · Mobile · Data · iOS · News Feed · User Experience · Optimization · Performance · Framework · Caching · Storage · Testingmore

We realized that while Core Data had served us well in the beginning, we needed to go without some of its features to accommodate our scale. We set about replacing it with our own solution, resulting in News Feed performing nearly 50% faster on iOS. Read more...

Debugging file corruption on iOS

Posted about 3 years ago
blog post · Mobile · Infra · iOS · Platform · Performance · Optimization

Recently, we solved a long-term mobile debugging problem and reduced the crash rate for people using the Facebook for iOS app by more than 50 percent. Read more...

Qiang WuInfrastructure Software Engineer at Facebook

Making Facebook’s software infrastructure more energy efficient with Autoscale

Posted about 3 years ago

Improving energy efficiency and reducing environmental impact as we scale is a top priority for our data center teams. We’ve talked a lot about our progress on energy-efficient hardware and data center design through the Open Compute Project, but we’ve also started looking at how we could improve the energy efficiency of our software. We explored multiple avenues, including power modeling and profiling, peak power management, and energy-proportional computing. One particularly exciting piece of technology that we developed is a system for power-efficient load balancing called Autoscale. Autoscale has been rolled out to production clusters and has already demonstrated significant energy savings. Read more...

Alex SourovSoftware Engineer / Engineering Manager / Product Manager at Facebook

Improving Facebook on Android

Posted about 3 years ago

In an effort to connect the next five billion, Facebook began to shift to a mobile-first company about two years ago. We trained hundreds of employees on mobile development, restructured internal teams to build for all platforms, and moved to a fast-paced release cycle. Read more...

Nick PetroEngineering

F8 Developer Conference - Hacker Way Recap

Posted about 3 years ago
blog post · Data · Infra · Mobile · Web · Performance · Optimization · Open Source · Hack · Messages · Design Tools · Android · iOSmore

Over 1,700 developers traveled to the Concourse Exhibition Center in San Francisco for Facebook’s F8 Developer Conference last week. Read more...

Joel PobarEngineering

Hack Developer Day Recap

Posted about 4 years ago

A few weeks ago, Facebook introduced and open-sourced Hack, a gradually-typed programming language for HHVM that interoperates seamlessly with PHP. Yesterday we hosted our first Hack Developer Day to bring together members of the developer community for a deeper dive into Hack and HHVM. Read more...

Large-scale graph partitioning with Apache Giraph

Posted about 4 years ago
blog post · Infra · Data · Open Source · Graph · Graph Search · Performance · Optimization

Facebook’s architecture relies on various services that answer queries about people and their friends. Because of the size of the dataset, number of queries per second, and latency requirements, many of these systems cannot run on a single machine. Instead, people and their metadata are sharded across several machines. In such a distributed environment, answering queries might require communication among all these servers. Read more...

Scott GoodsonEngineering Manager for Paper at Facebook

Building Paper

Posted about 4 years ago

A few weeks ago we launched Paper, a new app to explore content from your friends and the world around you—with built-in access to all the core features of Facebook. Through the process of implementing the fresh design and creating about 20 new categories of content, the team has developed new frameworks and architectural approaches to address the toughest challenges we encountered. In a series of blog posts, tech talks, and open source releases, we hope to give a comprehensive overview of the key parts of Paper's implementation and share some of our most valuable lessons learned while building this interaction-rich app on iOS. Read more...

Scaling Mercurial at Facebook

Posted about 4 years ago
blog post · Infra · Open Source · Performance · Optimization

With thousands of commits a week across hundreds of thousands of files, Facebook's main source repository is enormous--many times larger than even the Linux kernel, which checked in at 17 million lines of code and 44,000 files in 2013. Given our size and complexity—and Facebook's practice of shipping code twice a day--improving our source control is one way we help our engineers move fast. 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