# Surviving Flashes of High-Write Traffic Using Scriptable Load Balancers (Part I)

DevFeed: [Surviving Flashes of High-Write Traffic Using Scriptable Load Balancers (Part I)](<https://devfeed.tech/articles/surviving-flashes-of-high-write-traffic-using-scriptable-load-balancers-part-i-1632.md>)

Original publisher: [Read original article](<https://shopify.engineering/surviving-flashes-of-high-write-traffic-using-scriptable-load-balancers-part-i>)

Author: Emil Stolarsky

Published: 2017-02-03T01:30:00Z

Content type: article

Language: en

Sources: [Shopify Engineering](<https://devfeed.tech/sources/shopify-engineering.md>), [Shopify Engineering - Shopify Engineering](<https://devfeed.tech/sources/shopify-engineering-shopify-engineering.md>)

Topics: [Shopify](<https://devfeed.tech/topics/shopify.md>), [Web](<https://devfeed.tech/topics/web.md>), [Database](<https://devfeed.tech/topics/database.md>)

Tags: [database](<https://devfeed.tech/tags/database.md>), [performance](<https://devfeed.tech/tags/performance.md>), [shopify](<https://devfeed.tech/tags/shopify.md>), [web](<https://devfeed.tech/tags/web.md>)

## AI overview

Shopify describes how recurring flash sales and sudden bursts of write-heavy traffic challenged its platform. The article introduces the problem and the need for a lightweight solution after a Kylie Cosmetics sale overloaded the store's database shard and affected other stores.

## Source excerpt

7 minute read This Sunday, over 100 million viewers will watch the Super Bowl. Whether they're catching the match-up between the Falcons and the Patriots, or there for the commercials between the action, that's a lot of eyeballs--and that's only counting America. But all that attention doesn't just stay on the screen, it gets directed to the web, and if you're not prepared curious visitors could be rewarded with a sad error page. The Super Bowl makes us misty-eyed because our first big flash sale happened in 2007, after the Colts beat the Bears. Fans rushed online for T-shirts celebrating the win, giving us a taste of what can happen when a flood of people convene on one site in a very short duration of time. Since then, we've been continually levelling up our ability to handle flash sales, and our merchants have put us to the test: on any given day, they'll hurl Super Bowl-sized traffic, often without notice.