I have a situation where I need to induce asynchronous behavior in a synchronous application.
To develop, there is a monolithic C ++ application that synchronously prises complex derivative products. This C ++ application comes with a java shell used by my application to interact with it.
Current design
My APP <------> Java Wrapper <---> C++ application
Since calls from the java shell in C ++ are synchronous, I want to create asynchronous behavior by having a cluster of these java wrappers.
I would have a “Master wrapper” that would decide (either in a circular manner, or based on some real-time information from the cluster) that a separate wrapper receives.
Future design
<---> Java Wrapper <---> C++ application My APP <------> Java Master Wrapper <---> Java Wrapper <---> C++ application <---> Java Wrapper <---> C++ application
Do any of you have experience creating something like this? Any tips, links to tutorials, bits of code, etc. Would be most helpful.
Greetings
FYI, I looked briefly at the terracotta, and it seems to me that I need, but this is not an option (not an approved product from my company).
source share