Hi all, I am running a application which ll be processing 2 lakh docs per day.Roughly 3 docs per second.I am doing a database updation for all these docs.But if two docs are sent with a same id(unique) then it shd throw an error.As of now if i am sending such high volumes in short interval then the concurrency issue occurs.
Whn the first doc is being processed ,the second doc with the same id is also being processed successfully as the first transaction has not performed a commit at the time of second thread s reading.
How can I overcome this issue?
posted 12 years ago
Can you explain the problem with the code snippet?