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



In HTTPAPI see:

http_persist_open
http_persist_post
http_persist_req
http_persist_close


-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Mohammad Tanveer
Sent: Monday, September 17, 2018 12:02 PM
To: RPG programming on the IBM i (AS/400 and iSeries) <rpg400-l@xxxxxxxxxxxx>
Subject: Re: Is it possible to use some kind of connection pool manager with libhttp

From java I know I can do it. But I am trying to find out if libHttp provides some kind of persistent or connection pool. As our solution is using httplib and Yajl.

Regards


On Mon, Sep 17, 2018 at 10: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

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

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.