Monday, May 23, 2016

Make web application start up faster

To make web application start up faster in Tomcat, you may consider the following tuning:

  1. Add metadata-complete="true" as an attribute in <web-app> tag
  2. Add <absolute-ordering/> inside <web-app> </web-app>

Sync multiple git repo at once

Use the following command in Linux will do the job:  ls -d RepoNames* | xargs -I{} git -C {} pull