the java server is running all the time in a different job. it uses
jt400native so no sockets but jni calls. i checked this. it seem that the
jni calls are so slow on the as400
(mobil)
Ursprüngliche Nachricht
Von: jwoehr@xxxxxxxxxxxxxxxxxxxxxxxx
Gesendet: 10. April 2020 18:21
An: java400-l@xxxxxxxxxxxxxxxxxx
Antworten: java400-l@xxxxxxxxxxxxxxxxxx
Betreff: Re: DataQueue performance jt400Native 10x slower then RPG
On Fri, Apr 10, 2020 at 9:48 AM Steinmetz, Paul via JAVA400-L <
java400-l@xxxxxxxxxxxxxxxxxx> wrote:
RPG is the original native language for the I, and will probably
outperform any other language.
There have been several performance papers written on this, one of which
below.
Java is slower than RPG. But the primary antipattern in Java usage is
loading the JVM every time some interaction takes place.
Is this a Java program that sits there accepting socket connections, or
does it load every time you need one thing?
--
Jack Woehr
Absolute Performance, Inc.
12303 Airport Way, Suite 100
Broomfield, CO 80021
NON-DISCLOSURE NOTICE: This communication including any and all
attachments is for the intended recipient(s) only and may contain
confidential and privileged information. If you are not the intended
recipient of this communication, any disclosure, copying further
distribution or use of this communication is prohibited. If you received
this communication in error, please contact the sender and delete/destroy
all copies of this communication immediately.
--
This is the Java Programming on and around the IBM i (JAVA400-L) mailing
list
To post a message email: JAVA400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxxxxxxxx
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
As an Amazon Associate we earn from qualifying purchases.