Welcome! Log In Create A New Profile

Advanced

Re: Is this the right way to do synchronous subrequests?

agentzh
January 11, 2010 09:02PM
On Tue, Jan 12, 2010 at 3:27 AM, Brian Pane <brianp@brianp.net> wrote:
>
> One specific question I have is: What does the
> NGX_HTTP_SUBREQUEST_IN_MEMORY flag do?
>

Err...it seems you didn't try google hard enough? ;)

http://nginx.org/pipermail/nginx-devel/2009-November/000011.html

Just as a side note, I'm also thinking about adding "subrequest in
memory" support to my ngx_drizzle module so that people can use the
ngx_eval module to do SQL, like this:

location /cat {
eval $res {
drizzle_query "select count(1) from cats";
drizzle_pass my_mysql_cluster;
rds_json compact; # enable JSON output for the result
}
if ($res !~ '"count":1') {
return 404;
}
# proxy_pass, fastcgi_pass, and etc.
}

Cheers,
-agentzh

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

Is this the right way to do synchronous subrequests?

Brian Pane 3248 January 11, 2010 02:28PM

Re: Is this the right way to do synchronous subrequests?

agentzh 1661 January 11, 2010 09:02PM



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

Online Users

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