Open jtwalraven opened 6 years ago
Completely agree @JTWalraven! If you feel you can improve it, do not hesitate to code.
I remember this part was giving too much troubles while developing it since remember It must be compatible with Windows and Unix.
Thanks&Cheers!
Is it better to use the Java Process Builder API ?
Don't get me wrong, it probably is - I have not played around with it a lot.
I had been using spring-skipper at some point to do deployments on a windows machine (using the development-local-deployer).
I can't say I was happy with it. I know spring skipper is targeted for using the deployers to cloud infrastructures (e.g. docker, kubernities). The local deployer is targetted for development/testing.
But in any case, I commonly ran against problems like heap space or having to assign more memory to the deployer. At some point after deploying over 15 microservices (flatjars), new services wouldn't start. Additionally, when the deployer died, so did all the child instances.
I definitely guess these things can be fixed, and we didn't have the time. We went for a better solution. But definitely things to look out for.
It would be nice if the project did not have to rely on generating scripts to run other instances. The ProcessBuilder API has a way that the launching could be simplified and streamlined. This would also allow for additional future features:
@ErnestOrt I already have working code for this. Hopefully I will get to polishing it soon and making a PR.