wyona / yanel

http://www.yanel.org
Apache License 2.0
10 stars 5 forks source link

Read/parse map.rc-map at startup instead parsing it for every request #55

Open michaelwechner opened 11 years ago

michaelwechner commented 11 years ago

We can improve the performance by reading/parsing map.rc-map at startup instead reading/parsing it for every request.

For changes we can check/compare the last modified.

You can see that Yanel opens this file all the time by running

lsof -p 29720 | grep res-configs

where 29720 is an example of the Tomcat process ID (see 'too many open files')