191919
June 07, 2010 02:16AM
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@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@frickle.com >
>
>
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel@nginx.org
> http://nginx.org/mailman/listinfo/nginx-devel
>

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

Write a module to support other protocol that http

Jh 2691 June 06, 2010 06:32AM

Re: Write a module to support other protocol that http

Peter Leonov 1038 June 06, 2010 10:38AM

Re: Write a module to support other protocol that http

191919 1164 June 06, 2010 10:50AM

Re: Write a module to support other protocol that http

Boris Dolgov 1616 June 06, 2010 11:26AM

Re: Write a module to support other protocol that http

Jh 1123 June 06, 2010 12:38PM

Re: Write a module to support other protocol that http

Piotr Sikora 1039 June 07, 2010 01:16AM

Re: Write a module to support other protocol that http

191919 1027 June 07, 2010 02:16AM

Re: Write a module to support other protocol that http

Piotr Sikora 1062 June 07, 2010 02:54AM

Re: Write a module to support other protocol that http

191919 1064 June 07, 2010 04:26AM

Re: Write a module to support other protocol that http

Qihang Guo 1399 June 07, 2010 04:48AM



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

Online Users

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