Re: Advice on mod_lisp-based web application.



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

.



Relevant Pages

  • Re: Need help with form problem. Its driving me crazy!
    ... >> a.php uses session variables that aren't set, ... The include order of global variables are importent, ...
    (alt.php)
  • Re: session handling In outlook
    ... What session variables do you mean? ... in global variables in your code. ... Dmitry Streblechenko (MVP) ... OutlookSpy - Outlook, CDO ...
    (microsoft.public.office.developer.com.add_ins)
  • pydoc for global variables
    ... Is it possible to "pydoc" global variables also? ... It just stucks them into the "DATA" section. ... Thanks, Alex ... Prev by Date: ...
    (comp.lang.python)