I have the below requirement.
1.One Spring based application runs on one Unix box which creates entries on a table.1 column called created_on which hold time when it got created.
2.Another spring integration based application which has 30 instances are running on 3 different Unix box with 10 instances on each box(10 different PID). All these application has configured with stored-proc-inbound-channel-adapter which pulls data for 1 sec interval from above table.
The table has one status column which marks to Y once the record has been picked by the store procedure.
Store procedure picks record based on created on and not marked Y.
I don't want used external queues to communicate between the 2 applications.
Doubts:- 1.Is there any chance of getting same record has picked by multiple nodes?
- Is there going to be any performance issue when 30 nodes try to access same table records threw a same store procedure?