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...

Olive and NTT DATA Join Forces to Accelerate the Global Development and Deployment of AI Solutions

U.S.A., March 14, 2021 — Olive , the automation company creating the Internet of Healthcare, today announced an alliance with NTT DATA , a global digital business and IT services leader. The collaboration will fast track the creation of new healthcare solutions to transform the health experience for humans — both in the traditional healthcare setting and at home. As a member of Olive’s Deploy, Develop and Distribute Partnership Programs , NTT DATA is leveraging Olive’s open platform to innovate, build and distribute solutions to Olive’s customers, which include some of the country’s largest health providers. Olive and NTT DATA will co-develop new Loops — applications that work on Olive’s platform to provide humans real-time intelligence — and new machine learning and robotic process automation (RPA) models. NTT DATA and Olive will devote an early focus to enabling efficiencies in supply chain and IT, with other disciplines to follow. “This is an exciting period of growth at Olive, so...