How much caching is built into Equinox and/or Felix resource loading from osgi bundles?

This sounds like a classic case of trying to optimise too early. I would simply write the code in the clear and sensible way, and subsequently measure its performance. Possibly also compare the performance of Equinox and Felix when you do that.

Up vote 1 down vote favorite 1 share g+ share fb share tw.

I don't want to reproduce logic needlessly. Resources osgi equinox link|improve this question asked Nov 14 '11 at 14:26Ray1775 100% accept rate.

This sounds like a classic case of trying to optimise too early. I would simply write the code in the clear and sensible way, and subsequently measure its performance. Possibly also compare the performance of Equinox and Felix when you do that.

My instinct is that static resources will be loaded quite quickly from a bundle since it has a much smaller space to search than a traditional Java flat classpath. So as long as you know the right bundle to ask, and keep your bundles relatively granular, I would be surprised if you had any problems that would force you to optimise heavily.

Right! I certainly don't want to optimize too early and the bundle would be known for sure! My concern is particularly with respect to web bundles & implementing something akin to a static Resources servlet.

I'll review the eclipse 's ResourceServlet and compare that to catalina's DefaultServlet. – Ray Nov 14 '11 at 18:30.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions