Skip to content
royalproxy
Get started

Rotating vs sticky proxies: which one to use

Rotating and sticky are two ways to use the same residential IPs. The difference is how long one IP stays with you. Here is how each works on RoyalProxy, the username you write for each, and which tasks fit which.

Updated 2026-11-28 · 2 min read

Short answer

A rotating proxy gives every request a new IP, which spreads large jobs across many addresses. A sticky proxy keeps one IP for a set time, so multi-step flows such as logins stay on the same address. On RoyalProxy rotation is the default, and adding -sid- and -ttl- to the username keeps an IP for 1 to 60 minutes.

What a rotating proxy does

With a rotating proxy, each request goes out from a different IP. Your tool still connects to one host and port, and the gateway picks the exit IP. On RoyalProxy this happens whenever the username has no session ID.

Rotation fits jobs where every request stands alone: fetching thousands of product pages, collecting search results for a keyword list, or checking ad placements across regions. Because the load is spread over many IPs, no single address sends a long run of requests.

What a sticky proxy does

A sticky session keeps the same IP for every request that carries the same session ID. When the time you set with -ttl- runs out, the session can move to a new IP. Use a new session ID when you want a fresh IP before then.

Sticky sessions fit flows where a site links several requests to one visitor: logging in and opening account pages, adding items to a cart and reaching checkout, or paging through results that depend on a cookie.

Rotating vs sticky proxies compared

Both modes run on the same gateway, ports and residential traffic. Only the username changes.

PointRotatingSticky
IP per requestNew IP every timeSame IP for the session
How to set itNo -sid- in the username-sid-<id>, and -ttl-<minutes> for the length
Session lengthOne request1 to 60 minutes
Good forScraping, rank checks, price checksLogins, carts, multi-page flows
PriceResidential traffic from $0.23 per GBThe same residential traffic and price

Username format for each session type

All options go at the end of the proxy username, each starting with a hyphen. The password stays the same whatever options you add.

Tools that take a proxy URL use http://USERNAME:PASSWORD@gate.royalproxy.online:6100, or socks5://USERNAME:PASSWORD@gate.royalproxy.online:6200 for SOCKS5. Tools that ask for a host:port:user:pass line take gate.royalproxy.online:6100:USERNAME:PASSWORD.

  • Rotating, any country: rpexample1-zone-res
  • Rotating in Germany: rpexample1-zone-res-cc-de
  • Sticky in New York for 30 minutes: rpexample1-zone-res-cc-us-city-new_york-sid-job42a-ttl-30
  • A second sticky session at the same time: the same username with another ID, such as -sid-job42b

Which one to use for common tasks

If you are unsure, start with rotation. Switch a step to sticky only when the site asks you to log in again or loses your cart between requests.

  • Large page collection: rotating, since each page is a separate request.
  • Search rank tracking by city: rotating, with -cc- and -city- set to that city.
  • Logging in to an account you own and reading the pages behind it: sticky, with a ttl that covers the whole flow.
  • Checkout or form tests with several steps: sticky.
  • Many parallel sticky jobs: give each worker its own session ID.

Test both modes with curl

Run curl -x http://USERNAME:PASSWORD@gate.royalproxy.online:6100 https://api.ipify.org twice with a plain username such as rpexample1-zone-res. The two replies should show different IPs.

Then add -sid-test1-ttl-10 to the username and run it twice again. Both replies should show the same IP, and that IP is kept for up to 10 minutes.

Questions on this topic

What is the longest sticky session?

60 minutes. Set the length with -ttl-, from 1 to 60.

Do sticky sessions cost more than rotating IPs?

No. Both use the same residential traffic, counted by the GB at the price of the pack you bought.

Can I run several sticky sessions at once?

Yes. Use a different -sid- value for each session. Each ID keeps its own IP.

Is rotation the default?

Yes. Without -sid- in the username, every request gets a new IP.

Does the unlimited plan support sticky sessions?

Yes. The unlimited residential plan uses the same -cc-, -city-, -sid- and -ttl- options with -zone-unl in the username.

Top up $40 and get 142 GB of residential traffic

All you need to sign up is a username and a password. Your balance and the traffic you buy never expire.