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

Feature Request:Integrate CRIU Checkpointing for Improved Container Initialization #440

Open
tbrittoborges opened this issue Aug 15, 2023 · 2 comments

Comments

@tbrittoborges
Copy link

We are using CRIU (Checkpoint/Restore in Userspace) with ShinyProxy, and it greatly enhances the user because of faster initialization.

This achievement was made possible through a method outlined by Sylvain_Brohee in a discussion available here. By using utilizing CRIU checkpointing, we have effectively shaved off over 5 seconds of container initialization time and improved the user experience even more because we could drop the database, which slowed out the interactivity of our apps.

The only problem with the current approach is that it requires a multiple-step procedure that is error-prone. I would like to propose the integration of the docker checkpoint create / docker start --checkpoint pattern, as documented on the CRIU website here. Incorporating this pattern directly within ShinyProxy could offer the following benefits seamless integration with the CRIU features and enhanced performance (shorter initialization times).

Thank you for your time and consideration!
Thiago

@LEDfan
Copy link
Member

LEDfan commented Aug 17, 2023

Hi

We are very interested in the CRIU system, but we still have to investigate how we can better integrate this into ShinyProxy. We will report back when we have a better idea on supporting this.

@tbrittoborges
Copy link
Author

Hi, thanks for your prompt feedback, please feel free to contact me or our sysadmin (I can send the contact), he has studied this system in detail since we want to use it in production.
All the best,
Thiago

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

No branches or pull requests

2 participants