|
Hi Alan,
I tried using the named activation group as well. But there is no
improvement in the performance.
Regards,
Surender K
On Tue, Dec 17, 2019 at 12:24 PM Alan Campin <alan0307d@xxxxxxxxx> wrote:
Assuming you are running in main program and not wasting time running thefaster
cycle. Are you using a named activation group?
On Tue, Dec 17, 2019 at 9:11 AM Suren K <suren7437@xxxxxxxxx> wrote:
Hi All,time
I got one more clue.
When i remove the QtmhWrStout API from my program, now the transaction
improved from 500 milliseconds to 270 milliseconds. Now i assume theto
QtmhWrStout
API sends some response back to HTTP Server which is doing some process
send the response back to client, which is where the performance isgetting
affected.wrote:
Any suggestions what to do to improve the performance now?
Regards,
Surender K
On Tue, Dec 17, 2019 at 10:44 AM Alan Campin <alan0307d@xxxxxxxxx>
Better yet don't use cycle program. Make the program a Main programwithout
a cycle. It will run faster.program,
On Tue, Dec 17, 2019 at 7:38 AM Raul Jager <raul@xxxxxxxxxx> wrote:
The 2 milliseconds, do not include the time to start (load) the
opening files, closing, etc. Leaving LR off will allow a much
Ireply after the first call.
To find out the total execution time I often open two 5250, in one
used.monitor the other one (DSPJOB) in the 3rd line I have CPU time
useGousing
haveto the other screen, run the program, come back, refresh, there you
programCPU time used.
El 17/12/19 a las 12:00, Suren K escribió:
Hi Bradley,
I stored the timestamp value in the first and last line of the
tolines).
calculate the time taken by Program (Which contains those three
Its
taking only 1ms or 2ms to complete it. But the tool which i am
totransaction
execute the transaction is postman, which says the total
Bradley?took
500ms.
I am not sure where the 498ms delay is happening... Any idea
Also, once this performance issue is resolved, I am planning to
toScott
Klement's JSON Parser (YAJLINTO) and Data Generator (YAJLDTAGEN)
wrote:parse/generate the JSON document.
Regards,
Surender K
On Mon, Dec 16, 2019 at 5:08 PM B Stone <bvstone@xxxxxxxxx>
TheKlement's
Instead of using the APIs, have you tried installing Scott
doesYAJL
and used yajl_stdin_load_tree() in your CGI program instead? It
use
the same APIs under the covers.
Bradley V. Stone
www.bvstools.com
MAILTOOL Benefit #2 <https://www.bvstools.com/mailtool.html>:
relatedmethodwrote:ability
to specify a "From" and/or "Reply To" email address!
On Mon, Dec 16, 2019 at 3:17 PM Suren K <suren7437@xxxxxxxxx>
great
Hi All,
I am getting some performance issue. Your suggestions will be a
help
to me and very much appreciated.
Earlier, I was using IWS as web service and trying some POST
forDATA-INTOtransactions (JSON as Input and JSON as response, used both
and
DATA-GEN for JSON Conversions). It was taking 300 milliseconds
samplecallsprocessing a transaction.
Now, i thought of using only HTTP Server and using CGI program
to
interact with RPG. I created a new HTTP Server and updated the
configuration to add the CGI program call. Also, I created a
stringprogram
which contains only 3 line of code (Line 1 will fetch the input
using QtmhRdStin API, Line 2 hard coded sample response JSON
of
increaseprocessing100
character length, Line 3 send back the hard coded response
using QtmhWrStout API).
But the CGI program call method is taking 500 milliseconds for
the sample program (Program with 3 lines of code).
Any configurations which i need to take care in HTTP Server to
the
performance?
Regards,
Surender K
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription
relatedaffiliatequestions.
Help support midrange.com by shopping at amazon.com with our
link: https://amazon.midrange.com--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription
Coloraffiliatequestions.
Help support midrange.com by shopping at amazon.com with our
link: https://amazon.midrange.com
-- Este e-mail fue enviado desde el Mail Server del diario ABC
--affiliate
affiliate-- Verificado por Anti-Virus Corporativo Symantec --
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our
link: https://amazon.midrange.com--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our
----link: https://amazon.midrange.com--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
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 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.