|
David, I always believed the manuals that said data queues were the fastest means of interprocess communication and were extremely lightweight. When I built a high volume event handler using data queues in RPG, I was disappointed in the initial performance. I combed through my code, implementing caches (helped quite a bit) and several other ideas. Finally, I took out the keyed (2 byte key) data queue and replaced it with a short, fixed length entry and a user space for the variable data (up to 128 bytes in this case with a seldom used extender). It made a noticeable difference. My conclusion is that it may depend and you should plan on testing in your own environment before assuming that one technique is faster than another. I would also tend to look toward database for real performance gains. David Morris >>> dawall@us.ibm.com 01/22/02 03:43PM >>> ...Summary -- data queues is the fastest IPC mechanism available via Toolbox classes. David Wall AS/400 Toolbox for Java
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.