RE: DataQueue performance jt400Native 10x slower then RPG

Richard Schoen <richard-DiTrGpQEJGItADg8e/3/[email protected]>
Newsgroups gmane.comp.lang.as400.java
Message-ID <CH2PR12MB416554A01123C9E675F2F388B7DF0@CH2PR12MB4165.namprd12.prod.outlook.com>
Perhaps you could provide a working code sample of both programs that can be installed and run easily and we can perhaps test it and see exactly what you're doing specifically. 

Make each sample run the same transaction suite. 

Throw it in a zip file or github perhaps.

Regards,
Richard Schoen
Web: http://www.richardschoen.net
Email: richard-DiTrGpQEJGItADg8e/3/[email protected]

------------------------------

message: 5
date: Sat, 11 Apr 2020 09:45:32 +0200
from: [email protected]
subject: AW: Re: DataQueue performance jt400Native 10x slower then RPG

when you look at the source of jt400Native.jar you can see that it also calls the native srvpgm in /QSYS.LIB/QYJSPART.SRVPGM  so there is only a minimal java layer. there is no chance jdbc could get near this performance.
 
 i hoped someone with deeper knowlege of the performance impacts of calling rpg from java via jni could help.
 

-- 
This is the Java Programming on and around the IBM i (JAVA400-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org
Before posting, please take a moment to review the archives
at https://archive.midrange.com/java400-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.