unique request ids
Tollef Fog Heen
tfheen at varnish-software.com
Thu Nov 3 13:34:22 CET 2011
]] Per Buer
| > What is its range?
|
| I'm guessing it is a 64bit int that would be unique for that instance of
| Varnish. i.e. all bets are off if you restart or are running Varnish on
| multiple servers. You might want to have a look at the source - look for
| xid. Not sure where it is actually constructed.
It's seeded as a random number and then increased (albeit unlocked) so
you can end up with duplicates.
It's also a 32 bit number, so it will eventually wrap (about 10 days
wrap time if you average 5kr/s).
Cheers,
--
Tollef Fog Heen
Varnish Software
t: +47 21 98 92 64
More information about the varnish-misc
mailing list