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



Kristofor,

I ran into something similar and found that accessing a user space with my data
worked much faster on the same machine.  Still had to have some mechanism to
trigger the retrieval, which was a single short (the offset and length) data 
queue
entry. For intra-system communication, I found that passing the data using HTTP
tunneling and a single dataqueue was much faster than passing the data through
the data queue.

David Morris

>>> cuda70_383@yahoo.com 10/08/01 11:46PM >>>
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



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.