Has anyone written any B4J programs running in MicroService architecture where one B4J program (controller) can start a new B4J program (worker) that will run on a different CPU core and then the controller can pass messages to the second worker program and receive results back from in the form of a message.
Because each worker process has to read in a good bit of data when it first starts. it would not be efficient to just let the worker process exit and shutdown after each message. Instead the worker processes would not shut down until the controller sends them a message that it is ready to shutdown.
I have a program that runs too slowly on a single core and I would like to distribute the workload across several cores to reduce the response time.
Because each worker process has to read in a good bit of data when it first starts. it would not be efficient to just let the worker process exit and shutdown after each message. Instead the worker processes would not shut down until the controller sends them a message that it is ready to shutdown.
I have a program that runs too slowly on a single core and I would like to distribute the workload across several cores to reduce the response time.