Code Deployment Freezes: Part 1 (2024)

If you’re a software engineer at a tech company, there’s a good chance the final two weeks of December were more peaceful than usual, not only because of colleagues going on holiday, but because of deployment freezes. These are often referred to as “code freezes,” short for “code deployment freeze.” In this article, I’ll use the term “code freezes” to mean both “code deployment freeze” and “deployment freeze.”

Today, we cover:

  1. Big Tech and code freeze approaches. How do Meta, Amazon, Microsoft, Uber, Apple, Google and other larger tech companies go about deploy freezes during the holidays?

  2. Code freezes at other companies. Details from Spotify, Twitter, N26, Podia, Bold.org, T-mobile and several startups.

  3. Code freeze upsides. Fewer outages, people disconnecting and other reasons these freezes are helpful.

  4. Downsides of code freezes. A rush to get changes in, risky refactorings, merge issues, and other problems the freeze introduces.

  5. Companies which don’t do code freezes. A major e-commerce platform and a large SaaS provider don’t do code freezes. What did the teams there observe, as a result of this?

This is Part 1 of a three-part series.

Code Deployment Freezes: Part 1 (1)

In Part 2, we go into more depth, touching on:

  • Software product categories and code freezes. Web-based products, desktop apps, on-prem software, and embedded products tend to have very different deployment cycles. What are products where code freezes matter, and what are ones where they do not?

  • Mandating a code deployment freeze. Informal and more formal approaches to do so, and questions to ask before deciding on the strategy.

  • Code freeze trends across industries. What are trends within banking, fintech, e-commerce, wellness apps, and other groups?

  • Code freeze alternatives. Code chills, close slush, and business as usual.

  • “Wave and bake” instead of code freezes: Ocado. The grocery retailer platform has no code freeze and uses a unique approach with its isolated, single-tenant environments.

  • Do you need to implement a code freeze? Things that play into this decision, from the maturity of deployment tooling to wanting to create space for staff to recharge for a few weeks.

In Part 3, we cover:

  • Dates worth keeping in mind. Apple’s store slowdown, and a 3-day workweek at the end of the year.

  • Code freezes by funding lifecycle. The later stage a company is, the more likely it puts a freeze in place. Bootstrapped companies seem the least likely to do anything different during the holiday season.

  • Company size. The smaller the business, the less likely there’s a formal code freeze.

  • By industry. An analysis of 185 data points on deployment freeze approaches at tech companies, contributed by readers.

  • Advice for those doing a code freeze. Avoid the “thundering herd” in January!

  • Advice for those not doing a code freeze. Ensure your engineering team gets a well-earned rest during the holiday.

  • Interesting code freeze approaches. Inspiration from Monzo, Outreach, LinkedIn, Block/Square, Stick Fix, Atlassian and Klarna.

  • The survey data. Anonymized responses from 185 data points.

Let’s jump in!

It’s common for most of Big Tech to have two week-long code freezes during a year:

  1. Thanksgiving week. The week of Thanksgiving is when Black Friday takes place. For most e-commerce businesses, this is when the single biggest daily revenues of the year are generated. Online retail companies or businesses whose customers are in this sector want to ensure maximum reliability of systems during this period. Additionally, many tech workers take at least a few days off during this week, and several take the whole week. A code freeze helps both with reliability and allows for more tech workers to take a vacation.

  2. Christmas to New Year. In the US and Europe, it’s common for the majority of people working in tech to take off one or two weeks. It’s understood there will be fewer colleagues available to fix any breakages, so most companies ensure no such breakages happen by putting a code freeze in place. A code freeze also helps those on holiday to properly unplug, confident that no potentially troublesome new changes are making their way to production.

Meta puts a code freeze in place from November, which looks roughly like this:

Code Deployment Freezes: Part 1 (2)

The reason for the stricter cadence at the end of the year is to avoid issues ahead of and during the holiday periods of Black Friday, Christmas and New Year.

This practice operates for two reasons:

  1. Minimize revenue lost due to outages, especially for advertising products.

  2. Enables people to take time off to rest during Thanksgiving and at the end of the year.

Both the “yellow” and the “red” periods are enforced company-wide. “Red” periods are company-wide code freezes, with exceptions for some teams and scenarios. Teams working on internal tools and tests can usually push code changes, and outages – naturally – can also be mitigated by them. Teams working closely with revenue generating functions like Ads tend to be a lot stricter with code freezes, while smaller teams more distant from revenue-generating tools tend to have more leeway in pushing changes.

Amazon has a calendar of “Restricted” and “Blocked” days for deployments, formerly called “gray” and “black” days. These days are usually around Prime Day, Black Friday, Christmas, Amazon’s annual “Re-Invent” event and some other major calendar dates.

Code Deployment Freezes: Part 1 (3)

On Restricted days, all deployment pipelines have automatic deployment blockers in place. These blockers may be limited to specific regions, or only for AWS deployments.

Blocked days are usually announced at short notice during big, operational events such as an outage, or unplanned events when temporarily suspending deployment pipelines is the safest option. Deploying changes during Restricted days requires Director-level approval. Deploying during Blocked days needs VP-level approval.

On top of Restricted and Blocked days, teams define their own code deployment freezes. For most codebases, a freeze lasts for 1-2 weeks around the time of Black Friday, and 1-2 weeks around Christmas and the New Year.

Microsoft does not have a company-wide policy; organizations decide how they approach deployments.

For example, within the team responsible for the search engine Bing, there are two deployment freezes:

  • One week spanning Thanksgiving through to Cyber Monday

  • Two weeks spanning Christmas to New Year

Bing operates heavily based on experiments. During this time, experiments that were already running can continue, but new ones cannot begin.

Other organizations are more hands-off in their approach. For example, GitHub does not mandate code freezes centrally: it leaves these decisions up to teams. Most engineers are on vacation at the end of the year, and the pace is generally slower. A current software engineer at GitHub put it that GitHub has an effective code freeze, mainly thanks to barely anyone being around, without any of this having been mandated.

Uber historically put freezes in place during the week before Thanksgiving, and from mid-December until early January. This was because

Code Deployment Freezes: Part 1 (2024)

FAQs

Is code freeze a good practice? ›

Any changes to impact the user experience during peak traffic time can ultimately result in a loss of conversions and profit. In other words, a code freeze is done as a way to safeguard against any potential mishaps because of the extra load on a website.

How long is a code freeze? ›

Currently Code Freeze lasts around 4 weeks. In 2019, Code Freeze length was 1 to 1.5 weeks. The change from 1 to 4 weeks happened largely by accident and hasn't been reviewed by the community, so it's time to do so. Note that, should we decide to change the length, that's unlikely to take effect before the 1.24 cycle.

What is a deployment freeze? ›

A deployment freeze is a period of time during which no new changes are made to a system or application. This ensures that a system or application remains stable and free of errors, particularly in the lead-up to a major event or release.

What are tips for freeze response? ›

Five Coping Skills for Overcoming the Fight, Flight or Freeze...
  1. What's Happening, Neurologically Speaking: ...
  2. Deep Breathing or Belly Breathing. ...
  3. Grounding Exercises. ...
  4. Guided Imagery or Guided Meditation. ...
  5. Self Soothe Through Temperature. ...
  6. Practice "RAIN."
Sep 1, 2020

Is 4 hours of coding good? ›

As a realistic starting point, we typically recommend spending anywhere between five and 15 hours per week on coding if you're looking to make a career-change, fast — but remember, everyone is different.

What happens after code freeze? ›

Code Freeze means the code is frozen, and there will not be any further modifications from the developers. After the code freeze, the developers should not change the code.

What is hard code freeze? ›

Hard freeze: This is the most extreme type of code freeze. In a hard freeze, the freeze is implemented at the deployment level, and developers temporarily do not have access to deploying code.

What is a code freeze in QA? ›

Quality Assurance: A code freeze provides an opportunity for comprehensive testing and quality assurance. Testers can focus on finding and fixing any remaining problems, making sure that the software meets quality standards before it is released.

What is the difference between feature freeze and code freeze? ›

For example: "user interface feature freeze" means no more features will be permitted to the user interface portion of the code; bugs can still be fixed. A (complete) code freeze, in which no changes whatsoever are permitted to a portion or the entirety of the program's source code.

What not to do during a freeze? ›

5 things NOT to do at home during the Arctic freeze
  1. Story at a glance.
  2. Don't bring your grills or generators into your home.
  3. Don't turn on your sprinklers.
  4. Don't drip your outside faucets.
  5. Don't keep your water shut-off valve inaccessible.
  6. Don't keep your garage door open.
Dec 22, 2022

What is code freeze in software release? ›

Code freeze is a critical phase in software development where all development activities related to adding new features or making significant changes to the codebase come to a temporary halt.

What is the code freeze rule? ›

More specifically Code Freeze refers to preventing developers from further modifications on the software code. Means the code is frozen to prevent further modifications to bring a stability in the code before finalizing the product and delivering to client/consumer.

How long does deployment last? ›

The average military deployment is typically between six and 12 months long. However, deployment lengths vary greatly from branch to branch, are situational and depend on several factors specific to each individual service member.

Is there a freeze response? ›

One of the three most commonly recognized reactions of the stress response, and the initial response to danger in which fight or flight is temporarily put on hold. The freeze response involves an immediate stilling of movement, with vigilance to the threat, and in preparation for active fight or flight response.

What is the point of a code freeze? ›

Simply put, a code freeze is a period of time in which developers stop coding any changes to a website. The site's code is truly “frozen” at that point in time, most often to prevent any issues during a busy time of the year (ie. the holiday season).

Which is considered a good coding practice? ›

There are a few best practices when it comes to learning how to code, and they center around these 7 concepts:
  • Variable naming conventions.
  • Class and function naming conventions.
  • Clear and concise comments.
  • Indentations.
  • Portability.
  • Reusability and scalability.
  • Testing.

What is the best practice for code review? ›

Review fewer than 400 lines of code at a time

In practice, a review of 200-400 LOC over 60 to 90 minutes should yield 70-90% defect discovery. So, if 10 defects existed in the code, a properly conducted review would find between seven and nine of them.

What does code freeze mean in hospital? ›

Abstract. The use of therapeutic hypothermia or "code freeze" dates back to over 100 years in attempts to resuscitate injured soldiers, preserve limbs, and to provide analgesia for amputations.

Top Articles
Chasing the Olympic dream isn't cheap, and U.S. athletes often are stuck with the bill
Raita
Fernald Gun And Knife Show
Rubratings Tampa
Login Page
Jazmen Jafar Linkedin
Windcrest Little League Baseball
What spices do Germans cook with?
Pga Scores Cbs
Black Gelato Strain Allbud
Gabrielle Abbate Obituary
Craigslist Cars And Trucks Buffalo Ny
7543460065
123 Movies Babylon
No Credit Check Apartments In West Palm Beach Fl
Spelunking The Den Wow
Brutál jó vegán torta! – Kókusz-málna-csoki trió
Kaomoji Border
Painting Jobs Craigslist
Mills and Main Street Tour
Mals Crazy Crab
Vistatech Quadcopter Drone With Camera Reviews
Hanger Clinic/Billpay
Ibukunore
What Is Vioc On Credit Card Statement
Ruse For Crashing Family Reunions Crossword
Accident On The 210 Freeway Today
Catherine Christiane Cruz
Dcf Training Number
Talk To Me Showtimes Near Marcus Valley Grand Cinema
Home
Rs3 Ushabti
Play Tetris Mind Bender
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
The Clapping Song Lyrics by Belle Stars
Imagetrend Elite Delaware
How Much Is An Alignment At Costco
Matlab Kruskal Wallis
Myhrconnect Kp
Truckers Report Forums
Retire Early Wsbtv.com Free Book
Craigs List Stockton
Dr Adj Redist Cadv Prin Amex Charge
Armageddon Time Showtimes Near Cmx Daytona 12
US-amerikanisches Fernsehen 2023 in Deutschland schauen
Gli italiani buttano sempre più cibo, quasi 7 etti a settimana (a testa)
Air Sculpt Houston
Charlotte North Carolina Craigslist Pets
Appsanywhere Mst
The Significance Of The Haitian Revolution Was That It Weegy
Bones And All Showtimes Near Emagine Canton
Saw X (2023) | Film, Trailer, Kritik
Latest Posts
Article information

Author: Zonia Mosciski DO

Last Updated:

Views: 5585

Rating: 4 / 5 (51 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Zonia Mosciski DO

Birthday: 1996-05-16

Address: Suite 228 919 Deana Ford, Lake Meridithberg, NE 60017-4257

Phone: +2613987384138

Job: Chief Retail Officer

Hobby: Tai chi, Dowsing, Poi, Letterboxing, Watching movies, Video gaming, Singing

Introduction: My name is Zonia Mosciski DO, I am a enchanting, joyous, lovely, successful, hilarious, tender, outstanding person who loves writing and wants to share my knowledge and understanding with you.