THS: a Tcl Http Server
THS is a small web server written in Tcl. It's primary use
is in hosting THT (see THSTHT).
THS runs THT natively, with zero dependancies,
and without the overhead
of CGI or FastCGI, and does not depend on
Apache or other webservers.
When running THS, THT files (those with the .tht and .thr extensions)
can be served out, natively.
It does not use exec, sockets or other high overhead mechanisms.
All handling is in-process, with individual requests handled within sub-interps.
This limits overhead to setting up and managing a sub-interp as opposed to IPC
and context switching. With resident pages, even that overhead
is eliminated or minimized.
Thus dynamic web scripting can be used, without dependancies
and their attendant complexity.
THS GUI
If you are using Wize, then you can try the new admin gui:
wize ths -gui 1
The Gui is mostly used to display statistics.
However, the Conf values can be edited
allowing you to change some of the runtime options.
© 2008 Peter MacDonald