Skip to content

Sticky vs. Rotating Proxies: 5 Checks Before You Choose

Choose a proxy session mode based on what must stay consistent between requests, how long a task runs, and what happens if the exit IP changes.

Sophia · · 12 min read
TimiData cover comparing sticky sessions that reuse one exit IP with rotating sessions that switch among exit IPs.

Choose a sticky proxy session when several requests need to share the same exit IP for a limited period. Choose rotating proxy sessions when requests can run independently and your project calls for changing exits between requests or batches. The deciding factor is the unit of work that needs a consistent network context. That could be a single request, a three-page catalog check, or an entire regional QA run.

For example, if you are comparing the price shown on page 1 with the price shown on page 2 of a regional catalog, keeping one exit during that comparison reduces a variable. If you are testing how a public page appears from a sample of different exits, rotation can help vary that input. A practical default for a mixed workflow is one sticky session per multi-step job, with fresh sessions between independent jobs when you need to sample different exits.

How sticky and rotating proxy sessions differ

A sticky session uses the same session identifier or equivalent provider setting to request the same exit IP within the provider's supported session window. A rotating configuration changes the selected exit according to the provider's rules. Depending on the configuration, that change might occur per request, when a new session begins, or at a defined interval. A rotating pool can return an IP you have already seen.

The gateway is the host your client connects to. The exit IP is the public address seen by the destination. You may keep the same gateway while changing the session settings and observing a different exit. For residential proxy connections, TimiData's public site describes both sticky and rotating session options. Use the settings available for the connection you actually activate when planning a test. Sticky and rotating sessions use the same proxy gateway. A sticky session reuses one exit IP within its session window, while rotating sessions can select different exits.

Requirement Starting choice What to verify
Several steps should share the same exit during a short run Sticky session Exit stays the same for repeat requests within the run
Independent requests should sample different exits Rotating sessions Exit changes across the configured rotation boundaries
The same assigned IP is needed across separate runs or days Consider a static ISP proxy Returned IP matches the assigned exit
Each run must stay in one country Set country targeting where available, then choose a session mode Observed exit matches the requested country across runs

1. Find the smallest task that needs a consistent exit

Break the workflow into units you could rerun independently. For a catalog check, one unit might be opening the listing, moving to the second page, and comparing the displayed prices. For an ad verification task, a unit might be opening the public landing page and checking which regional version loads. If the observations within a unit must be comparable, use the same sticky session for the unit.

Keep other inputs consistent too. Site language, cookies, account settings and query parameters can affect what appears even when the exit IP is stable. For a useful comparison, decide which of those inputs you control and record them with the exit IP. Otherwise, it is hard to tell whether a different result came from the connection or from the site itself.

2. Compare the task duration with the session window

Measure the full elapsed time from the first request to the last, including pauses, queueing and retries. A check that makes three quick requests may still run longer than expected if it sits in a queue or waits on a slow response. Use the session duration documented for your plan when deciding whether the whole task fits.

If a task frequently runs past the session window, split it into smaller units that can each produce a complete result. If the same IP must persist across those units or across different days, evaluate a connection with an assigned static exit. Use the first observed exit as the reference for the run. If that address changes midway through a comparison, mark the run as incomplete and restart the comparison from its first step.

Budget for the oldest request in the session

Decide when your application will stop starting new steps on an existing session. For example, suppose a provider documents a 10-minute session window and your workflow typically takes 6 minutes. If a slow page plus a retry can add another 5 minutes, that run can exceed the window. You could split it into shorter independent checks or set an internal cutoff that leaves enough time to finish the last step. These durations are illustrative. Confirm when the session clock starts and whether retries or reconnects affect it for your plan.

3. Rotate at the point where requests become independent

Consider a regional QA job that checks several public product pages. Each page check can be a separate unit when the result from page A is never used to interpret page B. If you need a sample of different exits, start a new session for each independent check when that is how your provider triggers rotation.

If you need to inspect a listing and then follow a page link returned by that listing, keep both requests in the same unit. Rotate between completed units. This keeps the comparison within each unit coherent and makes it easier to record which exit produced which result.

For concurrent tasks, keep the session identifier attached to the job that owns it. Suppose two workers each check a different regional catalog. Give each job its own recorded session context and keep it stable across that job’s steps. If a retry lands on another worker, pass along the same context when the job still needs continuity. Make sure the country setting and session identifier are read from the same job record so they cannot accidentally come from different runs.

Use the concurrency and request rate appropriate for your authorized use. The destination’s access rules and rate limits still apply.

4. Decide what to do when a request fails

Write down how a retry should behave before running a batch. If page two times out during a sticky catalog check, retrying within the same active session preserves the network context for that comparison. If the session has already expired and the exit may have changed, restart the small comparison as a fresh run and record the new context.

For an independent request, a retry may begin a fresh sample if that matches your test design. Keep the results distinct. For example, if the first attempt timed out and the second returned a page from a different exit, store both outcomes. Counting only successful responses can hide intermittent failures in the connection or destination. For an HTTP error or unexpected page, record where it occurred. A proxy authentication failure calls for checking proxy credentials. A destination error after a working proxy connection calls for reviewing the destination response and any applicable limits, including a Retry-After header when present.

Also distinguish the cost of a request from the cost of a completed result. If a job requires three related pages and has to restart after an exit changes on the last page, all the earlier requests may have to be repeated. When you compare modes, track attempts, bytes transferred and usable results. For a traffic-based plan, calculate traffic per usable result as total transfer divided by the number of completed results. Use your provider’s reported billable traffic when comparing actual costs.

5. Run a small validation before scaling up

Start with one destination and a handful of requests. You need enough information to tell whether the configured session behavior matches what your application actually sees.

  1. Choose a location and protocol supported by your connection, then record the mode and the session label used for each request. Keep credentials out of the test log.
  2. In sticky mode, make two or more requests to the same public IP lookup service using the same session settings inside the documented window. Compare the returned IPs.
  3. In rotating mode, repeat the lookup across the rotation boundary documented for the connection. If the same IP appears twice, check your session settings and take several observations before concluding that rotation failed.
  4. Run one complete, authorized task from the application you intend to use. Record the exit IP, expected region, outcome, and any retries. A lookup verifies the address observed by the lookup service. The application run checks whether the workflow works at its actual destination.

A compact test record could contain the run ID, session label, request time, observed exit IP, and result. If you later see a mismatch, compare it with the nearest successful run. Start with what changed between those two runs, such as a new session identifier, session expiry, or a different regional setting.

Set acceptance criteria for each test

For a sticky job, mark a run as complete only when the required steps succeed and the exit checks you made agree with the job’s expected exit. If you test the IP only at the start and end, record that scope in the result. That pair of observations leaves the route of intermediate requests unverified. If the destination is yours and you can inspect its request logs, use those logs to check the source address the destination actually saw.

For a rotating test, record which event should trigger a fresh selection. If several requests share one session ID, a repeated address may be expected. Across fresh sessions, log the number of samples, distinct observed exits, and results that met the test’s region requirement. For example, four distinct exits across six fresh sessions means some addresses repeated in that sample. It provides no estimate of the provider’s total pool size. Report geographic compliance separately from how many different IPs you saw.

Worked example: checking a public catalog in two regions

Suppose you need to check that a public catalog shows the intended prices and currency in two countries. Each country requires three related steps: open the catalog, open a product page, and confirm the displayed currency. A practical layout is to run one sticky session per country. Within each run, hold the region and session settings steady so that the three observations describe the same visit.

On a separate pass, you want to see whether the landing page behaves consistently across a few exits in one country. That pass can use independent runs with the same country setting and fresh sessions as supported by your connection. Record the exit used for each run and whether you see the expected country and page version. Keep those results separate from the three-step catalog checks.

Consider a failure in the first pass. The listing page and product page load, but the currency check times out and the session expires before the retry. Treat the first run as incomplete. Start again from the listing with a new session in the same country. If the new run succeeds, keep its results together under one run ID. That preserves the evidence behind the comparison and lets someone else review it later.

This is an illustrative workflow. Validate the available region and session options for your connection before using it on a schedule. Explore the residential and static ISP options on the TimiData website.

Decide how you will run the next batch

Use sticky sessions for the steps that must share a network context. Rotate between independent runs when the test calls for different exits. If your requirement is the same assigned public IP across runs, evaluate a static ISP connection. Validate the selected mode in the application that will run the work, then use completed results and their transfer cost to decide whether it fits.

Frequently asked questions

Can sticky and rotating sessions be used in the same project?

Yes. For example, use a sticky session within a related sequence and start a fresh session between independent runs if your connection supports that configuration.

Does a sticky proxy keep the same IP permanently?

A sticky session is designed to retain an exit within a supported session window. If you need the same assigned IP across separate runs or days, consider a static ISP connection and verify the delivered exit IP.

Does rotation guarantee a unique IP on every request?

A rotating pool can return an address that appeared earlier. Check how your connection triggers rotation and evaluate several observations.

Does rotating the exit IP change the country?

Rotation changes exit selection. If your connection supports country targeting, keep the country setting constant and validate the observed exit location for each run.

Will a sticky proxy preserve my cookies or login state?

Cookie storage and login state are handled by the client and destination. Keep the same browser profile or cookie store where your authorized workflow requires continuity, and verify the exit IP separately.

Which session mode should I use for price monitoring?

Start with sticky sessions when a price check compares related pages during one visit. Consider rotating between independent runs when the test specifically calls for sampling different exits in the same region.

Can two simultaneous jobs share the same sticky session ID?

They can share a session context only if that matches the provider’s configuration and the test design. For independent jobs, record separate session IDs so a retry or change in one job is easier to diagnose.

Sophia
Written by the author above and published by TimiData

Related articles