Aolserver is "20x the speed of apache" a web server with tcl compiled in with 1 pooled db connection 2 single process multiple threads 3 cache-ing of pages and db return results in memory. Powers www.aol.com and is massively scalable.
I refer to Prof P Greenspun of MIT http://philip.greenspun.com/wtr/aolserver/introduction-1.html
The README has install instructions as well.
install tcl with threads per the readme pacman -Sy tcl
grab aolserver and untar
tar xzvf wget http://aolserver.com/files/aolserver-HEAD-src.tar.gz
cd into new install dir, create a target home dir for aolserver, and
compile into a new target home dir:
mkdir (whatever; example /opt/aolserver)
/usr/bin/tclsh ./nsconfig.tcl -install (whatever you want example: /opt/aolserver)
make install clean
[from README] 3d. Once the binaries are built and installed, create and edit
a config file, nsd.tcl by convention. A sample is provided to get started:
% cd (target home dir for aolserver) % cp base.tcl nsd.tcl % vi nsd.tcl (nothing really needs to be changed until you learn config stuff, defaults to port 8000)
Additional configuration examples can be found in the examples/config directory.
3e. Try running the server in a shell window:
% cd (target aolserver home) % bin/nsd -ft nsd.tcl -u (a user you like)
- place new pages you wget and rename xyz.html in the pages directory
(aolserver target homdir)/servers/server1/pages
www.aolserver.com has more