# Nginx Module Non-blocking event

**URL:** <https://www.ruby-forum.com/t/nginx-module-non-blocking-event/221148>\
**Category:** NGINX\
**Created:** [July 2, 2012, 4:39pm UTC](https://www.ruby-forum.com/t/nginx-module-non-blocking-event/221148 "2012-07-02T16:39:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [July 2, 2012, 4:39pm UTC](https://www.ruby-forum.com/t/nginx-module-non-blocking-event/221148/1 "2012-07-02T16:39:00Z")

</div>

Hello all,

I just finished my module for nginx. Now I am going through and fixing  
any problems that may arise. My module is currently using the shared  
memory to store IPs received into an rbtree. Then after so many IPs are  
stored it sends these IPs via libcurl to a third party site for review.

I got this all working fine, no problem. However an issue arises if the  
third party site is experiencing lag, as it will lag the person who  
initiated the request. I want the libcurl process to be handled  
separately from the user connection. What should I be looking at to  
achieve this?

Posted at Nginx Forum:

> **[Nginx Module Non-blocking event](https://forum.nginx.org/read.php?2,228173,228173#msg-228173)**
>
> Hello all, I just finished my module for nginx. Now I am going through and fixing any problems that may arise. My module is currently using the shared memory to store IPs received into an rbtree. Then after so many IPs are stored it sends these IPs...
