shared queue/memory for 2 applications.
Posted on 2011-09-29
In C# I have an app, let's say program A, dealing with a queue having some requests of customers.
The client request starts a program, let's say, program B.
What I want is that if there are let's say 5 instances of Program B., I want to suspend the starting of program B for the 6. instance until sources are available.
My thinking is that I have to have a router server program, C, checking for it and shares the queue of program A, and initiates a program B accordingly if the resources are emptier.
So, what I need is that I need to know how to share that queue.
How to do?