On 11/23/20 1:39 PM, Logic IT: K. Fritz wrote:
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?
I would suggest making the java code a server function that runs all the time waiting for requests to generate the QR code. That way the java startup penalty isn't incurred every time it's invoked.

For a single function server like that, I would suggest using a data queue to listen for requests and a thread pool to manage the work load.

david


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2021 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.