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

Provide a means for obtaining a snapshot of the system #89

Open
teymour-aldridge opened this issue Jan 22, 2022 · 3 comments
Open

Provide a means for obtaining a snapshot of the system #89

teymour-aldridge opened this issue Jan 22, 2022 · 3 comments

Comments

@teymour-aldridge
Copy link
Contributor

One very useful technique for debugging is to be able to take a complete snapshot of the system.

An outline of some possible algorithms is given in https://mk.cs.msu.ru/images/5/52/Lecture-DA-11.pdf

@bkolobara
Copy link
Contributor

Just to clarify, you mean a snapshot of the whole distributed system (including snapshots of all processes)?

I don't think we can do snapshots of individual processes at the moment (see). Maybe we would also require our own engine to accomplish this truly complete process state snapshots (see).

Another approach here could be to define a process state on the library level and be able to serialise the state at any point and somehow sync it up across the distributed system. This wouldn't require any changes to the vm and could be definitely something worth exploring.

@teymour-aldridge
Copy link
Contributor Author

Yes, for the whole distributed system.

It's not an immediate priority by any means, but in the more long-term feature it would be really nice for Lunatic to be able to provide useful debugging information!

@bkolobara
Copy link
Contributor

Debugging distributed systems is so hard nowadays and I would love if we could improve the current state of things in this area.

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

No branches or pull requests

2 participants