{"id":166,"date":"2020-12-30T17:00:18","date_gmt":"2020-12-30T17:00:18","guid":{"rendered":"https:\/\/fde.cat\/index.php\/2020\/12\/30\/2020-year-in-review-connectivity-innovations-faster-apps-and-progress-toward-net-zero\/"},"modified":"2021-02-02T13:44:49","modified_gmt":"2021-02-02T13:44:49","slug":"2020-year-in-review-connectivity-innovations-faster-apps-and-progress-toward-net-zero","status":"publish","type":"post","link":"https:\/\/fde.cat\/index.php\/2020\/12\/30\/2020-year-in-review-connectivity-innovations-faster-apps-and-progress-toward-net-zero\/","title":{"rendered":"2020 year in review: Connectivity innovations, faster apps, and progress toward net zero"},"content":{"rendered":"<p><span>It goes without saying that 2020 has been a challenging year, to put it lightly. But if anything, the COVID-19 pandemic has shined a light on our need to connect as people. For Facebook, that meant our work has become more important than ever. Whether it was finding new and innovative ways to expand internet connectivity, releasing new tools for engineers and developers, or lowering our greenhouse gas emissions and staying on track toward achieving 100 percent renewable power, we\u2019re pleased to have made great progress on essential work at such a difficult time.<\/span><a name=\"top\"><\/a><br \/>\n<span>Here\u2019s a look back at some of our biggest stories from 2020.<\/span><br \/>\n<a name=\"reliability\"><\/a><\/p>\n<p><strong><a href=\"https:\/\/engineering.fb.com\/#reliability\">Reliability <\/a>| <a href=\"https:\/\/engineering.fb.com\/#connectivity\">Connectivity <\/a>| <a href=\"https:\/\/engineering.fb.com\/#sustain\">Sustainability<\/a> | <a href=\"https:\/\/engineering.fb.com\/#open\">Open Source<\/a><\/strong><\/p>\n<h2><span>Reliability<\/span><\/h2>\n<h3><a href=\"https:\/\/engineering.fb.com\/2020\/03\/02\/data-infrastructure\/messenger\/\"><span>We made Messenger faster, smaller, and simpler<\/span><\/a><\/h3>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-14099 size-full\" src=\"https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/03\/Lightspeed_Hero.jpeg?resize=750%2C422&#038;ssl=1\" alt=\"In 2020, we built a lighter, faster version of Messenger\" width=\"750\" height=\"422\" srcset=\"https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/03\/Lightspeed_Hero.jpeg?resize=750%2C422&#038;ssl=1 2000w, https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/03\/Lightspeed_Hero.jpeg?resize=750%2C422&#038;ssl=1?resize=580,326 580w, https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/03\/Lightspeed_Hero.jpeg?resize=750%2C422&#038;ssl=1?resize=916,515 916w, https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/03\/Lightspeed_Hero.jpeg?resize=750%2C422&#038;ssl=1?resize=768,432 768w, https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/03\/Lightspeed_Hero.jpeg?resize=750%2C422&#038;ssl=1?resize=1024,576 1024w, https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/03\/Lightspeed_Hero.jpeg?resize=750%2C422&#038;ssl=1?resize=1536,864 1536w, https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/03\/Lightspeed_Hero.jpeg?resize=750%2C422&#038;ssl=1?resize=96,54 96w, https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/03\/Lightspeed_Hero.jpeg?resize=750%2C422&#038;ssl=1?resize=192,108 192w\" sizes=\"auto, (max-width: 992px) 100vw, 62vw\" data-recalc-dims=\"1\"><\/p>\n<p><span>In 2020, we rolled out a faster, better version of<\/span><a href=\"https:\/\/engineering.fb.com\/2020\/03\/02\/data-infrastructure\/messenger\/\"> <span>Messenger for iOS<\/span><\/a><span>. Engineers from across Facebook came together and rebuilt Messenger from the ground up, rewriting its entire codebase. Project LightSpeed, as it was called internally, involved reconfiguring Messenger to use the native OS wherever possible, reusing the UI with dynamic templates powered by SQLite, using SQLite as a universal system, and building a server broker to operate as a universal gateway between Messenger and its server features.<\/span><\/p>\n<p><span>The new Messenger for iOS is one-fourth the size of the previous version and runs twice as fast, with 84 percent fewer lines of code.<\/span><\/p>\n<h3><a href=\"https:\/\/engineering.fb.com\/2020\/05\/08\/web\/facebook-redesign\/\"><span>We rebuilt the Facebook web app from the ground up<\/span><\/a><\/h3>\n<p><span>A complete rewrite of a web app like Facebook is extremely rare. But sometimes you have to take a step back to make<\/span><a href=\"https:\/\/engineering.fb.com\/2020\/05\/08\/web\/facebook-redesign\/\"> <span>a big leap forward<\/span><\/a><span>. When Facebook first launched in 2004, it was a simple, server-rendered PHP site. But we knew the only way to achieve our new goals and sustain our growth for the future was to redesign the architecture of Facebook.com. We accomplished this using <\/span><a href=\"https:\/\/reactjs.org\/\"><span>React<\/span><\/a><span> (a declarative JavaScript library for building user interfaces) and <\/span><a href=\"https:\/\/relay.dev\/\"><span>Relay<\/span><\/a><span> (a GraphQL client for React).<\/span><\/p>\n<h3><a href=\"https:\/\/engineering.fb.com\/2020\/10\/21\/networking-traffic\/how-facebook-is-bringing-quic-to-billions\/\"><span>We\u2019re bringing QUIC to billions of people<\/span><\/a><\/h3>\n<p><span>We are replacing TCP, the de facto protocol the internet has used for decades, with <\/span><a href=\"https:\/\/engineering.fb.com\/2020\/10\/21\/networking-traffic\/how-facebook-is-bringing-quic-to-billions\/\"><span>QUIC<\/span><\/a><span>, a new protocol that represents the latest and greatest in internet-focused protocols, incorporating decades of best practices and lessons.<\/span><\/p>\n<p><span>Today, more than 75 percent of Facebook\u2019s internet traffic uses QUIC and HTTP\/3 (we refer to QUIC and HTTP\/3 together as QUIC), and the new protocol has shown significant improvements in several metrics, including request errors, tail latency, response header size, and several others that meaningfully affect the experience of people using our apps.<\/span><\/p>\n<h3><a href=\"https:\/\/engineering.fb.com\/2020\/12\/09\/data-center-engineering\/how-facebook-keeps-its-large-scale-infrastructure-hardware-up-and-running\/\"><span>Automation and machine learning keep our infrastructure hardware up and running<\/span><\/a><\/h3>\n<p><span>We\u2019ve introduced <\/span><a href=\"https:\/\/engineering.fb.com\/2020\/12\/09\/data-center-engineering\/how-facebook-keeps-its-large-scale-infrastructure-hardware-up-and-running\/\"><span>four important methodologies<\/span><\/a><span> that help us manage server hardware failures at our scale with as little disruption to our services as possible. This includes systems that can detect and remediate issues and monitor and remediate hardware events without adversely affecting application performance. We\u2019ve also used machine learning to take a proactive approach toward hardware repairs. And we\u2019ve automated our root cause analysis for hardware and system failures at scale.<\/span><\/p>\n<h3><a href=\"https:\/\/engineering.fb.com\/2020\/03\/05\/developer-tools\/incident-tracker\/\"><span>New tools make our engineers\u2019 jobs easier<\/span><\/a><\/h3>\n<p><span>We continue to build tools and systems that help our engineers optimize our apps and develop new features. Two of our latest are <\/span><a href=\"https:\/\/engineering.fb.com\/2020\/03\/05\/developer-tools\/incident-tracker\/\"><span>Health Compass and Incident Tracker<\/span><\/a><span>,<\/span><span> automated regression detection tools that prevent codebase changes that could impede an app\u2019s performance. Our codebase changes frequently throughout the day, and if not handled properly, each of these changes could negatively affect our apps\u2019 performance for billions of people around the world. <\/span><\/p>\n<h3><a href=\"https:\/\/research.fb.com\/publications\/softsku-optimizing-server-architectures-for-microservice-diversity-scale\/\"><span>We\u2019re optimizing our hardware for microservices<\/span><\/a><\/h3>\n<p><span>As our product portfolio grows, along with the number of people using those products, so do the variety and complexity of microservices (smaller services that make up a larger one) in our data centers. <\/span><span>To handle this, we\u2019ve been rolling out new tools <\/span><span>to improve the performance of the hardware that runs our microservices.<\/span><\/p>\n<p><a href=\"https:\/\/research.fb.com\/publications\/softsku-optimizing-server-architectures-for-microservice-diversity-scale\/\"><span>SoftSKU<\/span><\/a><span>, for example,<\/span> <span>is a novel method for tuning existing server processors to optimize them for specific microservices without requiring any additional hardware.<\/span><span> Coupled with<\/span><a href=\"https:\/\/research.fb.com\/publications\/accelerometer-understanding-acceleration-opportunities-for-data-center-overheads-at-hyperscale\/\"> <span>Accelerometer<\/span><\/a><span>, <\/span><span>an analytical model that allows us to predict how much an optimization will speed up a microservice, SoftSKU helps our engineers optimize our hardware platforms.<\/span><\/p>\n<p><a href=\"https:\/\/engineering.fb.com\/#top\"><span>Back to the top<\/span><\/a> <a name=\"connectivity\"><\/a><\/p>\n<h2><span>Connectivity<\/span><\/h2>\n<h3><a href=\"https:\/\/engineering.fb.com\/2020\/07\/13\/connectivity\/aerial-fiber-deployment\/\"><span>We\u2019re using robots to install fiber-optic internet cables<\/span><\/a><\/h3>\n<p>\n<span>Fiber optics is one of our best allies when it comes to meeting global demand for high-capacity, low-cost networks. But it needs to be brought from the backbone closer to the end user. Facebook Connectivity, in collaboration with several partners, has spent the last few years <\/span><a href=\"https:\/\/engineering.fb.com\/2020\/07\/13\/connectivity\/aerial-fiber-deployment\/\"><span>developing an aerial fiber deployment solution<\/span><\/a><span> that uses an autonomous robot to safely deploy a specialized fiber-optic cable on medium-voltage power lines.<\/span><\/p>\n<p><span>The robot was designed by<\/span> <a href=\"https:\/\/ulcrobotics.com\/\"><span>ULC Robotics<\/span><\/a><span> and features a vision system that allows it to identify and clear obstacles while maintaining the safe distance required to prevent an electrical hazard. Each robot can install over a kilometer of fiber in approximately an hour and a half. We have been conservatively estimating an overall build speed of 1.5 km to 2 km per robot, per day, on average. <\/span><\/p>\n<h3><a href=\"https:\/\/engineering.fb.com\/2020\/05\/13\/connectivity\/2africa\/\"><span>2Africa expands internet connectivity throughout Africa<\/span><\/a><span>\u00a0<\/span><\/h3>\n<p><span><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-15085 size-full\" src=\"https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/05\/Ship-Image.jpg?resize=750%2C422&#038;ssl=1\" alt=\"2020 year in review - 2Africa is a transformative subsea cable to better connect Africa\" width=\"750\" height=\"422\" srcset=\"https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/05\/Ship-Image.jpg?resize=750%2C422&#038;ssl=1 2000w, https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/05\/Ship-Image.jpg?resize=750%2C422&#038;ssl=1?resize=580,326 580w, https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/05\/Ship-Image.jpg?resize=750%2C422&#038;ssl=1?resize=916,515 916w, https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/05\/Ship-Image.jpg?resize=750%2C422&#038;ssl=1?resize=768,432 768w, https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/05\/Ship-Image.jpg?resize=750%2C422&#038;ssl=1?resize=1024,576 1024w, https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/05\/Ship-Image.jpg?resize=750%2C422&#038;ssl=1?resize=1536,864 1536w, https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/05\/Ship-Image.jpg?resize=750%2C422&#038;ssl=1?resize=96,54 96w, https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/05\/Ship-Image.jpg?resize=750%2C422&#038;ssl=1?resize=192,108 192w\" sizes=\"auto, (max-width: 992px) 100vw, 62vw\" data-recalc-dims=\"1\">Facebook partnered with leading African and global operators to build <a href=\"https:\/\/engineering.fb.com\/2020\/05\/13\/connectivity\/2africa\/\">2Africa<\/a>, the most comprehensive subsea cable to serve the African continent and Middle East region. It\u2019s one of the largest subsea cable projects in the world and will interconnect 23 countries in Africa, the Middle East, and Europe.<\/span><\/p>\n<p><span>Submarine fiber optic cables, or subsea cables, are not well known, but they <\/span><a href=\"https:\/\/engineering.fb.com\/2020\/11\/19\/connectivity\/subsea-cables\/\"><span>play a very important role<\/span><\/a><span> in expanding connectivity around the world. Africa is currently the least connected continent, with just over a quarter of its 1.3 billion people connected to the internet. At 37,000 km long, 2Africa will be nearly equal to the circumference of the Earth. It will provide nearly three times the total network capacity of all the subsea cables serving Africa today. When completed, this new route will deliver much-needed internet capacity, redundancy, and reliability across Africa; supplement a rapidly increasing demand for capacity in the Middle East; and support further growth of 4G, 5G, and broadband access for hundreds of millions of people. <\/span><\/p>\n<p><span>RTI International, an independent nonprofit research institute, has released an<\/span><a href=\"https:\/\/www.rti.org\/publication\/economic-impact-2africa\"> <span>economic impact report<\/span><\/a><span> that estimates that 2Africa will likely increase the GDP of the African continent by 0.42 percent to 0.58 percent within the first two to three years of its going live in 2023\u201324.<\/span><\/p>\n<h3><a href=\"https:\/\/engineering.fb.com\/2020\/12\/03\/connectivity\/supercell-reaching-new-heights-for-wider-connectivity\/\"><span>We developed a cell tower solution to bring connectivity to rural communities<\/span><\/a><\/h3>\n<p>\n<span>As part of our efforts to help expand connectivity around the world, Facebook Connectivity is prototyping <\/span><a href=\"https:\/\/engineering.fb.com\/2020\/12\/03\/connectivity\/supercell-reaching-new-heights-for-wider-connectivity\/\"><span>SuperCell<\/span><\/a><span>, a new wide-area coverage solution. SuperCell leverages towers up to 250 meters high and high-gain, narrow-sectored antennas to increase mobile connectivity in rural communities in a way that is sustainable and cost-effective. After working with telecom industry partners to conduct several trials and data analyses, we hope the test results will encourage the telecom industry to bring the technology to market.<\/span><\/p>\n<h3><a href=\"https:\/\/engineering.fb.com\/2020\/12\/17\/connectivity\/evenstar\/\"><span>Evenstar and other novel solutions are making broadband more affordable for everyone<\/span><\/a> <span>\u00a0<\/span><\/h3>\n<p><span>As the COVID-19 pandemic has made us more dependent than ever on internet access for work, school, and staying connected, it\u2019s also driven home the importance of creating an infrastructure that can support the internet\u2019s rapid growth. As part of the Telecom Infra Project\u2019s <\/span><a href=\"https:\/\/telecominfraproject.com\/openran\/\"><span>OpenRAN Project Group<\/span><\/a><span>, Facebook launched the<\/span><a href=\"https:\/\/engineering.fb.com\/2020\/12\/17\/connectivity\/evenstar\/\"> <span>Evenstar<\/span><\/a><span> program, which will focus on building general-purpose radio access network (RAN) reference designs for 4G\/5G networks in the Open RAN ecosystem that are aligned with 3GPP and O-RAN specifications.<\/span><\/p>\n<p><span>We launched Evenstar remote radio units (RRU) together with partners including AceAxis, Deutsche Telekom, Mavenir, MTI, Parallel Wireless, and Vodafone. The RRU hardware, distributed unit, and control unit software are traditionally sold as a package. By decoupling them, we\u2019re giving mobile network operators the ability to select best-of-breed components and the flexibility to deploy solutions from an increasing number of technology providers. <\/span><\/p>\n<p><span>The first Evenstar RRU product has already completed lab testing and is ready for field testing.<\/span><\/p>\n<p><span>Evenstar is only the latest in our<\/span><a href=\"https:\/\/engineering.fb.com\/2020\/02\/25\/connectivity\/mobile-world-congress-2020\/\"> <span>continued efforts<\/span><\/a><span> to <\/span><span>bring lower-cost broadband access to more people by leveraging new technologies, business models, and <\/span><span>programs<\/span><span>.<\/span><span> Companies in Puerto Rico and Malaysia have already launched pilot programs for<\/span><a href=\"https:\/\/engineering.fb.com\/video\/terragraph-engineering\/\"> <span>Terragraph<\/span><\/a><span>, a gigabit wireless technology that delivers fiberlike speeds.<\/span><\/p>\n<p><span>At<\/span><a href=\"https:\/\/engineering.fb.com\/2020\/02\/25\/connectivity\/mobile-world-congress-2020\/\"> <span>Mobile World Congress 2019<\/span><\/a><span>, we open-sourced <\/span><a href=\"https:\/\/engineering.fb.com\/2019\/02\/25\/open-source\/magma\/\"><span>Magma<\/span><\/a><span>, a software platform that enables network operators to have an open, flexible, and extensible mobile core network. Since that announcement, Magma has quickly become the packet core of choice for operators and system integrators around the globe.<\/span><\/p>\n<p><a href=\"https:\/\/engineering.fb.com\/#top\"><span>Back to the top<\/span><\/a><a name=\"sustain\"><\/a><\/p>\n<h2><span>Sustainability<\/span><\/h2>\n<h3><a href=\"https:\/\/engineering.fb.com\/2020\/09\/14\/data-center-engineering\/net-zero-carbon\/\"><span>We\u2019re committed to achieving net zero emissions<\/span><\/a><\/h3>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-16699 size-full\" src=\"https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/09\/netzero.jpg?resize=750%2C422&#038;ssl=1\" alt=\"In 2020, we announced our goal to reach net zero and stepped up the fight against climate change\" width=\"750\" height=\"422\" srcset=\"https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/09\/netzero.jpg?resize=750%2C422&#038;ssl=1 1920w, https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/09\/netzero.jpg?resize=750%2C422&#038;ssl=1?resize=580,326 580w, https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/09\/netzero.jpg?resize=750%2C422&#038;ssl=1?resize=916,515 916w, https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/09\/netzero.jpg?resize=750%2C422&#038;ssl=1?resize=768,432 768w, https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/09\/netzero.jpg?resize=750%2C422&#038;ssl=1?resize=1024,576 1024w, https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/09\/netzero.jpg?resize=750%2C422&#038;ssl=1?resize=1536,864 1536w, https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/09\/netzero.jpg?resize=750%2C422&#038;ssl=1?resize=96,54 96w, https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/09\/netzero.jpg?resize=750%2C422&#038;ssl=1?resize=192,108 192w\" sizes=\"auto, (max-width: 992px) 100vw, 62vw\" data-recalc-dims=\"1\"><\/p>\n<p><span>Two years ago, we <\/span><a href=\"https:\/\/about.fb.com\/news\/2018\/08\/renewable-energy\/\"><span>announced our commitment<\/span><\/a><span> to reduce our greenhouse gas emissions by 75 percent and support our global operations with 100 percent renewable energy by the end of 2020. Accomplishing this meant constructing over 5,400 megawatts of new solar and wind power capacity around the world (enough to power 1.5 million U.S. households). Doing this has also reduced our carbon dioxide equivalent emissions by more than 2.6 million metric tons over the last three years.<\/span><\/p>\n<p><span>This year, we announced an even more aggressive goal: to reduce the carbon emissions that come from our supply chain and to achieve <\/span><a href=\"https:\/\/tech.fb.com\/facebooks-path-to-net-zero\/\"><span>net zero emissions for our value chain in 2030<\/span><\/a><span>. A big part of this will be reexamining our construction materials and how server and consumer hardware are manufactured. <\/span><\/p>\n<h3><a href=\"https:\/\/engineering.fb.com\/2020\/07\/07\/data-center-engineering\/sustainability-report\/\"><span>We\u2019re delivering on our sustainability goals<\/span><\/a><\/h3>\n<p><span>Facebook followed through on its commitment to sustainable and transparent business practices by publishing our inaugural <\/span><a href=\"http:\/\/sustainability.fb.com\/sustainability-report-2019\"><span>Sustainability Report<\/span><\/a> <span>in July. While we\u2019ve already shared much of our environmental data publicly, our goal with this report was to make our progress even more accessible and to provide clear information on the work we\u2019re doing to reach our sustainability goals. The report offered a closer look at the sustainability progress we made in 2019, as well as our ongoing commitment to address climate change.<\/span><\/p>\n<h3><a href=\"https:\/\/tech.fb.com\/climate-conversation-map\/\"><span>We\u2019re helping organizations track the conversation around climate change<\/span><\/a><\/h3>\n<p><span>Earlier this year, we partnered with various global organizations to develop our <\/span><a href=\"https:\/\/tech.fb.com\/climate-conversation-map\/\"><span>Climate Conversation Map<\/span><\/a><span>, which combines data science research, computing power, and aggregated, anonymized platform data to help businesses and organizations take action to fight climate change. <\/span><span>The map provides data and insights into how conversations around climate change ebb and flow throughout the world and over time. These maps give organizations a way to visualize how people in various regions are engaging with climate-related news on Facebook.<\/span><\/p>\n<p><a href=\"https:\/\/engineering.fb.com\/#top\"><span>Back to the top<\/span><\/a><a name=\"open\"><\/a><\/p>\n<h2><span>Open Source<\/span><\/h2>\n<h3><a href=\"https:\/\/engineering.fb.com\/2020\/08\/07\/security\/pysa\/\"><span>Python gets a security upgrade<\/span><\/a><\/h3>\n<p>\n<span>We built and launched<\/span><a href=\"https:\/\/engineering.fb.com\/2020\/08\/07\/security\/pysa\/\"> <span>Pysa<\/span><\/a><span>, an <\/span><a href=\"https:\/\/github.com\/facebook\/pyre-check\/\"><span>open source<\/span><\/a><span> static analysis tool to detect and prevent security and privacy issues <\/span><span>in Python code.<\/span><span> Pysa has helped us scale our application security efforts for Python, most notably the codebase that powers Instagram\u2019s servers.<\/span><\/p>\n<h3><a href=\"https:\/\/engineering.fb.com\/2020\/03\/18\/production-engineering\/ntp-service\/\"><span>We\u2019ve open-sourced our Network Time Protocol (NTP) libraries<\/span><\/a><\/h3>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-14159 size-full\" src=\"https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/03\/Time-infra-hero-image.jpg?resize=750%2C422&#038;ssl=1\" alt=\"In 2020, we built a more accurate time service at Facebook scale\" width=\"750\" height=\"422\" srcset=\"https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/03\/Time-infra-hero-image.jpg?resize=750%2C422&#038;ssl=1 2000w, https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/03\/Time-infra-hero-image.jpg?resize=750%2C422&#038;ssl=1?resize=580,326 580w, https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/03\/Time-infra-hero-image.jpg?resize=750%2C422&#038;ssl=1?resize=916,515 916w, https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/03\/Time-infra-hero-image.jpg?resize=750%2C422&#038;ssl=1?resize=768,432 768w, https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/03\/Time-infra-hero-image.jpg?resize=750%2C422&#038;ssl=1?resize=1024,576 1024w, https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/03\/Time-infra-hero-image.jpg?resize=750%2C422&#038;ssl=1?resize=1536,864 1536w, https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/03\/Time-infra-hero-image.jpg?resize=750%2C422&#038;ssl=1?resize=96,54 96w, https:\/\/i0.wp.com\/engineering.fb.com\/wp-content\/uploads\/2020\/03\/Time-infra-hero-image.jpg?resize=750%2C422&#038;ssl=1?resize=192,108 192w\" sizes=\"auto, (max-width: 992px) 100vw, 62vw\" data-recalc-dims=\"1\"><\/p>\n<p><span>The size of our infrastructure means timing is always important. We need to know the accurate time difference between any two servers in our data centers so that the order of transactions doesn\u2019t get mixed up. And all this must be done with submillisecond precision. We\u2019ve been testing a new system, <\/span><a href=\"https:\/\/engineering.fb.com\/2020\/03\/18\/production-engineering\/ntp-service\/\"><span>chrony<\/span><\/a><span>, with this goal in mind. Implementing chrony has improved accuracy from 10 milliseconds to 100 microseconds, and it now forms the foundation of our public Network Time Protocol <\/span><a href=\"https:\/\/github.com\/facebookincubator\/ntp\"><span>NTP<\/span><\/a><span> service.<\/span><\/p>\n<h3><a href=\"https:\/\/engineering.fb.com\/2020\/07\/06\/open-source\/retrie\/\"><span>Retrie makes Haskell refactoring easy<\/span><\/a><\/h3>\n<p><a href=\"https:\/\/engineering.fb.com\/2020\/07\/06\/open-source\/retrie\/\"><span>Retrie<\/span><\/a><span> is an open source code refactoring tool for Haskell that makes codemodding faster, easier, and safer. Using Retrie, developers can efficiently rewrite large codebases (exceeding 1 million lines), express rewrites as equations in Haskell syntax instead of regular expressions, and avoid large classes of codemodding errors. Retrie\u2019s features include the ability to rewrite expressions, types, and patterns; the ability to script rewrites and add side conditions; and a library for scripting more advanced rewrites. <\/span><\/p>\n<p><span>\u00a0<\/span><a href=\"https:\/\/engineering.fb.com\/#top\"><span>Back to the top<\/span><\/a><\/p>\n<p>The post <a rel=\"nofollow\" href=\"https:\/\/engineering.fb.com\/2020\/12\/30\/connectivity\/2020-year-in-review\/\">2020 year in review: Connectivity innovations, faster apps, and progress toward net zero<\/a> appeared first on <a rel=\"nofollow\" href=\"https:\/\/engineering.fb.com\/\">Facebook Engineering<\/a>.<\/p>\n<p><a href=\"https:\/\/engineering.fb.com\/2020\/12\/30\/connectivity\/2020-year-in-review\/\" target=\"_blank\" rel=\"noopener\">Read More<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>It goes without saying that 2020 has been a challenging year, to put it lightly. But if anything, the COVID-19 pandemic has shined a light on our need to connect as people. For Facebook, that meant our work has become more important than ever. Whether it was finding new and innovative ways to expand internet&hellip; <a class=\"more-link\" href=\"https:\/\/fde.cat\/index.php\/2020\/12\/30\/2020-year-in-review-connectivity-innovations-faster-apps-and-progress-toward-net-zero\/\">Continue reading <span class=\"screen-reader-text\">2020 year in review: Connectivity innovations, faster apps, and progress toward net zero<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","footnotes":""},"categories":[1,7],"tags":[],"class_list":["post-166","post","type-post","status-publish","format-standard","hentry","category-external","category-technology","entry"],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":292,"url":"https:\/\/fde.cat\/index.php\/2021\/08\/31\/advancing-connectivity-between-the-asia-pacific-region-and-north-america\/","url_meta":{"origin":166,"position":0},"title":"Advancing connectivity between the Asia-Pacific region and North America","date":"August 31, 2021","format":false,"excerpt":"We are announcing two vital new subsea cables to connect Singapore, Indonesia, and North America.\u00a0 These will be the first transpacific cables through a new diverse route crossing the Java Sea and will increase overall transpacific capacity by 70 percent.\u00a0\u00a0 We are committed to bringing more people online to a\u2026","rel":"","context":"In &quot;Technology&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":325,"url":"https:\/\/fde.cat\/index.php\/2021\/08\/31\/driving-towards-an-open-internet-ecosystem-to-help-tackle-the-digital-divide\/","url_meta":{"origin":166,"position":1},"title":"Driving towards an open internet ecosystem to help tackle the digital divide","date":"August 31, 2021","format":false,"excerpt":"Connectivity is an integral part of Facebook\u2019s mission to bring people closer together, and the COVID-19 pandemic has only heightened the demand for critical internet access. According to the latest edition of our Inclusive Internet Index, nearly 70 percent of people around the world believe that increased internet usage in\u2026","rel":"","context":"In &quot;Technology&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":749,"url":"https:\/\/fde.cat\/index.php\/2023\/08\/22\/sre-weekly-issue-386\/","url_meta":{"origin":166,"position":2},"title":"SRE Weekly Issue #386","date":"August 22, 2023","format":false,"excerpt":"View on sreweekly.com This issue was delayed a day while I was enjoying a much-needed vacation with my family. While I\u2019m on the subject, it\u2019s hot take time: vacations are important for the reliability of our sociotechnical systems, so good SREs should take vacations regularly and encourage others to as\u2026","rel":"","context":"In &quot;SRE&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":478,"url":"https:\/\/fde.cat\/index.php\/2021\/09\/28\/2africa-pearls-subsea-cable-connects-africa-europe-and-asia-to-bring-affordable-high-speed-internet-to-3-billion-people\/","url_meta":{"origin":166,"position":3},"title":"2Africa Pearls subsea cable connects Africa, Europe, and Asia to bring affordable, high-speed internet to 3 billion people","date":"September 28, 2021","format":false,"excerpt":"Facebook invests in subsea cables as part of our continued efforts to build the infrastructure that carries internet traffic and helps bring more people online to a faster internet. Today, we are thrilled to announce, along with regional and global partners, a new segment of subsea cable called 2Africa Pearls,\u2026","rel":"","context":"In &quot;Technology&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":291,"url":"https:\/\/fde.cat\/index.php\/2021\/08\/31\/sre-weekly-issue-263\/","url_meta":{"origin":166,"position":4},"title":"SRE Weekly Issue #263","date":"August 31, 2021","format":false,"excerpt":"View on sreweekly.com A message from our sponsor, StackHawk: You can utilize Swagger Docs in security testing to drive more thorough and accurate vulnerability scans of your APIs. Learn how: http:\/\/sthwk.com\/swagger-api-testing Articles [Increment: Reliability] Tracing a path to observability They make a really clear case for why traditional metrics and\u2026","rel":"","context":"In &quot;SRE&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":486,"url":"https:\/\/fde.cat\/index.php\/2021\/10\/07\/inside-the-lab-expanding-connectivity-by-sea-land-and-air\/","url_meta":{"origin":166,"position":5},"title":"Inside the Lab: Expanding connectivity by sea, land, and air","date":"October 7, 2021","format":false,"excerpt":"The post Inside the Lab: Expanding connectivity by sea, land, and air appeared first on Facebook Engineering. Facebook Engineering","rel":"","context":"In &quot;Technology&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/fde.cat\/index.php\/wp-json\/wp\/v2\/posts\/166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fde.cat\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fde.cat\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fde.cat\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fde.cat\/index.php\/wp-json\/wp\/v2\/comments?post=166"}],"version-history":[{"count":1,"href":"https:\/\/fde.cat\/index.php\/wp-json\/wp\/v2\/posts\/166\/revisions"}],"predecessor-version":[{"id":208,"href":"https:\/\/fde.cat\/index.php\/wp-json\/wp\/v2\/posts\/166\/revisions\/208"}],"wp:attachment":[{"href":"https:\/\/fde.cat\/index.php\/wp-json\/wp\/v2\/media?parent=166"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fde.cat\/index.php\/wp-json\/wp\/v2\/categories?post=166"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fde.cat\/index.php\/wp-json\/wp\/v2\/tags?post=166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}