So I am lost a bit with having multiple instances of my worker roles.
My web role should call a WorkerRole that should handle the Table Storage. I've got 3 instances of that WorkerRole, 1-st and 3-rd instance should take care of Course Object, and 2nd should take care of Person Object.
So basically, I should have 3 instances that are type of Input. And depending on which object I want to pass to TableStorage I should either hit 1st or 3rd for Course, or 2nd instance for Person Object.
My question is, if I connect to the server that I set up on WorkerRole from my WebRole, which instance of that WorkerRole would be hit, will be random, should I have some loop that will tryout connections until it hits the desired instance, or there is a smarter and overall a better solution.
So if someone can explain to me how to target the instances of WorkerRole, from my WebRole.
Every kind of advice would be helpful.
Replies
Know the answer? Post it — somebody with the same question will find it here.