The three modes
| Mode | Username | Behavior |
|---|---|---|
| Sticky | USER | The same address until it is renewed |
| Per session | USER__session_ID | One stable address per session id |
| Random | USER__random | A fresh address for every connection |
Connections authorized by source IP, without a username, get a fresh address per connection.
Session ids
- Use 1 to 128 letters, digits,
_or-, for example__session_crawl-fr-01. - Reuse the same id to keep the same address. Use a new id to get a new one.
- Everything after
__session_is the id, soUSER__session_a__randomis the sessiona__random, not random mode.
Which mode to use
- Sticky for logged-in flows and anything that checks the IP across requests.
- Per session to run many parallel jobs, each with its own stable address.
- Random for stateless requests spread over the pool.