Re: [jboss-user] [EJB 3.0] - How can you turn of EJB 3 invocation statistics
by Andrig Miller
Andrig Miller [http://community.jboss.org/people/andy.miller%40jboss.com] replied to the discussion
"How can you turn of EJB 3 invocation statistics"
To view the discussion, visit: http://community.jboss.org/message/544086#544086
--------------------------------------------------------------
> Carlo de Wolf wrote:
>
> First I want to see some measurements to know the extend of the problem and to have a base of comparison.
Well, I did measurements. I ran a test with 5 stateless session beans that did nothing but call each other and return. I did this on a 8 core system with Hyperthreading (16 virtual cores), at 600 users with no think times. Just hammer the server.
In that test, I could only measure an average of 1.33% difference between running with the statistics, and running with a patched server with all statistics completely removed from the container.
After going through the trouble to remove the statistics competely from the container, the results make sense to me know. The reason I thought this might be an issue is a customer had e-mailed me saying he thought it was a bottleneck. I need to get back to him, and see why he thinks that is true, and what he is seeing. My tests simply don't back that up. In the code, we are already using volatiles for all the counters, and a ConcurrentReaderHashMap to store the instances of the InvocationStatistics object (which makes complete sense in that you only create the instance once and store it once, and the rest of the time is spend getting from the HashMap). The only synchronization, that seemed problematic, is in the "concurrent calls" code (callIn, callOut methods), but my test proves its not a real issue.
So, I'll turn my attention elsewhere.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/544086#544086]
Start a new discussion in EJB 3.0 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 1 month
[JBoss Cache POJO Edition] - Searching facility on jboss cache pojo edition
by Michel Picard
Michel Picard [http://community.jboss.org/people/owklqm] created the discussion
"Searching facility on jboss cache pojo edition"
To view the discussion, visit: http://community.jboss.org/message/544083#544083
--------------------------------------------------------------
Hello everybody,
I am a new user of Jboss cache pojo edition, and I have a question about seaching data in the cache. In fact, I would like to achieve something like "SELECT * from table where text=?".
I have an application with higly volatile data, and I think I made a great choise by using jboss cache. Regarding writing performance, it is awesome compared to mysql performance, however, when it come to make something like "SELECT....", mysql tends to be better as with jboss cache I have to "find" all the node i need in a loop...
I have read about searchable edition, however, it seems it does not work with pojo edition.
Do you have any workaround for getting jboss cache better in this case?
Thank you in advance,
Regards.
PS : I would like to thank the development team for this great product. Sorry for my english...
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/544083#544083]
Start a new discussion in JBoss Cache POJO Edition at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 1 month