Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run multiple instances of ProB #11

Open
3 tasks
bivab opened this issue Aug 29, 2016 · 1 comment
Open
3 tasks

Run multiple instances of ProB #11

bivab opened this issue Aug 29, 2016 · 1 comment

Comments

@bivab
Copy link
Member

bivab commented Aug 29, 2016

The idea is to have several instances of ProB with the same model running in the background.

The number of instances should depend on the system memory (n relation to how much memory we consume per instance).

  • As soon as the first instance is ready we can start accepting user requests.
  • Move Tasks should be dispatched to all executors, to ensure we have a consistent state across all instances.
  • All other tasks should be dispatched to any free ProB executor.
@bivab
Copy link
Member Author

bivab commented Sep 6, 2016

Options so far seem to be:

  • Run and manage multiple instances on top of ProB 2.0, manual synchronization when state modifications happen.
    • Disadvantage slow startup when having to parse and compute constants in each instance.
  • Save mutable state (.sav) in prob-prolog and use it to start additional instances
    • If this is cheap, all but one instances can be discarded and restarted upon state modification.
  • Forking is not really an alternative as it is too brittle and does not work on windows.

@bivab bivab removed the enhancement label Sep 19, 2016
@bivab bivab added feature and removed feature labels Jan 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Backlog
Ideas
Development

No branches or pull requests

1 participant