Some time ago i added writer feature to NS, when configured in nssock
section as
ns_param writerthreads 2
NS will create 5 threads that will perform serving large files to the
clients leaving connection threads to do dynamic parts. Those writer
threads are serving multiple connections at the same time using aync IO,
so no big overhead.
As for caching for adp, tcl, NS and AS do caching compiled ADP pages as
well as compiled Tcl pages internally, you do not have to do anything
except playing with config parameters that define cache size, see
cachesize in ns/server/$server/adp section
filecachesize in ns/server/$server section
Mike wrote:
Two unrelated questions...
The project for which I am considering NS will have a dynamic and very
large static part. There will be many very large (650MB) static files
that people will download. It is hard for me to judge what the
performance of serving these files with NS will be. Of course
benchmarking would be the ideal route, however I have the pleasure of
writing the code now, and the hardware for this project won't be
purchased until a while from now. Should I use NS for the dynamic
part and redirect the static requests to something like lighttpd, or
can I rely on NS to handle such load without problems?
Does there exist a caching mechanism for dynamically generated tcl/adp
pages? If it does, where can I find docs for how it works/when the
cache is invalidated?
Does a mechanism exist to "reload" the tcl libraries on a live server?
(please pardon all the questions, I'm just trying to get up to speed
with what's in there)
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
naviserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/naviserver-devel
--
Vlad Seryakov
571 262-8608 office
[EMAIL PROTECTED]
http://www.crystalballinc.com/vlad/