|
David, Thanks, I'll look at those places to see what I can find out and I'd gladly take any examples you are will to give me. Thanks, Robert ----- Original Message ----- From: "David Morris" <David.Morris@plumcreek.com> To: <java400-l@midrange.com> Sent: Tuesday, July 16, 2002 2:52 PM Subject: Re: Speed issues? > Robert, > > I have used the Commons pool, Commons DBCP, and Tyrex Pooling on the > iSeries. These all work fine. Be careful with the Commons code because > > there is very little documentation and it is easy to code a wait on > pool > resources that will never exist. I could give you some examples if it > would help along with a home grown cache I wrote. You might also > check out the Avalon project for caching code that is part of > Excalibur. I > looked into their implementation and it was based on a LRU algorithm > that > did not work well for my needs so I ended up creating my own > implementation > and posting a description of that algorithm to the Avalon developer's > list. > > David Morris > > >>> rupshall@psasoft.com 07/16/02 01:21PM >>> > I think even though you caught the end, you hit the nail on the head. > I had > an idea that implementing a thin client with a server on the backend > would > help things but it is out of my league to try and write a true > client/server > implementation. If they are Open Source solutions that may help me > then I > have something else to research. > > I have a few things to try now and I don't know what method will work > best, > I'll probably need to implement a mixture of all. > > Also, do all the below mentioned pooling tools work on an AS400 > environment? > > Robert > > > > ----- Original Message ----- > From: "David Morris" <David.Morris@plumcreek.com> > To: <java400-l@midrange.com> > Sent: Tuesday, July 16, 2002 1:14 PM > Subject: Re: Speed issues? > > > > Robert, > > > > For some reason I only caught the tail end of this so I may not > > understand the > > speed issue, but it sounds like you have a GUI (swing?) thick client > > that is not > > performing well. One thing that can help performance is pooling of > > objects and > > connections. If you don't have a server component, it is going to be > > difficult > > to efficiently pool resources and scalability will likely be an > issue. > > > > There are all kinds of schemes and tools you can use to pool or > cache > > resources > > but they work best when you have a common access point. I have used > the > > > > Apache Commons pooling and DBCP support and they work well on the > > iSeries. > > If you decide to use these be aware that they are not well > documented > > and > > that it is easy to end up in a never ending wait. Two other open > source > > projects > > that provide pooling implementations are Poolman and Tyrex. These > last > > two > > seem to be losing momentum where the Commons projects are immature > but > > > > gaining momentum. > > > > David Morris > _______________________________________________ > This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list > To post a message email: JAVA400-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l > or email: JAVA400-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/java400-l. > >
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.