Write a module to support other protocol that http

191919 191919 at gmail.com
Mon Jun 7 10:14:17 MSD 2010


libevent has its own limit and actually it doesn't scale very well.

I found that I can add my own modules without http and mail by adding
source file list to CORE_MODULES, and nginx compiles ok and begins to
server my protocol. :)

2010/6/7 Piotr Sikora <piotr.sikora at frickle.com>:
> Hi,
>
>> Perhaps my description is misleading. What I want is to make nginx
>> *NOT TO BE AN HTTPD*. I want to take advantage of nginx's I/O module
>> and make it act as a custom protocol server, for example, a sqlite
>> server.
>
> So you won't be using any nginx's modules?
> Why do you want to use nginx in the first place then?
>
> nginx's I/O is standard event-driven architecture and you would be better
> off using libevent or similar libraries.
>
> Best regards,
> Piotr Sikora < piotr.sikora at frickle.com >
>
>
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://nginx.org/mailman/listinfo/nginx-devel
>



More information about the nginx-devel mailing list