Skip to content

sdeleuze/spring-boot-crac-demo

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
May 10, 2023 10:03
June 6, 2023 10:14
May 13, 2023 12:00
June 29, 2023 17:56
May 10, 2023 09:54
May 10, 2023 10:03
May 10, 2023 10:03
September 19, 2023 16:14

Spring Boot CRaC demo

This sample project is intended to demonstrate Spring Boot 3.2+ CRaC support by creating a ready to restore container image.

Warning: for real projects make sure to not leak sensitive data in CRaC files since they contain a snapshot of the memory of the running JVM instance.

Step 1: Checkpoint

From within the spring-boot-crac-demo folder, you have the choice to run either on demand checkpoint/restore of a running application with:

./checkpoint.sh

Or to run an automatic checkpoint/restore at startup with:

./checkpointOnRefresh.sh

Step 2: Restore

Restore the application with:

./restore.sh

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published