From ArchWiki
Revision as of 01:19, 6 March 2007 by Bootiack (Talk | contribs)

Jump to: navigation, search

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 and is massively scalable.

I refer to Prof P Greenspun of MIT

pacman -Sy tcl

grab aolserver and untar, cd aolserver4.5

/usr/bin/tclsh ./nsconfig.tcl -install /a/dir/of/your/choice

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 /a/dir/of/your/choice
       % cp base.tcl nsd.tcl
       % vi nsd.tcl
       Additional configuration examples can be found in the 
       examples/config directory.

3e. Try running the server in a shell window:

       % cd /a/dir/of/your/choice
       % bin/nsd -ft nsd.tcl