Difference between revisions of "User:Bootiack/AOLserver"

From ArchWiki
Jump to: navigation, search
(categories added)
Line 31: Line 31:
[[Category: Howtos (English)]]
[[Category: HOWTOs (English)]]
[[Category: Daemons and system services (English)]]
[[Category: Daemons and system services (English)]]

Revision as of 21:18, 18 September 2007

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

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