Welcome! Log In Create A New Profile

Advanced

How does Nginx look-up cached resource?

Shuxin Yang
September 03, 2015 09:40PM
Hi, There:

I'm Nginx newbie. I have a question regarding how nginx lookup a
cached resource.

As far as I can tell, given a cache-key k. Nginx uses crc32(k) as
as the key to lookup
the cached resource in a RB tree, and use md5(k) verify if conflict take
place; the
key k per se is not used for looking up resource. Is my understanding
correct?
If so, how can we guarantee that crc32 and md5 combined can uniquely
identify a resource?

Thanks
Shuxin

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

How does Nginx look-up cached resource?

Shuxin Yang 809 September 03, 2015 09:40PM

Re: How does Nginx look-up cached resource?

Maxim Dounin 252 September 04, 2015 09:24AM

Re: How does Nginx look-up cached resource?

Sergey Brester 284 September 04, 2015 11:38AM

Re: How does Nginx look-up cached resource?

Maxim Dounin 272 September 04, 2015 02:12PM

Re: How does Nginx look-up cached resource?

Sergey Brester 389 September 04, 2015 02:58PM

Re: How does Nginx look-up cached resource?

Maxim Dounin 235 September 04, 2015 03:44PM

Re: How does Nginx look-up cached resource?

Sergey Brester 274 September 04, 2015 05:02PM

Re: How does Nginx look-up cached resource?

Maxim Dounin 283 September 05, 2015 08:10PM

Re: How does Nginx look-up cached resource?

Sergey Brester 310 September 07, 2015 09:36AM

Re: How does Nginx look-up cached resource?

Maxim Dounin 299 September 07, 2015 12:20PM

Re: How does Nginx look-up cached resource?

Sergey Brester 248 September 07, 2015 12:34PM

Re: How does Nginx look-up cached resource?

Gena Makhomed 306 September 04, 2015 05:22PM

Re: How does Nginx look-up cached resource?

Maxim Dounin 270 September 05, 2015 09:58PM

Re: How does Nginx look-up cached resource?

Gena Makhomed 210 September 07, 2015 10:46AM

Re: How does Nginx look-up cached resource?

Maxim Dounin 241 September 07, 2015 01:00PM

Re: How does Nginx look-up cached resource?

Gena Makhomed 358 September 07, 2015 03:30PM

Re: How does Nginx look-up cached resource?

Sergey Brester 345 September 07, 2015 05:24PM

Re: How does Nginx look-up cached resource?

Gena Makhomed 496 September 07, 2015 07:20PM

Re: How does Nginx look-up cached resource?

Maxim Dounin 418 September 07, 2015 09:42PM

Re: How does Nginx look-up cached resource?

Gena Makhomed 375 September 08, 2015 05:08PM

Re: How does Nginx look-up cached resource?

Maxim Dounin 410 September 09, 2015 01:18PM

Re: How does Nginx look-up cached resource?

Sergey Brester 277 September 10, 2015 05:58AM

Re: How does Nginx look-up cached resource?

Sergey Brester 272 September 10, 2015 08:56AM

Re: How does Nginx look-up cached resource?

Maxim Dounin 291 September 10, 2015 10:48AM

Re: How does Nginx look-up cached resource?

Sergey Brester 257 September 10, 2015 11:08AM

Re: How does Nginx look-up cached resource?

Maxim Dounin 267 September 10, 2015 11:34AM

Re: How does Nginx look-up cached resource?

Sergey Brester 273 September 10, 2015 11:56AM

Re: How does Nginx look-up cached resource?

Maxim Dounin 290 September 10, 2015 01:00PM

Re: How does Nginx look-up cached resource?

Sergey Brester 546 September 10, 2015 04:54PM



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

Online Users

Guests: 177
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready