war文件大小是否以某种方式影响应用程序和/或应用程序服务器的性能? [英] Does a war file size affect in some way the application and/or application server performance?

查看:119
本文介绍了war文件大小是否以某种方式影响应用程序和/或应用程序服务器的性能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在这里努力工作,有人建议我们应该减小war文件的大小,特别是WEB-INF / lib目录大小,以便提高我们的JBoss实例性能。我仍然怀疑的东西。

we've bean struggling here at work by somebody suggestion that we should decrease the size of our war file, specifically the WEB-INF/lib directory size, in order to improve our production JBoss instance performance. Something I'm still suspicious about.

我们的应用服务器部署了大约15个网络应用程序,每个大小约为15到20 MB。

We have around 15 web apps deploy in our application server, each about 15 to 20 MB in size.

我知道这涉及到很多变量,但有没有人真正处理过这种情况? .war文件大小一般会对Web容器产生重大影响吗?

I know there are a lot of variables involved on this, but has anyone of you actually deal with this situation? Does the .war files size actually has a significant impact on web containers in general?

您可以提供哪些建议?

What advice can you offer?

感谢你。

推荐答案

有很多事情值得怀疑在这里:

There are many things to be suspicious of here:


  • 如果应用程序没有达到你想要的水平怎么办?

  • 您是否测量过应用程序以找出哪些组件导致性能不足?

  • 应用程序/系统中存在哪些瓶颈?

单独的应用程序大小与任何类型的运行时性能无关。在应用程序生命周期中加载的类数量会对应用程序的内存使用量产生影响,但却是一个令人难以置信的可忽略不计的类。

The size of the application alone has nothing to do with any sort of runtime performance. The number of classes loaded during the lifetime of the application has an impact on memory usage of the application, but an incredibly negligible one.

在处理性能问题时,解决方案始终遵循相同的一般步骤:

When dealing with "performance issues", the solution always follows the same general steps:


  • 当我们说表现不好时意味着什么?

  • 具体哪些不表现?衡量,衡量,衡量。

  • 我们能否将特定组件的性能提升到我们想要的水平?

  • 如果是,请实施这些想法,衡量再次确定性能是否真正得到改善。

  • What does it mean when we say "bad performance"?
  • What specifically is not performing? Measure, measure, measure.
  • Can we improve the specific component not performing to the level we want?
  • If so, implement the ideas, measure again to find out if performance has truly improved.

这篇关于war文件大小是否以某种方式影响应用程序和/或应用程序服务器的性能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆