Rotating vs sticky proxy sessions
Updated
A proxy session decides how long you keep the same IP address. With a rotating session, every request leaves from a new IP. With a sticky session, your requests keep one IP for as long as you set.
How the two modes differ
Rotating
- What happens
- The proxy hands each request a fresh IP from the pool. To the target site, your traffic looks like many unrelated visitors, each asking for one page.
- Why it matters
- No single IP builds up enough requests to trigger a rate limit.
- Use when
- Each request stands on its own.
- For example
- Crawling product listings, collecting search results, checking prices across many pages.
Sticky
- What happens
- Your requests keep the same IP for a period you choose.
- Why it matters
- Many sites tie a login, a cart or a checkout to the visitor's IP. If the IP changes halfway through, the site may log you out, empty the cart or flag the account.
- Use when
- A task spans several requests that belong together.
- For example
- Logging in and then browsing, adding to a cart and checking out, filling in a multi-step form, or managing an account that should always appear from the same place.
How to set the session
On our network the session is part of your proxy username, so any HTTP or SOCKS5 client works without extra settings. Leave the session out to rotate, which is the default on every plan; add one to stick. The proxy generator in your dashboard builds these lines for you.
# Rotating: a new US IP on every request USERNAME-country -us # Sticky, 30 minutes: the same IP for up to 30 minutes USERNAME -country -us -session -k2j9x0aq -ttl -30 # A second sticky session: a different IP, held separately USERNAME -country -us -session -p0d7m3re -ttl -30
Running many sessions at once
Each session id is its own sticky IP. To run ten accounts in parallel, generate ten lines with ten different session ids, and give each account its own line. Reusing one session id across accounts would put them all on the same IP, which defeats the point.
How long should a sticky session last?
You can set anywhere from 1 to 1,440 minutes (24 hours). Match it to the task.
| Task | Might need |
|---|---|
| A checkout flow | 5 minutes |
| A login-and-scrape run | 10 minutes |
| An account you manage all day | The full 24 hours |
Shorter is usually safer. A residential or mobile IP belongs to a real connection that can drop at any time; if that happens mid-session you get a new IP, so build your job to retry a step rather than assume the IP never changes.
Which products support which mode
- Residential$1.50/GB
Rotating or sticky
Country, state, city or ZIP targeting
- Mobile$3.00/GB
Rotating or sticky
Country, state, city or ZIP targeting
- Shared ISP$0.40/GB
Rotating or sticky
From the USA or EU gateway
- Unlimited Datacenter$3.50/day
Rotating only
A new IP on every request