Hi Shankar,

Yes, in fact that is more or less what I had in mind. The idea is that if SO 
requires exclusive use of some resources (lets say locks for switches, but 
could be something else), SO sends a call to this microservice asking for those 
resources. Then the microservice keeps queues for each resource and puts this 
SO request in the relevant queues. Whenever an SO request is able to run 
(because it is first in line in some queue and all resources are available), 
the microservice communicates that to the SO request, which then goes forward 
knowing that it has exclusive access to the resources. 

The advantage of this is that if two requests do not need the same resources, 
they can go in parallel. I'm very open to other ways of achieving this too so 
please feel free to suggest things!

Best,

Jonathan

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#15154): https://lists.onap.org/g/onap-discuss/message/15154
Mute This Topic: https://lists.onap.org/mt/29526109/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to