LibURL and TSNet in LC Indy

Bob Sneidar bobsneidar at iotecdigital.com
Wed Aug 19 11:08:55 EDT 2020


I get a 404 error on the download.

Bob S


On Aug 18, 2020, at 9:52 PM, Charles Warwick via use-livecode <use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>> wrote:

Hi Tom,

Using unique URLs for multiple load URL requests against the same server with the standard libUrl library allows you to *initiate* multiple requests at once, but the requests will still only be sent to the server one at a time in the background.

tsNet will send the requests to the server in parallel, which can significantly decrease the time taken to perform the requests (assuming the server can cope with the load).

If you want to see what I mean, download the following stack:

https://downloads.techstrategies.com.au/tsNet/tsNet_libUrl_loadUrl.livecode

Open this up in LC Indy edition, and click the “Get Foreign Exchange Rates” button several times to get an average total time.

Then disable tsNet by running the following command in a message box:

dispatch “revunloadlibrary” to stack “tsnetliburl”

Then click the button several more times and compare the time difference.

Regards,

Charles



More information about the use-livecode mailing list