Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Add support to spawn Java processes #210

Open
nuest opened this issue Nov 23, 2015 · 2 comments
Open

Add support to spawn Java processes #210

nuest opened this issue Nov 23, 2015 · 2 comments

Comments

@nuest
Copy link
Contributor

nuest commented Nov 23, 2015

Even Java processes could run in their own virtual machine to run the actual process outside of the servlet container (e.g. Tomcat). This might be better suited for large data analysis (large RAM usage, stopping processes, big data, ...), because to handle this now the Tomcat would need to take all the RAM.

@bpross-52n Please correct me if I'm missing something here :-).

Some background and useful examples:

@autermann
Copy link
Member

How would you like to automate this? I mean it's basically a call to Runtime#exec(), but if you would like to provide some framework method for this or even run every algorithm in it's own process, you will have to manage the classpath... I think that will be quite painful...

@nuest
Copy link
Contributor Author

nuest commented Nov 23, 2015

Good points. And yes, the idea would be that every algorithm execution runs it it's own process.

Please not this is just an idea that came up in a discussion with a data modeller. My first reaction was: "this is not a WPS task but we would forward this to special frameworks"...

And maybe everything becomes easier in Java 1.9 anyway > http://openjdk.java.net/jeps/102

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants