Re: WO 5.4, Ajax polling and multi-threading questions
Re: WO 5.4, Ajax polling and multi-threading questions
- Subject: Re: WO 5.4, Ajax polling and multi-threading questions
- From: Mike Schrag <email@hidden>
- Date: Wed, 18 Feb 2009 09:39:35 -0500
if i just turn on multi-threading and do not synchronize the EOF
calls, then if two or more requests came in for EOF related
operations they would choke? [is what i understand]
if you're making ajax calls that (as I understood it from your
original) are NOT touching eof, you're not going to lock against
EOF ... they're just unrelated method calls. if you have two
direct actions touching EOF, then yes, if you are .lock()ing
properly, they will become single-threaded at one of the layers of
EOF.
But he'll be locking against the session, which may even be worse.
not sure how this would be worse? if he's doing a bunch of ajax
stuff, it implies to me that the user is sitting on a single page, so
I guess if you have two sessionful Ajax things polling against
eachother you'd see that ... that said, I actually assumed that he was
using sessionless DA's here (just figuring most people would use Ajax
framework if they were doing sessionful things), but in hindsight
that's maybe too great of an assumption.
also, i feel the need to say "he lives" every time you poke your head
up from whatever world you're living in now :)
ms
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden