Re: Concurrency question
Re: Concurrency question
- Subject: Re: Concurrency question
- From: Miguel Arroz <email@hidden>
- Date: Wed, 1 Aug 2007 18:47:48 +0100
Hi!
On 2007/08/01, at 18:14, Chuck Hill wrote:
You sure do know how to have fun with WO!
My software development cycle is a really weird thing. I'm a very
pessimistic guy, and I always assume everything will screw up. So I
start to think on all the ramifications I can get. When concurrency
and multiple users are envolved, this gets really scaring. And I
usually end up finding a big problem. Sometimes it's a conceptual
problem, sometimes it's a bug, sometimes it's a bug in Wonder that I
or someone else fixes (thank you guys), sometimes it's a bug in WO
that none has fixed in the last five years, etc. Then I get really
stressed. I think I will never ever have this thing working fine and
all the data in my DB will corrupt. Then I start shooting questions
for the mail-list and talking to some dudes in iChat that probably
run away and start shooting people every time my window pops-up (btw,
apple, you *could* do that popping up a little less stressful!). And
then I start stack tracing and debugging and disassem... errr...
using my supernatural powers to see what's going on. Then it's 3:30
am and I must go sleep.
Well, that's why I keep asking about weird problems. And thinking
about being a farmer. In Alentejo.
Is this on pages or in threads? Are the relevant editing contexts
getting locked and unlocked or staying locked during all this?
I'm using the MultiLocker thing (can't recall the name of the
class) so all my ECs lock and unlock automatically. This action is
triggered by an hyperlink on a page, so it's in the middle of the R-
R. I forced one of the threads to block for 10 seconds, so I can test
this, and of course, I found problems! :)
It gets more complex than this. One quick fix is to have each EC
in its own EOF stack. But that can be rather memory expensive.
Yeah, that's a bit too heavy! :( But, theoretically, it's a nice
solution! :)
Yours
Miguel Arroz
Miguel Arroz
http://www.terminalapp.net
http://www.ipragma.com
_______________________________________________
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