---
title: Handle traffic at scale
description: Handle flash sales and traffic spikes for e-commerce stores with load balancing, visitor queuing, and smart routing.
image: https://developers.cloudflare.com/cf-twitter-card.png
---

[Skip to content](#%5Ftop) 

Was this helpful?

YesNo

[ Edit page ](https://github.com/cloudflare/cloudflare-docs/edit/production/src/content/docs/use-cases/e-commerce/traffic-at-scale.mdx) [ Report issue ](https://github.com/cloudflare/cloudflare-docs/issues/new/choose) 

Copy page

# Handle traffic at scale

Flash sales, seasonal peaks, and viral moments can overwhelm your origin infrastructure. Cloudflare Load Balancing distributes traffic across multiple origins with automatic failover, Waiting Room queues excess visitors to prevent overload, and Argo Smart Routing reduces latency between edge and origin.

## Solutions

### Load balancing

Distribute traffic across origins with health checks and automatic failover. [Learn more about Load balancing](https://developers.cloudflare.com/load-balancing/).

* **Origin protection** \- Distribute traffic across origin servers and queue excess visitors to prevent overload during peak events
* **Automatic failover** \- Health checks detect unhealthy origins and reroute traffic automatically

### Waiting Room

Manage visitor queuing during traffic surges. [Learn more about Waiting Room](https://developers.cloudflare.com/waiting-room/).

* **Flash sale readiness** \- Queue visitors fairly during extreme demand, preserving a consistent experience without crashing the site

### Argo Smart Routing

Route traffic through the fastest paths across Cloudflare's network. [Learn more about Argo Smart Routing](https://developers.cloudflare.com/argo-smart-routing/).

* **Reduced latency** \- Route requests through the fastest available network paths between edge and origin

## Get started

1. [Set up Load Balancing](https://developers.cloudflare.com/load-balancing/get-started/)
2. [Configure Waiting Room](https://developers.cloudflare.com/waiting-room/get-started/)
3. [Create Health Checks](https://developers.cloudflare.com/health-checks/get-started/)

## See also

Cloudflare Smart Shield acts as an intermediate caching layer between Cloudflare's content delivery network and your origin server, consolidating multiple requests from various locations into a single request.[Learn more about Smart Shield](https://developers.cloudflare.com/smart-shield/).

```json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"/directory/","name":"Directory"}},{"@type":"ListItem","position":2,"item":{"@id":"/use-cases/","name":"Use cases"}},{"@type":"ListItem","position":3,"item":{"@id":"/use-cases/e-commerce/","name":"E-commerce"}},{"@type":"ListItem","position":4,"item":{"@id":"/use-cases/e-commerce/traffic-at-scale/","name":"Handle traffic at scale"}}]}
```
