[ANNOUNCE] nginx-perl-1.1.17.1

Guzmán Brasó guzman.braso at gmail.com
Tue Mar 20 16:43:19 UTC 2012


Hello Alexander,

I've one simple question, how is performance affected when opening a
small text file (a small database).

I know if the file is small linux itself will cache into memory the
file, but I'm worried about how it will affect each url request to
open the file, even from memory reading again the whole file, then
querying, then closing the handler, etc. All in vain because this file
won't change more than once per hour.

My question is:
There is any way to store information in memory to use between
different requests within perl?

Thank you,

Guzmán
On Thu, Mar 15, 2012 at 4:55 PM, Alexandr Gomoliako <zzz at zzz.org.ua> wrote:
> Hello, everyone.
>
> It's been awhile since my last announce, it was 1.1.11.1 roughly two
> months ago. And now it's 1.1.17.1.
>
> There were couple of bugfixes and new features. But most of the work
> was done on automated testing to make it work properly on things like
> cpantesters and travis-ci.
>
>    http://matrix.cpantesters.org/?dist=Nginx-Perl%201.1.16.1
>
> So, it is now possible to use Nginx::Perl as a dependency for perl
> modules and test against it on cpantesters and travis-ci. Here's an
> example of such module and its tests:
>
>    http://matrix.cpantesters.org/?dist=Nginx-HTTP
>    https://github.com/zzzcpan/Nginx-HTTP/tree/master/t
>
> Also wanted to mention one example, just to show how much you can do:
> "In nginx-perl every request object $r is created and destroyed with
> nginx's own request. This means, that it is possible to reorder
> natural request flow in any way you want. It can be very helpful in
> case of DDOS, unusual load spikes or anything else you can think of."
>
>    http://zzzcpan.github.com/nginx-perl/Nginx.html#REQUEST_QUEUE
>    https://github.com/zzzcpan/nginx-perl/tree/master/eg/requestqueue
>
>
> Webpage:
>    http://zzzcpan.github.com/nginx-perl/
>
> Github:
>    https://github.com/zzzcpan/nginx-perl
>
> CPAN:
>    Nginx::Perl
>
> Changes:
>    https://raw.github.com/zzzcpan/nginx-perl/master/CHANGES.perl
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx



-- 
Guzmán Brasó Núñez
Senior Perl Developer / Sysadmin
Web: http://guzman.braso.info
Mobile: +598 98 674020



More information about the nginx mailing list