× 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.



Jon,

We can't force the server to do something that it doesn't allow....?!    But, most servers do allow it.

You mention doing this on the server, which confuses me as you have never struck me as the sort to write your own server.  I wonder if you're confusing persistent HTTP with persistent CGI? These are two different things.  Persistent HTTP has to do with reusing the network connection, whereas persistent CGI has to do with reusing the server job.

-SK


On 9/17/2018 10:59 AM, Jon Paris wrote:
I know how to do this when I am serving up the web service Scott - but how do you initiate that as the client? Does the server not have to allow it?


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Sep 17, 2018, at 11:23 AM, Scott Klement <rpg400-l@xxxxxxxxxxxxxxxx> wrote:

Mohammad,

If you are making requests to the same server, repeatedly, you can improve performance dramatically by using persistent HTTP. This is similar in some ways to the connection pooling concept -- instead of starting a new connection for every request, you re-use an existing connection.

-SK


On 9/16/2018 6:19 AM, Mohammad Tanveer wrote:
We are using libhttp and YAJL, We are trying to improve the performance of
REST API calls. Process will be calling the REST APIs 1000s of times in a
loop.

1. What is better IFS/memory buffer for performance? Use IFS write/read or
memory buffer when calling REST APIs?
2. Is there any http connection pool manager in libhttp like we have in
java with httpclient.

Regards
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
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: http://amzn.to/2dEadiD


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.