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:26:09 -0500
hi mike,
please keep threads on the list ...
the issue is that i need to host the ajax direct actions in a WOA
that already has EOF in the picture. The EOF related calls too are
served through existing DAs.
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.
so if person A calls dontTouchEOFAction(), person B calls
touchEOFAction(), and person C calls touchAnotherPartofEOFAction(),
person A will not block or be blocked by anything, person B and C will
be single-threaded and one will block the other until the database
operation is complete.
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