DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Please enter at least three characters to search
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Last call! Secure your stack and shape the future! Help dev teams across the globe navigate their software supply chain security challenges.

Modernize your data layer. Learn how to design cloud-native database architectures to meet the evolving demands of AI and GenAI workloads.

Releasing software shouldn't be stressful or risky. Learn how to leverage progressive delivery techniques to ensure safer deployments.

Avoid machine learning mistakes and boost model performance! Discover key ML patterns, anti-patterns, data strategies, and more.

Related

  • TAO: A Comprehensive Look at Facebook's Distributed Data Store
  • What Is React? A Complete Guide
  • React, Angular, and Vue.js: What’s the Technical Difference?
  • Top 5 Incidents and Outages of 2021

Trending

  • Unlocking Data with Language: Real-World Applications of Text-to-SQL Interfaces
  • Concourse CI/CD Pipeline: Webhook Triggers
  • Blue Skies Ahead: An AI Case Study on LLM Use for a Graph Theory Related Application
  • Immutable Secrets Management: A Zero-Trust Approach to Sensitive Data in Containers

How Facebook Does Deployment

By 
Mitch Pronschinske user avatar
Mitch Pronschinske
·
Apr. 06, 12 · Interview
Likes (1)
Comment
Save
Tweet
Share
35.1K Views

Join the DZone community and get the full member experience.

Join For Free
Some interesting insider info was released this week about the Facebook deployment process.  I've compiled a TL;DR version here in case you don't want to read the whole piece, but I recommend you do.  The information comes straight from Chuck Rossi, the head of Facebook's release engineering team, who was interviewed by Ars Technica's Ryan Paul:

An important aspect of Facebook's development culture is the idea that developers are fully responsible for how their code behaves in production. This philosophy mirrors the "DevOps" movement, which encourages lowering the wall between software development and IT operations.

If any of the code in a Facebook update causes problems in production, the developer who wrote it is on the hook for making sure that the issue gets resolved as quickly as possible.

--Ryan Paul, Ars Technica "Exclusive: a behind-the-scenes look at Facebook release engineering"

I think we've got more evidence here that "DevOps" is just a name for what many super-successful companies have already been doing.  On to the TL;DR!

For deployment Facebook uses


  • Uses custom BitTorrent P2P system
  • Site updates take 15-30 minutes
  • JS, CSS, and Graphics are hosted on distributed CDNs

Deployment steps


  1. Update goes to an "a2"  tier which rolls update out to a small, random collection of users.
  2. Check-in procedure on company IRC where all developers who submitted code for the update have confirm that they are ready to respond if there is a problem when the update goes out.
  3. Head of release engineering issues command in terminal to begin deployment
  4. Watch web-based monitoring dashboards as the update rolls out.

A small amount of servers will fail during most deployments, but it usually doesn't cause any issues.  That's because any of Facebook's servers can handle any sort of page request, so they don't have to worry about serialization and migration of user session states.  The servers can keep handling incoming page requests during their software updates.  No-downtime, as we all know.

Frequency of deployments:


  • One minor update on most business days
  • One major update on a weekly basis, usually Tuesdays

"Release early and often."  The mantra rings true at Google, Facebook, and many other companies that we look up to as the best in the business.

Make sure you check out the whole article for the full story on Facebook's release engineering.
facebook

Opinions expressed by DZone contributors are their own.

Related

  • TAO: A Comprehensive Look at Facebook's Distributed Data Store
  • What Is React? A Complete Guide
  • React, Angular, and Vue.js: What’s the Technical Difference?
  • Top 5 Incidents and Outages of 2021

Partner Resources

×

Comments
Oops! Something Went Wrong

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends:

Likes
There are no likes...yet! 👀
Be the first to like this post!
It looks like you're not logged in.
Sign in to see who liked this post!