Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K

    Engineering at Meta

    engineering.fb.com · Company blog · on HN since 2019

    Meta's engineering blog, where its engineers describe infrastructure, messaging, open-source releases, and large-scale systems work.

    Visit blogHN submissions
    Systems & PerformanceDistributed SystemsTech Industry
    What HN says

    HN links it for outage post-mortems, the F14 hash map writeup, and WhatsApp and Messenger engineering. Commenters also use it to argue about Meta's AI spending.

    Stats for nerds
    657HN people shared it
    528linked in comments
    16Kstory points
    Jun 2026last shared
    2022people per year2026

    Top posts on HN

    1. 1
      Sapling: A new source control system with Git-compatible client
      8 people · 1K points · first shared 2022 · 524 comments on HN
    2. 2
      Building Meta's GenAI infrastructure
      7 people · 664 points · first shared 2024 · 303 comments on HN
    3. 3
      Rebuilding our tech stack for the new facebook.com
      2 people · 655 points · first shared 2020 · 470 comments on HN
    4. 4
      MLow: Meta's low bitrate audio codec
      1 person · 572 points · first shared 2024 · 197 comments on HN
    5. 5
      Migrating Facebook to MySQL 8.0
      5 people · 523 points · first shared 2021 · 328 comments on HN
    6. 6
      Open-sourcing a more precise time appliance
      9 people · 498 points · first shared 2021 · 182 comments on HN
    7. 7
      More details about the October 4 outage
      7 people · 470 points · first shared 2021 · 285 comments on HN
    8. 8
      It’s time to leave the leap second in the past
      4 people · 445 points · first shared 2022 · 583 comments on HN
    9. 9
      OpenZL: An open source format-aware compression framework
      2 people · 434 points · first shared 2025 · 107 comments on HN
    10. 10
      The majority of Facebook's traffic now uses QUIC and HTTP/3
      1 person · 414 points · first shared 2020 · 139 comments on HN

    What HN people wrote when they linked it

    • anayakJul 2023

      While that is technically correct, they haven't been running vanilla PHP for quite some time - it's jitted into x86 and run natively on the machine. It's also pretty extensively optimized. And the VM that does the jitting is all C++. Their MySQL deployment is also an internal fork that's been heavily modified for scalability (storage/compute separation, sharding, RocksDB based storage engine instead of InnoDB, Raft for synchronous replication, etc.). Lots of really fantastic engineering work has gone into making their backend infra scale.

      Some worthwhile references:

      [1] https://engineering.fb.com/2016/08/31/core-data/myrocks-a-space-and-write-optimized-mysql-database/

      [2] https://research.facebook.com/file/529018501538081/hhvm-jit-a-profile-guided-region-based-compiler-for-php-and-hack.pdf

      [3] https://research.facebook.com/file/700800348487709/HHVM_ICPE_2023-(1).pdf

    • rockwotjMar 2025

      > Anytime Meta, Oracle, Microsoft, or anyone else announces another AI bit barn, a juicy power purchase agreement usually follows. Meta's mega DC being birthed in the bayou was announced alongside a 2.2GW gas generator plant — so much for those sustainability and carbon neutrality pledges.

      Ouch, I grew up where Meta created its first data center and while it is very efficient (https://engineering.fb.com/2011/04/14/core-infra/designing-a-very-efficient-data-center/) I remember a more recent article about how they are zero net emissions (https://tech.facebook.com/engineering/2021/11/10-years-world-class-data-centers/). I wonder if they have kept that in this AI rush (along with most of the datacenter companies).

      EDIT: a direct link to net zero for Meta: https://tech.facebook.com/ideas/2020/9/facebooks-path-to-net-zero/

    • jitlMay 2023

      This seems like offshoot tech from the Facebook messenger rewrite that claimed to lower as much as possible to the database for cross-platform sharing - https://engineering.fb.com/2020/03/02/data-infrastructure/messenger/

      The proposed architecture seems cool, until you realize that instead of writing the languages your mobile devs know, instead you end up writing a lot of C (or generating a lot of C) to be cross platform, and the overlap of C developers and mobile / consumer-oriented developers in Silicon Valley is quite slim. I heard through the grapevine that the success of that rewrite was greatly overstated and it turned into a pain quite quickly.

      All that said, I have a cross-platform app using SQLite… and I’m okay with C… maybe I can con the mobile team at my company into using this to ensure more job security?

    • btownSep 2023

      Instagram's backend is a Django monolith "with several million lines of code and a few thousand Django endpoints" as of 2019, and the same architecture was used for Threads! They now run Django on a JIT-enabled fork of CPython, and leverage a ton of internal tooling for static analysis and strong typing.

      https://instagram-engineering.com/types-for-python-http-apis-an-instagram-story-d3c3a207fdb7

      https://engineering.fb.com/2023/09/07/culture/threads-inside-story-metas-newest-social-app/

      https://engineering.fb.com/2022/05/02/open-source/cinder-jits-instagram/

      https://engineering.fb.com/?s=django

      Django is also excellent for e-commerce with projects like https://github.com/saleor/saleor - or you can roll your own e-commerce system quite easily, which we've done at my travel startup.

    • hu3Oct 2022

      Not quite. According to a more recent article, Facebook's PHP, Hack, is still a primary language:

      > For business logic and relatively stateless applications, the Hack ecosystem has the highest level of automation and support at Meta and is the recommended language.

      On a related note, their Rust usage has grown significantly:

      > For performance-sensitive back-end services, we encourage C++ and Rust. Rust is a new addition to this list. There’s a rapidly increasing Rust footprint in our products and services, and we’re committing to Rust long-term and welcome early adopters. For CLI tools, we recommend Rust. This is a new recommendation for this year.

      https://engineering.fb.com/2022/07/27/developer-tools/programming-languages-endorsed-for-server-side-use-at-meta

    • KronisLVNov 2022

      > At Meta we call an individual set of changes made to the codebase a “diff.”

      I don't work at Meta and I still don't have any idea which of you is right.

      A commit would satisfy the description above.

      As would a pull/merge request, which the image in the article perhaps fits better: https://engineering.fb.com/wp-content/uploads/2022/11/Code-Reviews-at-Meta-image2.png

      Of course, it's possible to review each individual commit as well, but who does that?

      I know that some folks love to mess around as much as they need in their local branches, commit often and then do an interactive rebase, to maybe end up with one or just a few commits that can then be the basis for a pull/merge request, then the difference matter a little bit less.

    Related

    Meta Techtech.fb.com63 people

    AI is supercharging the creation of maps around the world

    Meta Tech
    Company · last shared 2022
    Meta AI Blogai.meta.com322 people

    The Llama 4 herd

    Meta AI Blog
    Company · last shared 2026
    Airbnb Engineeringmedium.com/airbnb-engineering259 people

    Introducing Lottie: Airbnb's tool for adding animations to native apps

    Airbnb Engineering
    Company · last shared 2026
    Facebook Engineeringcode.fb.com147 people

    Facebook open-sources a speech-recognition system and a machine learning library

    Facebook Engineering
    Company · last shared 2019
    Twitter Engineering Blogengineering.twitter.com121 people

    Twitter Rolls Twitter.com Back to a Server-Side Architecture

    Twitter Engineering Blog
    Company · last shared 2017
    Dropbox Tech Blogblogs.dropbox.com454 people

    Optimizing web servers for high throughput and low latency

    Dropbox Tech Blog
    Company · last shared 2026
    The Pragmatic Engineernewsletter.pragmaticengineer.com292 people

    Inside the longest Atlassian outage

    The Pragmatic Engineer
    Personal · last shared 2026
    Slack Engineeringslack.engineering281 people

    Taking PHP Seriously

    Slack Engineering
    Company · last shared 2026