R
Ruslan Shlain
Hello Everyone,
Looking for a better way to do this.
I have several separate processes running on 5 + machines on the network.
These processes are identical. What they do is, they look at a table in the
DB and based on entries they perform some tasks.Once entry is read it
changes a status. My problem consits of the following. If 2 processes read
an entry from the table at the same time and one of them changes it status
and then the other comes in and changes same entry they both will be working
on the same task. Is there a way that i can force "something ", so that
above scenerio happens 2 of my processes do not work on the same entry.
Looking for a better way to do this.
I have several separate processes running on 5 + machines on the network.
These processes are identical. What they do is, they look at a table in the
DB and based on entries they perform some tasks.Once entry is read it
changes a status. My problem consits of the following. If 2 processes read
an entry from the table at the same time and one of them changes it status
and then the other comes in and changes same entry they both will be working
on the same task. Is there a way that i can force "something ", so that
above scenerio happens 2 of my processes do not work on the same entry.