On Thu, 23 May 2002, Jason Saunders wrote: > Hi folks, > > I'm planning on adapting nsvhr to do reverse-proxying based on the url of a > request, so different parts of one site can run on different machines. > > Because they are on different machines, I will have to use nssock rather > than nsunix.
I was thinking about the same. I've planned to achive that by registering VHRProc from nsvhr.c under some urlpattern (using Ns_RegisterRequest). By default nsvhr module registers this proc under / pattern for methods GET/HEAD/POST. I belive it would be usefull to create TCL commnad ns_register_proxy similar to ns_register_proc. I need that to handle some part of AOLserver website by another webserwer, for example Apache running PHP+IMP. But as a high performace HTTP reverse-proxy I would opt for socket-select based solution (used by thttpd, boa, etc). For a high performance HTTP issues you may take a look at: Web Server Comparisons http://www.acme.com/software/thttpd/benchmarks.html JAWS: Understanding High Performance Web Systems http://www.cs.wustl.edu/~jxh/research/research.html The C10K problem http://www.kegel.com/c10k.html. Web Servers Used at the Top Sites http://www.e-gineer.com/articles/web-servers-used-at-the-top-sites.phtml and of course Tcl in AOL Digital City The Architecture of a Multithreaded High-Performance Web Site http://aolserver.com/docs/intro/tcl2k/html/ --tkosiak
