[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Unfair question: best Lisp for web development?
From: |
Graham Fawcett |
Subject: |
Re: [Chicken-users] Unfair question: best Lisp for web development? |
Date: |
Wed, 27 Feb 2008 20:58:44 -0500 |
Hi Jim,
On Wed, Feb 27, 2008 at 5:01 PM, Jim Ursetto <address@hidden> wrote:
> On 2/27/08, Graham Fawcett <address@hidden> wrote:
> > Personally, I don't use Spiffy; I wrote a custom framework instead.
>
> Would you mind expanding a little on your custom framework and
> whether it resides behind another webserver via mod_proxy, scgi,
> fastcgi, cgi, or is itself the main webserver?
Sure. My first version was an SCGI server, but later I switched to
HTTP. I usually host behind Apache, and moving from mod_scgi to
mod_proxy was pretty straightforward, and in return it's much easier
to test when Apache isn't running. I also like that using HTTP as the
only protocol means that you can deploy apps in small-scale,
standalone situations (e.g. "localhost" workstation apps).
> Also, do you handle requests with one request per process
> or with SRFI-18 threads?
SRFI-18 threads, using one thread per connection; so, possibly
handling several requests on a keep-alive connection. I find this
works really well. I was going to move to a preforking approach
eventually, and had once started on a single-threaded, asynchronous
design. But in production, I've yet to find a fault with the threaded
model, so those projects are on the backburner. One day I'll finish
the preforking one though, I have an app in mind that will need that.
I'm currently "extracting" the framework from an application I'm
working on, and modularizing it. If you're interested, I will share
the code.
Best,
Graham
Re: [Chicken-users] Unfair question: best Lisp for web development?, Tobia Conforto, 2008/02/27
Re: [Chicken-users] Unfair question: best Lisp for web development?, Alejandro Forero Cuervo, 2008/02/27
Re: [Chicken-users] Unfair question: best Lisp for web development?, Robin Lee Powell, 2008/02/27