对于运行大量 Groovy 代码的应用程序服务器改用 jrockit jvm 应该考虑什么影响?
我对替代 JDK 的内部结构一无所知,而且由于它现在可以免费使用,所以我没有任何理由不尝试它。我们有相当好的测试覆盖率。服务器上的许多应用程序都是基于 groovy 和 grails 的。
我正在考虑这一点,因为我已经转而使用它来运行我的所有本地工作站应用程序,例如 intellij 和 builds,它似乎产生了很大的不同。我必须承认,我对我的测试并没有特别临床。
也许是因为 IDE 和构建等 I/O 密集型,显然这是 jrockit 完全不同的一个领域。
I don't know anything about the internals of the alternative JDK and seen as it's available free now I don't have any reason not to try it. We have reasonably good test coverage. A lot of the applications on the server are groovy and grails based.
I am considering this because I've switched to using it for running all my local workstation applications such as intellij and builds and it appears to have made quite a difference. I have to admit I haven't been particularly clinical about my tests though admittedly.
Perhaps it is because things like in IDEs and builds are very I/O intensive as apparently this is one area where jrockit is quite different.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Oracle JDK 和 JRockit 只有一个开发团队。许多开发人员都来自最初的 JRocket 团队。我不认为 Oracle 有兴趣维护两个版本。
我发现构建依赖于 IO,最关键的因素是驱动器的速度(而不是 Java 的速度),您能做的最好的事情就是购买 SSD 驱动器。 240 GB 型号往往比较小型号更快。确保扇区对齐正确。 ;)
典型的 7,200 HDD 可以执行 100 IOPS,而快速 SSD 可以执行 80,000 IOPS。 http://en.wikipedia.org/wiki/IOPS
对于 SSD,请使用以下命令创建分区
否则,您可能会损失一半或更多的性能,并缩短驱动器的使用寿命。
There is only one development team for Oracle JDK and JRockit. Many of the developers are from the original JRocket team. I don't believe Oracle is interested in maintain two releases.
I have found builds are IO dependant and the most critical factor is the speed of your drive (not the speed of Java) The best thing you can do is buy an SSD drive. The 240 GB models tend to be faster than the smaller models. Make sure you get the sector alignment correct. ;)
A typical 7,200 HDD can do 100 IOPS whereas a fast SSD can do 80,000 IOPS. http://en.wikipedia.org/wiki/IOPS
For an SSD, create your partitions using
otherwise you can lose half your performance or more and reduce the life of your drive.