unique request ids

Per Buer perbu at varnish-software.com
Wed Nov 2 22:05:39 CET 2011


On Wed, Nov 2, 2011 at 9:43 PM, Mit Rowe <mit at stagename.com> wrote:

> Hi Per,
>
> That's looks promising, i could save the X-Varnish header in the logs and
> during the import strip off the second number.
>
> Is that a sequential number or a random number?
>

sequential.


> 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.


-- 
Per Buer, CEO
Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer
*Varnish makes websites fly!*
Whitepapers <http://www.varnish-software.com/whitepapers> |
Video<http://www.youtube.com/watch?v=x7t2Sp174eI> |
Twitter <https://twitter.com/varnishsoftware>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20111102/acff2546/attachment-0003.html>


More information about the varnish-misc mailing list