INTO-CPS-Association / maestro

Maestro a Co-Simulation Orchestration Engine
20 stars 3 forks source link

COE Webapi possible race condition #178

Open maxs-rose opened 3 years ago

maxs-rose commented 3 years ago

When running multiple simulations on web api it is possible that the COE can act strangely

The behavior of COE can be:

These issues seem to be specific to when multiple simulations are being run concurrently by the COE. The issues will occur more frequently if the COE was started from within the INTO-CPS application. All of the errors can be somewhat alleviated by introducing a delay between the addition/removal of each simulation, however, if the Web-API was deployed on a central location with multiple users contacting it this would not be a viable solution.

CThuleHansen commented 3 years ago

If you run the one-shot in multithreaded, then you should execute it from different working directories. This should fix the logging thing.

Related to the web-api, I have nto had time to look at it yet.