Welcome! Log In Create A New Profile

Advanced

Re: Providing access to nginx state machine

Piotr Sikora
May 11, 2010 12:10PM
Hello Marko,

> I want to speak to another network service from nginx handler without
> blocking it.
> (...)
> Or maybe there is some other way do what I want?

Do what? You didn't really explain what you want to achieve, only how
would you achieve it in lighttpd.

I've got a feeling that simple subrequest might be the thing you're
looking for, so ngx_echo [1] might be worth studying here. Other than
that you could also check "independent request" that is implemented in
ngx_supervisord [2] (start reading from line 1117).

ngx_drizzle [3] and ngx_postgres [4] are good examples, but probably not
in this case. I'm pretty sure you won't be using 3rd-party libraries and
hacking around to "cheat" nginx's upstream module ;)

[1] http://github.com/agentzh/echo-nginx-module
[2] http://labs.frickle.com/nginx_ngx_supervisord/
[3] http://github.com/chaoslawful/drizzle-nginx-module
[4] http://labs.frickle.com/nginx_ngx_postgres/

Best regards,
Piotr Sikora < piotr.sikora@frickle.com >

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

Providing access to nginx state machine

Marko Kevac 3156 May 06, 2010 10:56AM

Re: Providing access to nginx state machine

agentzh 1198 May 06, 2010 09:48PM

Re: Providing access to nginx state machine

Marko Kevac 1093 May 11, 2010 07:40AM

Re: Providing access to nginx state machine

Marko Kevac 1072 May 11, 2010 10:44AM

Re: Providing access to nginx state machine

Piotr Sikora 1040 May 11, 2010 12:10PM

Re: Providing access to nginx state machine

Marko Kevac 987 May 11, 2010 12:48PM

Re: Providing access to nginx state machine

Piotr Sikora 1130 May 11, 2010 04:02PM

Re: Providing access to nginx state machine

Marko Kevac 962 May 11, 2010 04:20PM

Re: Providing access to nginx state machine

Piotr Sikora 1345 May 12, 2010 11:30AM



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

Online Users

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