× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hello all,
        I'm working on a Java class that will access AS/400 data queues on the
machine on which it will execute. My problem is that the performance I'm
seeing is pretty dismal, and I'm guessing it is because I use the DataQueue
and AS400 classes which connect to the QZHQSSRVD data queue server job.
When running the class in batch, the job doesn't use  much CPU but the
QZHQSSRVD job climbs up to almost 20% of the system (it's a model 270 with
950 CPW)

        Is there any way to access the data queues without doing it through the
data queue service?  Can direct calls be made to QRCVDTAQ on the same
machine without using the AS/400 remote command processing service?
(QZRCSRVS)  I haven't tried using calls to QRCVDTAQ yet.

        I currently pop 15-20 queue entries per second using the Java class, 
while
an equivalent RPG program on the same system making calls to QRCVDTAQ runs
into the thousands of pops per second.  I don't need to be able to handle
thousands of queue entries per second, but if the QZHQSSRVD job goes to 20%
of a 950 CPW box just to handle 15-20 entries per second, I'll never be able
to put this in a production environment.

        Last, I understand that by using standard AS400 and DataQueue objects my
class will be able to execute on any machine with the appropriate IBM
classes installed (interoperability), but that is not an issue compared to
the performance problem.  Therefore, any trick that gets around this but
also causes the class to reside on the same AS/400 as the data queues will
also be fine.

Any suggestions would be greatly appreciated.

==
Kristofor Jacobson
Casino Applications Manager
Mandalay Resort Group



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.