Andras Simon <[EMAIL PROTECTED]> writes:
> Let me ask a slightly more specific question: is one of the free > web servers for CMUCL (Araneida and especially Portable Aserve) a > viable alternative to apache &al. for db (PostgreSQL and MySQL) backed > websites? Are there any multiprocessing or other issues one should I'm using Araneida _and_ Apache for a PostgreSQL-backed database site (with UncommonSQL). Apache sits in front of Araneida and passes the requests on using mod_proxy, so by setting sensible Last-Modified and Expires headers on the pages it creates (and handling If-Modified-Since properly) I can actually have Apache cache the dynamic-though-slower-changing content more or less transparently. Apache also handles buffering for slow clients so I don't have Lisp sitting there for minutes at a time trying to feed data to some poor sap on a 1.4k modem or a 9600bps wap device or something. Araneida doesn't multiprocess, instead using SERVE-EVENT. This is potentially an issue if you have some very slow computations to do before sending a page back - and of course, would be a problem serving slow clients (e.g. dialups) if Apache weren't there in front of it The site in question handles around 4k hits (1Gb data) daily without problems, and anecdotal evidence says that the bottleneck when it gets busier is database queries. Araneida itself has been clocked at about 50 requests/second for small static pages on 500MHz PIII machines - to be in a situation where that's a bottleneck is a problem that, frankly, I aspire to have. -dan -- http://ww.telent.net/cliki/ - Link farm for free CL-on-Unix resources
