Cleaning up Jetty - Removing 'unnecessaries' things

前端 未结 3 1457
刺人心
刺人心 2021-02-20 02:58

I\'m used to use Jetty as my web container.

What I did on my install steps is get the original tar ball and cleanup some directories and files<

3条回答
  •  盖世英雄少女心
    2021-02-20 03:32

    In the past I used to trim Jetty down a lot by cutting out all the frameworks I don't use. That also let me trim down all the dependency jars. Once I got it trimmed down to the bare essentials I used it was very tiny. Then I repackaged it with onejar so it was a single file transfer that is ready to execute. Its been a long time since I managed any large scale application clusters so there are probably better ways to accomplish the same ends. Cloud computing comes to mind, but I haven't done much there, but that is where I'd look first if I were facing the same challenges today.

    Plus bandwidth and disk are a lot cheaper these days so the problems have gotten smaller with time in my opinion.

提交回复
热议问题