Hi, Am Dienstag, den 12.04.2011, 20:49 -0700 schrieb David Erickson: > Hi everyone- > I'm working on an application where performance is critical, but we'd > like to take advantage of the dynamism inherent in OSGi to allow in > place updates and feature additions. I've played with Spring DM and > Blueprint (both Gemini and Aries), and both seem to have significant > overheads when making function calls using their service proxies. I > performed a micro-benchmark and found that calling a function via a > service proxy was 11 times worse than a direct call in Aries, and 54 > times worse in Spring DM. These are unacceptable overheads in my > application, is there a way to wire services together directly without > having to use locks on each call, and yet still take advantage of > OSGi's dynamism?
You might want to consider Declarative Services. It is also descriptor based, but there are tools to help you create these descriptors (like the Apache Felix Maven SCR Plugin or Peter Kriens' BND library). IMHO Declarative Services is much more light-weight and simpler than blueprint and it does not use service proxies. Regards Felix > > Thanks, > David > _______________________________________________ > OSGi Developer Mail List > [email protected] > https://mail.osgi.org/mailman/listinfo/osgi-dev _______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
