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



We did some timing programs at a previous job from Java talking to data
queues and we found consistently that data queues would run real fast for 5
records and then hang and sit for 3 or 4 seconds.

Were you able to pin down the fact that it was actually the data queues
causing the issue vs. some other variable? I haven't ever experienced that
much of a slow response.

Aaron Bartell
http://mowyourlawn.com

On Fri, Jun 13, 2008 at 12:41 PM, Alan Campin <Alan.Campin@xxxxxxxxxxxxxxxx>
wrote:

Just my two cents on Data Queues vs Sockets. If have found that data
queues work fine on the AS/400 but when you start going out the 400, you
begin to have problems. The problem being that data queues are much
slower than using a socket.

We did some timing programs at a previous job from Java talking to data
queues and we found consistently that data queues would run real fast
for 5 records and then hang and sit for 3 or 4 seconds. This behavior
did not really surprise me because IBM does sell MqSeries.

On earlier jobs, I did timing with Data Queues vs. Sockets and the
difference was huge.

So the bottom line is if your task does not require high performance,
data queues can work fine but if you have a need for speed sockets are
definitely the way to go.

I have a service program that implements a socket client I wrote that
wrappers a C function I got from IBM years ago in RPG. Simple OPEN,
CLOSE, READ and WRITE. I have used it all over the place to talk to VB,
Java and socket server programs running on a PC. Very handy.

Let me know if anyone is interested. I can send it along.

--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.