Welcome! Log In Create A New Profile

Advanced

Re: [ANNOUNCE] nginx-perl-1.1.17.1

March 20, 2012 12:44PM
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@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@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

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

[ANNOUNCE] nginx-perl-1.1.17.1

Alexandr Gomoliako March 15, 2012 03:56PM

Re: [ANNOUNCE] nginx-perl-1.1.17.1

valor March 20, 2012 12:44PM

Re: [ANNOUNCE] nginx-perl-1.1.17.1

Alexandr Gomoliako March 20, 2012 01:14PM

Re: [ANNOUNCE] nginx-perl-1.1.17.1

valor March 20, 2012 02:58PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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