Skip to main content

Why it’s time to leave code freezes out in the cold

As the business world pivots to meet the new demands and challenges of COVID-19, so too has the retail world reimagined its biggest shopping season of the year. Instead of enticing shoppers to cram the stores on one or two special days for deals and discounts, holiday shopping has engulfed the season with deals spread across weeks and even months.

With these trends accelerating the e-commerce takeover of the holiday season, you might assume this is a busy time of year for many developers. In reality, the holiday season is typically a less hectic period for developers as they stop deploying new code and instead wait out code freezes. Code freezes are a traditional practice to ensure site and app stability during high-traffic periods. They’ve been popular especially in e-commerce because of a fear that a change introduced now could jeopardize their revenue.

The downside of code freezes
Developers keep writing code during a code freeze, but instead of integrating or testing it with the main branch, the code sits and waits for the freeze to end. This means the longer the freeze lasts, the more code builds up, which introduces unnecessary risks and instabilities and ultimately slows down integrations following the freeze.

Code freezes also create a problematic scenario, often called “racing the train.” Developers attempt to “race the train” when they know a code freeze is on the horizon, but they’re on a deadline to release new code before the freeze goes into effect. To beat the train, developers might cut corners, do fewer tests, skip manual testing, or simply deliver a lower quality product because they were rushing to meet a deadline, which opens up a greater possibility that the code has a bug. However, like the tradition of waiting outside Walmart at 4 a.m. on Black Friday, code freezes may soon become a thing of the past.

The alternative to code freezes
With feature flags, development teams no longer need to rely on code freezes during high volume times. Feature flags can deploy new code to production in a “turned off” state, allowing teams to gradually ramp up or down the new code for specific user populations without a new deployment. Now, developers have the freedom to continue innovating and testing in production without worrying about how it may affect customers.

Most feature flags are enabled with a toggle, which gives teams the control to turn off a feature quickly with the click of a button at any time, including during peak traffic time. During the holiday season, this could be used to turn off new code for inventory checks or calls to non-essential third-party systems during the first few hours of a flash sale. Unlike server or service-level configurations, feature flags can be used to target specific user groups or sessions. This allows development teams to set ops-toggles to “off” for general users and “on” for premium customers, ensuring only the latter group receives the more computationally intensive options.

Traditional monitoring practices can fail to deliver accurate results when some users see a feature but others do not. Additionally, feature flags provide an in-depth look at system health and user behavior, making it clear which feature flag is causing an issue and which one is providing the best user experience. For these reasons, retailers should use feature flags to drive monitoring and experimentation practices, especially during the high traffic of the holiday season.

Feature flags, now and forever
Feature flags are the perfect tool to keep development teams running smoothly during high volume and sensitive times. However, that doesn’t mean feature flags should be stashed away for special occasions. Even something as ordinary as writing code should be done in a feature flag to mitigate risk and to have an emergency kill switch available if the feature starts causing serious issues. By incorporating feature flags into everyday practices, your team will promote a strong engineering culture that lasts longer than any holiday sale.

The post Why it’s time to leave code freezes out in the cold appeared first on SD Times.



from SD Times https://ift.tt/3h03lME

Comments

Popular posts from this blog

Difference between Web Designer and Web Developer Neeraj Mishra The Crazy Programmer

Have you ever wondered about the distinctions between web developers’ and web designers’ duties and obligations? You’re not alone! Many people have trouble distinguishing between these two. Although they collaborate to publish new websites on the internet, web developers and web designers play very different roles. To put these job possibilities into perspective, consider the construction of a house. To create a vision for the house, including the visual components, the space planning and layout, the materials, and the overall appearance and sense of the space, you need an architect. That said, to translate an idea into a building, you need construction professionals to take those architectural drawings and put them into practice. Image Source In a similar vein, web development and design work together to create websites. Let’s examine the major responsibilities and distinctions between web developers and web designers. Let’s get going, shall we? What Does a Web Designer Do?

A guide to data integration tools

CData Software is a leader in data access and connectivity solutions. It specializes in the development of data drivers and data access technologies for real-time access to online or on-premise applications, databases and web APIs. The company is focused on bringing data connectivity capabilities natively into tools organizations already use. It also features ETL/ELT solutions, enterprise connectors, and data visualization. Matillion ’s data transformation software empowers customers to extract data from a wide number of sources, load it into their chosen cloud data warehouse (CDW) and transform that data from its siloed source state, into analytics-ready insights – prepared for advanced analytics, machine learning, and artificial intelligence use cases. Only Matillion is purpose-built for Snowflake, Amazon Redshift, Google BigQuery, and Microsoft Azure, enabling businesses to achieve new levels of simplicity, speed, scale, and savings. Trusted by companies of all sizes to meet

2022: The year of hybrid work

Remote work was once considered a luxury to many, but in 2020, it became a necessity for a large portion of the workforce, as the scary and unknown COVID-19 virus sickened and even took the lives of so many people around the world.  Some workers were able to thrive in a remote setting, while others felt isolated and struggled to keep up a balance between their work and home lives. Last year saw the availability of life-saving vaccines, so companies were able to start having the conversation about what to do next. Should they keep everyone remote? Should they go back to working in the office full time? Or should they do something in between? Enter hybrid work, which offers a mix of the two. A Fall 2021 study conducted by Google revealed that over 75% of survey respondents expect hybrid work to become a standard practice within their organization within the next three years.  Thus, two years after the world abruptly shifted to widespread adoption of remote work, we are declaring 20