Re: Advice on mod_lisp-based web application.
- From: Blaine <Blaine.M.Nelson@xxxxxxxxx>
- Date: 24 Apr 2007 10:46:47 -0700
Alex and Tim,
Thanks for the advice. If a stateless interaction model will make my
problems vanish then I'm definitely interested in trying to change
things.
I do have a good deal of state in global variables. The
recommendation is to migrate those to "session variables". Might you
say a little more about session variables? Are these instances of a
data structure that includes session id information along with the
variable's value? Or something else?
Also, Alex wrote, "the only thing i can imagine that makes it hard to
make multi-user
application is having some calculations running persistently in the
thread.." The simulation (discrete event monte carlo type thing),
when run lots of times which I have to do to get statistically sound
results, can take a few minutes to run. Is this the sort of thing you
imagine as being problem? Or, might it be the case that if I migrate
state-preserving global variables to session variables, I will be
okay?
I guess another way of asking the question is this. Is the
elimination of global variables sufficient to allow multithreading?
(I'm using SBCL and the Debian common-lisp-controller).
Again, thank you,
Blaine
.
- Follow-Ups:
- Re: Advice on mod_lisp-based web application.
- From: Tim X
- Re: Advice on mod_lisp-based web application.
- From: Alex Mizrahi
- Re: Advice on mod_lisp-based web application.
- References:
- Advice on mod_lisp-based web application.
- From: Blaine
- Re: Advice on mod_lisp-based web application.
- From: Tim X
- Advice on mod_lisp-based web application.
- Prev by Date: Re: statistical vs deterministic profilers
- Next by Date: Re: LispWorks on Sale
- Previous by thread: Re: Advice on mod_lisp-based web application.
- Next by thread: Re: Advice on mod_lisp-based web application.
- Index(es):
Relevant Pages
|