wok-current view perl-net-server/description.txt @ rev 25278

updated reptyr (0.7.0 -> 0.9.0)
author Hans-G?nter Theisgen
date Mon Jul 18 14:55:21 2022 +0100 (2022-07-18)
parents
children
line source
1 Net::Server is an extensible, generic Perl server engine.
3 Net::Server attempts to be a generic server as in Net::Daemon and
4 NetServer::Generic.
5 It includes with it the ability to run as an inetd process
6 (Net::Server::INET), a single connection server (Net::Server or
7 Net::Server::Single), a forking server (Net::Server::Fork),
8 a preforking server which maintains a constant number of preforked
9 children (Net::Server::PreForkSimple), or as a managed preforking
10 server which maintains the number of children based on server load
11 (Net::Server::PreFork).
12 In all but the inetd type, the server provides the ability to connect
13 to one or to multiple server ports.
15 The additional server types are made possible via "personalities" or
16 sub classes of the Net::Server.
17 By moving the multiple types of servers out of the main Net::Server
18 class, the Net::Server concept is easily extended to other types
19 (in the near future, we would like to add a "Thread" personality).
21 Net::Server borrows several concepts from the Apache Webserver.
22 Net::Server uses "hooks" to allow custom servers such as SMTP, HTTP,
23 POP3, etc. to be layered over the base Net::Server class.
24 In addition the Net::Server::PreFork class borrows concepts of
25 min_start_servers, max_servers, and min_waiting servers.
26 Net::Server::PreFork also uses the concept of an flock serialized
27 accept when accepting on multiple ports (PreFork can choose between
28 flock, IPC::Semaphore, and pipe to control serialization).