Rotating vs Sticky Proxies: Which Session Type to Use

Rotating proxies give every request a new IP; sticky sessions keep one IP for a set time. How each works, when to use which, and how long to set a session.

ComparisonsPublished Oct 25, 20268 min read

On this page

A rotating proxy sends every request from a different IP; a sticky session keeps the same IP for a time you choose, then moves to a new one. Use rotating sessions when each request stands on its own, such as loading product pages or search results, and sticky sessions when one task spans several requests, such as signing in and checking out. On NanoIP residential proxies a sticky session lasts from 1 to 120 minutes; if you need the same IP for weeks, you need a static ISP proxy instead.

Eight requests over one hour: a rotating session uses eight different IPs, a 30-minute sticky session uses IP A for the first four requests and IP B for the last four, and a static ISP IP uses the same IP for every request for 30 to 360 days
The same eight requests through a rotating session, a 30-minute sticky session and a static ISP IP.

How rotating and sticky sessions work

Both session types run on the same kind of proxy: a dynamic pool of residential or mobile IPs behind one gateway. With NanoIP you always connect to https://gateway.nanoip.net:1111; the gateway decides which exit IP each request leaves from. What changes between the two session types is the rule the gateway follows.

Rotating sessions

In a rotating session the gateway picks a new exit IP for every request. Ten requests leave from ten addresses, often in different cities of the country you selected. Nothing ties one request to the next, which is what you want when the requests are independent:

  • Checking prices or stock on many product pages
  • Collecting search results for a list of keywords
  • Loading the same page from many locations to compare what each region sees

Because the load is spread over many IPs, a rotating session also keeps any single address from carrying an unusual number of requests to one site.

One detail matters in code: for HTTPS sites, the gateway can only switch IPs when a new connection opens, because the requests inside an encrypted tunnel look like one stream to it. Clients that keep connections alive, such as a requests.Session in Python, send their requests through one tunnel and one IP. Using a proxy with Python requests shows how to open a new connection per request.

Sticky sessions

In a sticky session the gateway keeps sending your requests through the same exit IP until the session time runs out. On NanoIP residential proxies you choose that time when you generate the connection, from 1 to 120 minutes. When the window ends, the next request starts a new session on a new IP.

Sticky sessions are for workflows where the site expects consecutive requests to come from one place:

  • Signing in and then working inside the account
  • Adding items to a cart and going through checkout
  • Filling in a multi-page form or an onboarding flow
  • Running a test that clicks through several screens of a web app

Rotating vs sticky vs static at a glance

Rotating sessionSticky sessionStatic ISP proxy
Exit IPNew IP on every requestSame IP for the session timeSame IP for the whole plan
How long one IP lastsOne request1 to 120 minutes (residential)30, 180 or 360 days
ConnectionHTTPS gatewayHTTPS gatewayEach IP's own host and port, HTTP(S) or SOCKS5
BillingPer GB of trafficPer GB of trafficPer IP and period, no traffic charges
Best forIndependent requests at scaleLogins, carts, forms, short testsAccounts and stores used every day
NanoIP productResidential, mobileResidential, mobileISP

Rotating and sticky sessions draw from the same traffic package, so you can use both on one account: generate a rotating connection for a price-monitoring job and a sticky one for a checkout test, and both are deducted from the same balance.

Which one to choose

Three questions in order: if the IP must stay the same for days or weeks, choose a static ISP proxy; if one task runs over several requests, choose a sticky session as long as the task; if every request is independent, choose a rotating session
Ask the three questions in order and stop at the first yes.
  • Choose rotating when no request depends on the one before it, and you want many different IPs: web scraping, price monitoring, SEO rank checks and ad checks across many locations.
  • Choose sticky when one task runs over several requests and should see one consistent visitor from start to finish: a login, a checkout, a form, a test run.
  • Choose a static ISP proxy when the same account is used again tomorrow and next week. Account dashboards, seller centers and social profiles do better with one long-term IP than with a new sticky IP every session. See account management.

How long should a sticky session be?

Set the sticky time to the length of the task plus a margin, not to the maximum.

  1. Time the task once. Run it end to end and note how long it takes, for example eight minutes for a sign-in and checkout test.
  2. Add a margin for slow pages or retries. A task that takes eight minutes fits comfortably in a 15- or 30-minute session.
  3. Start a new session for the next task. Each task gets a fresh IP, and a failure in one does not carry over to the next.

Longer is not safer. A two-hour session for a five-minute task keeps you on one IP for far longer than you need, and if that IP gets slow, every task you run in the window inherits the problem. Short, task-sized sessions also make it easy to run several tasks in parallel, each on its own IP.

Setting the session type in NanoIP

Rotating and sticky sessions are chosen per connection, in the dashboard's Dynamic Routes page:

  1. Sign in to the proxy platform and open Dynamic Routes.
  2. Choose the proxy account and the proxy type (Residential or Mobile).
  3. Choose the country.
  4. Choose the session type: rotating, or a sticky duration such as Sticky - 30 min.
  5. Set how many connections you need and click Generate. Copy the results from Results.
NanoIP dashboard Dynamic Routes page with fields for proxy account Main, proxy type Residential, country Random Country, session type Sticky - 30 min and quantity, and the Results and Account panels below
The Dynamic Routes page: the session type is chosen per connection, next to the country.

Every connection uses the same gateway, https://gateway.nanoip.net:1111, with the username and password generated for it. To run five checkout tests in parallel, each on its own IP, generate five sticky connections and give one to each test.

Common mistakes

Using rotating sessions for logged-in work

If a site sees the requests of one signed-in session arrive from a new IP each time, it may ask you to sign in again or verify the account. Anything behind a login belongs on a sticky session or a static IP.

Sharing one sticky connection between several accounts

A sticky connection gives everyone who uses it the same IP. Running several accounts through it puts them all on one address. Give each account or task its own connection.

Treating the maximum sticky time as a long-term IP

Two hours is the ceiling, not an extension you can renew. When work needs the same IP across days, move it to an ISP proxy; the guide to choosing ISP proxies lists what to check before buying one.

Frequently asked questions

Do sticky sessions cost more than rotating sessions?

No. Both are billed by the traffic they use and are deducted from the same residential or mobile traffic package. The session type does not change the price per GB.

Can I keep a sticky IP for longer than 120 minutes?

No. When you need one IP for longer than a sticky session allows, use a static ISP proxy: it stays assigned to you for 30, 180 or 360 days, and renewing keeps the same IP.

Do mobile proxies support sticky sessions?

Yes. NanoIP mobile proxies offer rotating and sticky sessions as well, chosen the same way in Dynamic Routes. Mobile IPs can also change when the carrier reassigns addresses.

Is a rotating proxy the same as a residential proxy?

Not quite. "Residential" describes where the IPs come from: home internet connections. "Rotating" describes how often the IP changes. NanoIP residential proxies can rotate on every request or stay sticky; the proxy basics guide explains the other terms you will see.

Written by NanoIP Team · Proxy infrastructure and customer support team

Related articles

Comparisons

Mobile vs Residential Proxies: How to Choose

Mobile proxies exit through 4G/5G carriers, residential proxies through home broadband. How they differ in IPs, targeting and price, and when each fits.

6 min read

Need help with your setup?

Our support team can check your proxy configuration with you.