<div dir="ltr"><div><div><div>Hi all,<br><br></div>We've been using this extension for quite a long time now, it's based on UUIDs and it works flawlessly, no need to reinvent the wheel here!<br><br><a href="https://github.com/newobj/nginx-x-rid-header/">https://github.com/newobj/nginx-x-rid-header/</a><br><br></div>Best,<br><br></div>Albert<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 27, 2016 at 5:30 PM, Maxim Dounin <span dir="ltr"><<a href="mailto:mdounin@mdounin.ru" target="_blank">mdounin@mdounin.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello!<br>
<span class=""><br>
On Wed, Apr 27, 2016 at 03:23:51PM +1000, SplitIce wrote:<br>
<br>
> For ours we used a random number to start and the Process ID & Process<br>
> start time to try and increase uniqueness between reloads (ours is a 128bit<br>
> ID). Then applying an increment, with future requests having a higher id.<br>
><br>
> Perhaps that would be better than just 128bit of random data?<br>
<br>
</span>Using process id & start time is believed to be particularly bad<br>
approach in virtualized environments where multiple identical<br>
virtual machines and/or containers can start at the same time.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Maxim Dounin<br>
<a href="http://nginx.org/" rel="noreferrer" target="_blank">http://nginx.org/</a><br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
nginx-devel mailing list<br>
<a href="mailto:nginx-devel@nginx.org">nginx-devel@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx-devel" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx-devel</a><br>
</div></div></blockquote></div><br></div>