[edit] Appendix
Instead of ${remote_addr}, one could use ${cookie}, ${args} or any other nginx variable. You may also add a salt (arbitrary string) if you wish.
- Keep in mind that if you use a variable like ${remote_addr} (user IP), the hash (and percentage) will always be the same as long as the user/client keep the same IP. In other words, the $variant value will always be the same for the same IP.
- Hashing algorithm is MurmurHash2 since version 1.0.1; Previously CRC32.
[edit] Directives
Module: HttpSplitClientsModule