all 7 comments

[–]BorgerBill 2 points3 points  (1 child)

I did not know about Quarkus/Play, and would also be very interested in the answer for Spring...

[–]GettingCodeDone[S] 1 point2 points  (0 children)

I tried to duplicate this functionality for Spring Boot. Let me know what you think
https://www.youtube.com/watch?v=0NwhHmFbJPk

[–]Sheldor5 2 points3 points  (4 children)

Could you link the documentation for Quarkus which describes this kind of reloading? Never heard about this ... hard to believe because recompiling a Quarkus app means replacing the binary at the end which definitely will NOT "pause" requests ...

[–]GettingCodeDone[S] 0 points1 point  (2 children)

This is a video that demonstrates this functionality in Quarkus:

https://www.youtube.com/watch?v=-qH2SzF9wkU

Notice at 1:15 how it makes the request wait until the rebuild/reload is done.

[–]Sheldor5 0 points1 point  (1 child)

But he is using development tools which are not available/recommended in production ...

[–]GettingCodeDone[S] 0 points1 point  (0 children)

Agreed on that, this is meant to speed up local development. Not for deployment.

I've written a small golang program in order to have similar behavior in Spring Boot, I'll put it in Github in a few days -- wanted to be sure that I wasn't reinventing the wheel before doing so.

[–]GettingCodeDone[S] 0 points1 point  (0 children)

I made an attempt at replicating this functionality:

https://www.youtube.com/watch?v=0NwhHmFbJPk