Welcome! Log In Create A New Profile

Advanced

nginx upstream module - delay in response for the 2nd request

Posted by melwin_jose 
nginx upstream module - delay in response for the 2nd request
May 29, 2015 02:33AM
I went through the EvanMillers Nginx tutorial, and wrote a simple nginx upstream module that does a GET from the backend redis server. The first request work perfectly fine, but for the second request the nginx the handler is only called after the first one is timed out (see attached image). Here is the code : https://gist.github.com/melwinjose/9c22c30eabe05b051a16
Attachments:
open | download - Untitled.png (99.1 KB)
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 155
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