locking DB through a dedicated lock table
locking DB through a dedicated lock table
- Subject: locking DB through a dedicated lock table
- From: OC <email@hidden>
- Date: Sat, 03 Jan 2015 19:52:39 +0100
Hello there,
I'm about to implement the support for reliable both inter- and intra-instance locking; most probably based on a separate table with different rows for different „locks“, or something like that.
Presumably this is one case where fixed PKs are beneficial (so that two instances can't insert same lock row at once). Before I dive into all the possible race conditions and other gotchas, I wonder -- this being a pretty common need, isn't there somewhere already implemented appropriate support in WOnder?
Thanks,
OC
_______________________________________________
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