<div dir="ltr">Just as a quick test - not my full work up ;-) I ran the dvdstore example through some typical work flows to see where and what JNDI calls were made.<br><br>This was one user, running the unmodified dvdstore example.<br>
<br>I logged in performed several searches, and made a perchase then logged out.&nbsp; Logged in as manager and reviewed the order and changed the process work flow.&nbsp; Then logged out again.&nbsp; This&nbsp; might not be the exact steps, but close.<br>
<br>These were the JNDI lookups:<br>971 ms - 2,249 inv. [NAME] java:comp/UserTransaction<br>69 ms - 6 inv. [NAME] jboss-seam-dvd/ShoppingCartBean/local<br>45 ms - 12 inv. [NAME] jboss-seam-dvd/FullTextSearchAction/local<br>
5 ms - 1 inv. [NAME] jboss-seam-dvd/CheckoutAction/local<br>3 ms - 6 inv. [NAME] java:comp/env/security/securityMgr<br>2 ms - 17 inv. [NAME] java:/dvdEntityManagerFactory<br>1 ms - 28 inv. [NAME] jboss-seam-dvd/StoreManagerBean/local<br>
0 ms - 7 inv. [NAME] jboss-seam-dvd/AuthenticatorAction/local<br>0 ms - 2 inv. [NAME] EJBContext<br>0 ms - 1 inv. [NAME] UserTransaction<br>0 ms - 1 inv. [NAME] env/com.jboss.dvd.seam.StoreManagerBean/em<br><br>The &quot;UserTransaction&quot; lookup clearly stands out as a the top offender.&nbsp; With multiple users hitting this I think the blocking threads would really pile up.&nbsp; <br>
<br>I can run this type of basic test pretty quickly so I am going to do the same on the seam-gen project that we use for release testing.&nbsp; My hunch is that the results will be similar.<br><br>-Jay<br><br><div class="gmail_quote">
On Thu, Oct 2, 2008 at 10:06 AM, Pete Muir <span dir="ltr">&lt;<a href="mailto:pmuir@redhat.com">pmuir@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><br>
On 1 Oct 2008, at 22:53, Jay Balunas wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
These finding just cover the wiki application. &nbsp;We need to do similar investigations with other applications like dvdstore and chatroom to exercise some of the other areas.<br>
</blockquote>
<br></div>
Yes, as the Wiki is a war, we don&#39;t do that many lookups compared to an EJB app.<br>
</blockquote></div><br><br clear="all"><br>-- <br>blog: <a href="http://in.relation.to/Bloggers/Jay">http://in.relation.to/Bloggers/Jay</a><br>
</div>