× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Are you only running this in 1 jvm?

How many cores does your ibmi have?

I would suggest using parallel streaming. Its pretty easy to do in java and
allows you to make use of all cores.

https://www.geeksforgeeks.org/what-is-java-parallel-streams/

Ive never done this on ibmi but it works well on windows, so not sure what
it would do to your overall system performance if you have other things
running on the box...

Cheers
Colin

On Mon, 23 Nov 2020, 19:39 Logic IT: K. Fritz, <k.fritz@xxxxxxxx> 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: 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.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.