Welcome! Log In Create A New Profile

Advanced

Re: [nginx] Variable $request_id.

Albert Casademont
April 27, 2016 10:42AM
Hi all,

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!

https://github.com/newobj/nginx-x-rid-header/

Best,

Albert

On Wed, Apr 27, 2016 at 5:30 PM, Maxim Dounin <mdounin@mdounin.ru> wrote:

> 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/
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
>
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Variable $request_id.

Vladimir Homutov 2325 April 26, 2016 12:40PM

Re: [nginx] Variable $request_id.

ToSHiC 1111 April 26, 2016 12:54PM

Re: [nginx] Variable $request_id.

Alexey Ivanov 2392 April 26, 2016 10:16PM

Re: [nginx] Variable $request_id.

splitice 1242 April 27, 2016 01:26AM

Re: [nginx] Variable $request_id.

Andrew Hutchings 634 April 27, 2016 04:42AM

Re: [nginx] Variable $request_id.

ToSHiC 736 April 27, 2016 04:52AM

Re: [nginx] Variable $request_id.

splitice 3044 April 27, 2016 05:56AM

Re: [nginx] Variable $request_id.

Maxim Dounin 664 April 27, 2016 10:32AM

Re: [nginx] Variable $request_id.

Albert Casademont 591 April 27, 2016 10:42AM

Re: [nginx] Variable $request_id.

Albert Casademont 883 April 27, 2016 10:44AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 145
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready