David,

I've analyzed the performance of keyed data queues used by servers running 
under ILE, and compared the performance to other types of interprocess 
communication (sockets, data areas, and shared memory).  Data queue performance 
was good.  But I haven't tested data queue performance between Java and ILE 
servers, which goes through an additional TCP/IP interface, which may add some 
overhead, but seems to work fine, even when large amounts of data are passed 
through the queue.

Occasionally data queues get damaged, so it's good to have a process for 
deleting and recreating them.

Nathan.




----- Original Message ----
From: David Gibbs <david@xxxxxxxxxxxx>
To: java400-l@xxxxxxxxxxxx
Sent: Wednesday, October 4, 2006 10:18:59 AM
Subject: Data queue performance question

*** Cross-posted to java400-l and midrange-l.

Folks:

I'm writing a application that is going to be using data queues to
communicate bulk data.

The application has two parts ... a java server and a number of host
(RPG, but it really doesn't mater) programs.

My thought is to use a single keyed data queue to transfer data back and
forth between both applications.

In some cases the host programs will write to the data queue and hand
the java server the data queue key.

In other cases, the java server will write data to the data queue and
hand the host program the data queue key.

Is there anything inherently inefficient using a data queue in this
manner?  Would it be better to use multiple data queue's (one for host
to java another for java to host)?

Thanks!

david

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