Welcome! Log In Create A New Profile

Advanced

Re: Issue with 3rd-party memc and eval modules

agentzh
February 17, 2010 07:30AM
On Wed, Feb 17, 2010 at 7:07 PM, Valery Kholodkov
<valery+nginxen@grid.net.ru> wrote:
>
> In particular I don't like the presence of "eval_subrequest_in_memory" directive at all, because it specifies which way of internal communication the module needs to use, which doesn't make any sense for end user.
>

Thanks for replying to my pull request (although indirectly). Yeah, I
don't like the name of that directive as well. I chose that just
because I can't find a better name at that moment :P

> Second, the contributed code allocates a buffer and uses it in order to assemble the output of subrequest in it. This allocation can be totally avoided, if an appropriate state machine is implemented.
>

I just copied (almost) the way that ngx_http_upstream does buffered
outputing ;) To be honest, I didn't and don't see how that allocation
can be totally avoided for general use cases. Silly me! :P

> As soon as these issues are resolved, I'll accept this code.
>

It'll be great if you provide some more elaborate suggestions or even
patches to my patches if you do have the tuits :)

Just as Piotr mentioned ealier, the initial motivation for my ngx_eval
branch is to provide support for ngx_drizzle + ngx_rds_json. Adding
subrequest-in-memory support to every content handler/upstream handler
*with* output filter support is boring and no fun. So I chose to fix
ngx_eval rather than my content handler/upstream modules ;)

Thanks!
-agentzh

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

Issue with 3rd-party memc and eval modules

Markus Jelsma February 16, 2010 05:56AM

Re: Issue with 3rd-party memc and eval modules

Piotr Sikora February 16, 2010 06:20AM

Re: Issue with 3rd-party memc and eval modules

Markus Jelsma February 16, 2010 06:50AM

Re: Issue with 3rd-party memc and eval modules

Piotr Sikora February 16, 2010 07:12AM

Re: Issue with 3rd-party memc and eval modules

Markus Jelsma February 16, 2010 07:10AM

Re: Issue with 3rd-party memc and eval modules

Markus Jelsma February 17, 2010 03:54AM

Re: Issue with 3rd-party memc and eval modules

Piotr Sikora February 17, 2010 05:04AM

Re: Issue with 3rd-party memc and eval modules

Valery Kholodkov February 17, 2010 06:22AM

Re: Issue with 3rd-party memc and eval modules

Markus Jelsma February 17, 2010 06:58AM

Re: Issue with 3rd-party memc and eval modules

agentzh February 17, 2010 07:30AM

Re: Issue with 3rd-party memc and eval modules

Valery Kholodkov February 17, 2010 07:24AM

Re: Issue with 3rd-party memc and eval modules

Markus Jelsma February 17, 2010 07:30AM

Re: Issue with 3rd-party memc and eval modules

Piotr Sikora February 20, 2010 11:36AM

Re: Issue with 3rd-party memc and eval modules

Markus Jelsma February 20, 2010 11:36AM

Re: Issue with 3rd-party memc and eval modules

agentzh February 23, 2010 11:30PM

Re: Issue with 3rd-party memc and eval modules

Markus Jelsma February 24, 2010 08:56AM

Re: Issue with 3rd-party memc and eval modules

agentzh February 24, 2010 09:06PM

Re: Issue with 3rd-party memc and eval modules

Markus Jelsma February 20, 2010 11:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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