| Related discussion:
I’d love to know how far bootstrap is still a problem after all optimisations which we’ve done in Hibernate 5.4.x - specifically to improve bootstrap? Also please checkout Quarkus, as we worked closely together to improve bootstrap times - we’re not using Java Serialization but I believe it’s a better approach, as it allows bootstrap in the order of milliseconds when compiled to native image, and it does great in not-native as well. I’m skeptical that an approach based on serialization would be able to outperform the Quarkus boostrap code - not to mention that it would have some problems, such as needing to verify if the serialized state is matching the current application state. |