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

升级到springboot3 并使用graalvm native-image编译 #131

Closed
mikechenczy opened this issue Apr 20, 2024 · 1 comment
Closed

升级到springboot3 并使用graalvm native-image编译 #131

mikechenczy opened this issue Apr 20, 2024 · 1 comment

Comments

@mikechenczy
Copy link

升级到springboot3 java17 并使用graalvm native-image编译,可以使程序性能大幅提升,内存占用下降。我使用手机linux deploy部署,由于是arm架构的cpu运行java会非常慢,很耗资源,所以native编译。编译成功,启动时间2秒,内存占用少了1g,响应速度也加快了。
升级springboot3,弃用了nl的ua库,修改了redis的核心为jedis,升级jwt、mysql、page等包;securityconfig需要整改,其他的只需要稍微修修补补。
我升级后的仓库:https://github.com/mikechenczy/blog-api

@Naccl
Copy link
Owner

Naccl commented Apr 20, 2024

维护阶段暂时没有升级重构的计划,可以给你 Pin 一下

@Naccl Naccl pinned this issue Apr 20, 2024
@Naccl Naccl closed this as completed Apr 20, 2024
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