
Sticky proxies try to preserve one exit IP across a sequence of requests; rotating proxies allow the exit route to change between independent requests. Choose by the unit of work: preserve continuity for dependent steps, and use rotation when each permitted observation can stand on its own. Neither mode preserves browser cookies, guarantees a location, or makes a request immune to access controls.
On Magnetic Proxy, these are session behaviors available through the residential gateway. The important question is not which mode is universally better. It is what should happen when a route changes, a session expires, or a location is unavailable. A pipeline needs an explicit answer before it starts collecting data.
A sticky session asks the gateway to retain an assignment. A rotating configuration does not ask for that same assignment to persist. The first supports continuity; the second supports independent work. An IP can still become unavailable, and changing an exit IP does not create a new browser identity.
| Decision | Sticky session | Rotating configuration |
|---|---|---|
| Unit of work | A sequence whose steps share context | An observation that can be retried independently |
| Route expectation | Retain the assigned exit when possible | Allow the gateway to select exits without retaining a session assignment |
| Client state | Cookies and storage remain the client's responsibility | Cookies and storage remain the client's responsibility |
| Failure decision | Check whether the sequence must restart | Decide whether that observation can be retried |
| What it cannot prove | A permanent IP or uninterrupted session | A unique IP for every request or permission to access a target |
Use continuity when a later step depends on an earlier observation. For example, an authorized storefront QA check may select a location, view an item, and confirm the displayed delivery information. If the route changes partway through, the combined record may no longer represent one consistent observation.
Document which context actually matters. Is it the exit IP, the country, the selected currency, the browser's stored location, or the authenticated user? These are separate variables. A stable IP cannot repair a lost cookie, and keeping a cookie does not prove that the exit stayed in the same country.
Before beginning, decide which completed work remains valid after a route change. A product title already collected might remain usable, while a location-specific availability comparison may need to restart. Preserve an incomplete record as incomplete rather than merging steps from different contexts into an apparently successful result.
Rotation is useful when permitted observations are independent. A public catalog check, for example, can record each URL, time, requested location, observed response, and validation outcome separately. One failed observation then does not require restarting unrelated checks.
Independence does not remove the need for rate limits, access permission, or data validation. A response can be an error page, a challenge, a location fallback, or an incomplete document even when the transport succeeds. Validate the expected content before adding it to a dataset.
Do not rotate simply because a request failed. First distinguish a credential problem, an unsupported destination, a transient connection failure, and a target response. Repeating an unchanged request through different exits can hide the cause and consume bandwidth without improving the result.
The current Magnetic Proxy documentation describes sessid as a client-generated alphanumeric identifier without hyphens. Reuse it for the same intended session. sesstime controls the configured duration in seconds; the documented default is 1,800 seconds.
The documentation says the assigned IP is retained when possible. If unavailable, the gateway may choose another from the same country, then another country if necessary. With hardcountry-true alongside sessid, failure to find an assignment in the requested country produces a failure instead of that country fallback. This is a country constraint, not a guarantee of a specific IP or city.
Copy the protocol, endpoint, and supported option syntax from the current documentation or connection generator. Keep the session identifier stable within one logical job, use a different identifier for an unrelated job, and keep credentials out of logs. The options configure routing; the application still owns its restart rules.
Suppose an approved task first chooses a country on a public storefront and then checks a product's availability. A sticky route can support continuity across those steps, but the acceptance test still needs to confirm the selected country and the page's own location indicators. If either changes, restart that observation according to the site's permitted workflow. This is a QA design example, not a claim that a proxy guarantees the site's displayed inventory.
These distinctions also explain why a proxy cannot promise anonymity, access, account safety, or a particular success rate. Check the current restricted-target list before selecting any workload.
Use the General Purpose Capsule to evaluate the residential routing layer, or review the Web Scraping Capsule for permitted collection workflows. The rotating-proxy guide covers the underlying concept; this comparison helps decide the boundary of each job.
The operational rule is simple: choose continuity when steps depend on each other, and rotation when observations are independent. In both cases, define what the result must prove and what the application should do when it cannot prove it.
Check the most Frequently Asked Questions
Should I use rotating or sticky sessions for Shopify?
Use rotating sessions for independent permitted storefront checks. Use a sticky session when an authorized workflow needs the same network route across multiple steps. Rotating is not automatically better: session continuity is usually more useful for stateful workflows, while independent checks may benefit from rotation.
Should I use rotating or sticky sessions for Amazon?
Use rotating sessions for independent permitted product or marketplace checks. Use a sticky session when an authorized workflow needs the same network route across multiple steps. Rotating is not automatically better: session continuity is usually more useful for stateful workflows, while independent checks may benefit from rotation.
Here’s how Profile Peeker enables organizations to transform profile data into business opportunities.