wok-6.x diff perl-net-server/description.txt @ rev 24783

Up apache-ant (1.10.12)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 20 12:11:06 2022 +0000 (2022-03-20)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/perl-net-server/description.txt	Sun Mar 20 12:11:06 2022 +0000
     1.3 @@ -0,0 +1,28 @@
     1.4 +Net::Server is an extensible, generic Perl server engine.
     1.5 +
     1.6 +Net::Server attempts to be a generic server as in Net::Daemon and
     1.7 +NetServer::Generic.
     1.8 +It includes with it the ability to run as an inetd process
     1.9 +(Net::Server::INET), a single connection server (Net::Server or
    1.10 +Net::Server::Single), a forking server (Net::Server::Fork),
    1.11 +a preforking server which maintains a constant number of preforked
    1.12 +children (Net::Server::PreForkSimple), or as a managed preforking
    1.13 +server which maintains the number of children based on server load
    1.14 +(Net::Server::PreFork).
    1.15 +In all but the inetd type, the server provides the ability to connect
    1.16 +to one or to multiple server ports.
    1.17 +
    1.18 +The additional server types are made possible via "personalities" or
    1.19 +sub classes of the Net::Server.
    1.20 +By moving the multiple types of servers out of the main Net::Server
    1.21 +class, the Net::Server concept is easily extended to other types
    1.22 +(in the near future, we would like to add a "Thread" personality).
    1.23 +
    1.24 +Net::Server borrows several concepts from the Apache Webserver.
    1.25 +Net::Server uses "hooks" to allow custom servers such as SMTP, HTTP,
    1.26 +POP3, etc. to be layered over the base Net::Server class.
    1.27 +In addition the Net::Server::PreFork class borrows concepts of
    1.28 +min_start_servers, max_servers, and min_waiting servers.
    1.29 +Net::Server::PreFork also uses the concept of an flock serialized
    1.30 +accept when accepting on multiple ports (PreFork can choose between
    1.31 +flock, IPC::Semaphore, and pipe to control serialization).