Re: AW: Speed up Java on i

Joe Pluta <joepluta-Kokj9vFzZubAKuVPhbf8BAC/[email protected]>
Newsgroups gmane.comp.lang.as400.java
Message-ID <[email protected]>
Did you try doing this on a standalone machine (either Windows or 
Linux)?  I don't think 5 a second is slow; the web service is only about 
3 times as fast.  Two millions documents with the web service is still 
30 hours.

On 11/24/2020 12:52 AM, Logic IT: K. Fritz wrote:
> To clarify:
>
> I changed it from single requests to a server solutions with a dataq. The
> dataq will be created only once a job.
> This gave me a positive result, but still too less.
>
> Core dates:
> Box:		IBM i9, single core, 32 MB mem, V7R4
> Java:		JVM Java 8SE 32 bits
> Code-Pics:	500 jpg / 90 sec. on IBM i  vs. external webservice  = 500
> jpg / 35 sec.
>
>
> Regards,
> Karl
>
> -----Ursprüngliche Nachricht-----
> Von: JAVA400-L [mailto:[email protected]] Im Auftrag von
> Charles Wilt
> Gesendet: Montag, 23. November 2020 20:55
> An: Java Programming on and around the IBM i
> Betreff: Re: Speed up Java on i
>
> Is this a pure Java solution, or are you invoking Java from RPG for
> instance?
>
> In the past, I've found pure Java to be faster than trying to invoke from
> RPG.
>
> What OS version?  What Java version? 32/64 bit?
>
> Have you tried to determine where the time is being spent?
>
> Charles
>
> On Mon, Nov 23, 2020 at 12:39 PM Logic IT: K. Fritz <[email protected]>
> wrote:
>
>> Hi,
>>
>>
>>
>> I've a very special case of a customer.
>>
>> Case:     Printing a QR Code with the Swiss flag in the middle.
>> (Direction!)
>>
>> Printerfiles are not able to do that, QR-Codes yes, but not with an
>> embedded
>> picture.
>>
>>
>>
>> So I've wrote a small ZXING Java program and a colleague a DataQ server
>> program to prevent multiple starts of the JVM.
>>
>> But it's still too slow! For 1000 QR Codes needs my i9 3 Min and the
>> customer talks about 2 Million documents with a QR-Code.
>>
>>
>>
>> How can I achieve much more speed to run the java prog?
>>
>> This customer wants a full IBM i solution.
>>
>>
>>
>> Who can give me a good advice.
>>
>>
>>
>> Thanks and take care.
>>
>> Karl
>>
>> --
>> 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: [email protected]
>> 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
>>

-- 
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: [email protected]
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.