[nginx] Variable $request_id.

Maxim Dounin mdounin at mdounin.ru
Wed Apr 27 14:30:07 UTC 2016


Hello!

On Wed, Apr 27, 2016 at 03:23:51PM +1000, SplitIce wrote:

> For ours we used a random number to start and the Process ID & Process
> start time to try and increase uniqueness between reloads (ours is a 128bit
> ID). Then applying an increment, with future requests having a higher id.
> 
> Perhaps that would be better than just 128bit of random data?

Using process id & start time is believed to be particularly bad 
approach in virtualized environments where multiple identical 
virtual machines and/or containers can start at the same time.

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx-devel mailing list