|
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
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.