Thread::Pool::ResolveResolve logs asynchronously | |
Download |
Thread::Pool::Resolve Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Elizabeth Mattijsen
- Publisher web site:
- http://search.cpan.org/~elizabeth/
Thread::Pool::Resolve Tags
Thread::Pool::Resolve Description
Resolve logs asynchronously Thread::Pool::Resolve is a Perl module that allows you to resolve log-files (any source of data in which the first characters on a line constitute an IP number) in an asynchronous manner using threads. Because threads are used to resolve IP numbers in parallel, the wallclock time of the resolving process can be significantly reduced.Because the Thread::Pool::Resolve module is very flexible in its input and output media, you can e.g. resolve log lines in real-time and store the result in a data-base (rather than in a text-file).If you are more interested in as low a CPU usage as possible, you should probably just create a simple filter using the gethostbyaddr function.SYNOPSIS use Thread::Pool::Resolve; Thread::Pool::Resolve->timeout( 60 ); # only for default resolver $resolve = Thread::Pool::Resolve->new( {field => setting}, parameters ); $resolve->read( | file | handle | socket | belt ); $resolve->line( single_log_line ); Requirements: · Perl
Thread::Pool::Resolve Related Software