Behind the scenes

Black Friday Week: our servers are ready to rumble

Noah Waldner
22.11.2022
Translation: Katherine Martin
Co-author: Norina Brun
Pictures: Noah Waldner

Black Friday doesn’t just get shopaholics’ pulses racing. It’s also quite the thrill ride for Digitec Galaxus’ software engineering crews. The goal is clear: to get our shop ready for a flood of orders, with prep work beginning as early as summer.

Before joining Digitec Galaxus this autumn as a Software Engineer, I’d always wondered what went on behind the scenes during big sales like Black Friday and Cyber Monday. This year, I get to satisfy my curiosity – and take you all on a guided tour through each stage of the preparations. After all, as a developer on the team responsible for our Community, I’m right in the middle of the action.

November in July

In the months that follow, Category Management give it their all to track down the best offers. The hotly sought-after products obviously have to be at the warehouse in time for the sales. At the same time, our logistics crew puts our special offers into the automated warehouse system as a precaution. This way, when you place an order, the product gets to the packing area more quickly and is soon on its way to you.

More server, more performance

What we’re doing differently this year

We now use an LRU in-memory cache, which is where our most-visited products are cached. This helps to mitigate spikes in requests sent to our Redis cache. We also fixed last year’s application error, ensuring that any requests containing errors are only retried once. This will help us to avoid overloading the Redis cache.

Since Black Friday and Cyber Monday 2021, we’ve also revised and simplified the back-end system for «special deals». We won’t just use this functionality for Black Friday Week – we’ll also use it for the daily deals we offer you throughout the year. By simplifying the system, we hope to have fewer speed issues on the special offer pages.

What we’re doing on Black Friday

Shop functions that aren’t essential for Black Friday will be switched off using «feature flags». The live feed will temporarily stop updating you on who has ordered what from where. We’ll also stop displaying recommended products and magazine articles aimed at the Community.

We enter the special offers into our internal system as promotional campaigns. In addition, we define how long the offers are valid for and determine the products’ availability. After that, we let the system do its thing. It displays the special offers on the shop automatically and greys them out when they’re no longer available.

On Tuesday night (our first day of deals this year) as well as the nights of Black Friday and Cyber Monday, there’ll be emergency MS Teams calls taking place at midnight. Developers across all areas of the shop will be there, poised to respond straight away if anything goes wrong.

My little investigation has answered a lot of my newbie questions. I’m now awaiting Black Friday week with feverish anticipation. Do you feel the same way? Or is there anything else you’d like to find out from me? I won’t reveal the details of any special offers, but I’m happy to answer technical questions in the comments.

105 people like this article


User Avatar
User Avatar

When I'm not pushing pixels around or organizing bytes, I can often be found with my self-built FPV drones. From disassembled action cams, to big cinema cameras, pretty much everything that takes videos or photos flies through the air with me.


Tech
Follow topics and stay updated on your areas of interest

Behind the scenes

News about features in our shop, information from marketing and logistics, and much more.

Show all

These articles might also interest you

  • Behind the scenes

    Black Friday Week 2024: all updates from Digitec Galaxus

    by Jana Pense

  • Behind the scenes

    Team BlackJack: The rock in the surf of Black Friday

    by Dominik Bärlocher

  • Behind the scenes

    From bytes to insights: Product Development in transition (part 1)

    by Ronny Wullschleger