J
Jay Riggs
A little knowledge can be a dangerous thing.
I've been reading up on networking programming in the .NET Framework
and came across a chapter on multicast sockets. The chapter includes
a sample chat program that's easy to implement and I thought that
using this technique would be a perfect way to handle concurrency
issues for a test database I'm developing where there's likely to be
concurrency issues.
A number of strategies come to mind. One is that when a user attempts
to edit a record his UI can send out a query to all other users asking
if they have the record locked. If so, the user is prevented from
editing the record and is warned. All this of course happens behind
the scenes; user's wouldn't see any of it.
One obvious disadvantage is the load placed on a network. From what I
read though, multicast sockets are relatively easy on networks (and I
don't foresee having to transmit more than a few characters a pop),
and in my case my company is small (about 20 users).
I haven't seen using this technique for handling ADO.NET concurrency
discussed anywhere, and I'd like to get opinions on how feasible this
is (without going into gory details on my company's network
architecture.
Thanks
-Jay
Feel free to contact me privately:
jriggs atsymbolhere community dotcharacterhere net
I've been reading up on networking programming in the .NET Framework
and came across a chapter on multicast sockets. The chapter includes
a sample chat program that's easy to implement and I thought that
using this technique would be a perfect way to handle concurrency
issues for a test database I'm developing where there's likely to be
concurrency issues.
A number of strategies come to mind. One is that when a user attempts
to edit a record his UI can send out a query to all other users asking
if they have the record locked. If so, the user is prevented from
editing the record and is warned. All this of course happens behind
the scenes; user's wouldn't see any of it.
One obvious disadvantage is the load placed on a network. From what I
read though, multicast sockets are relatively easy on networks (and I
don't foresee having to transmit more than a few characters a pop),
and in my case my company is small (about 20 users).
I haven't seen using this technique for handling ADO.NET concurrency
discussed anywhere, and I'd like to get opinions on how feasible this
is (without going into gory details on my company's network
architecture.
Thanks
-Jay
Feel free to contact me privately:
jriggs atsymbolhere community dotcharacterhere net