Re: LibURL and TSNet in LC Indy

2020-08-19 Thread Dan Brown via use-livecode
Hi Tom, Word of caution on using Fiber, it only uses a subset of the http/1.1 standard (i.e. it's not standards compliant) and doesn't support http2 Have used the below libs in production and can recommend their usage if the above is an issue Echo - https://echo.labstack.com/guide Chi -

Re: LibURL and TSNet in LC Indy

2020-08-19 Thread Tom Glod via use-livecode
Yes!! that is an important distinction. It explains some of the results of my testsEven though I can send them out asynchronously, they can only come back in sequence. Basically I have a core binary component that must be fast and efficient in serving and digesting api requests...I couldn't

Re: LibURL and TSNet in LC Indy

2020-08-19 Thread Mark Wieder via use-livecode
On 8/19/20 8:08 AM, Bob Sneidar via use-livecode wrote: I get a 404 error on the download. Change the directory to "tsnet" instead of "tsNet" Bob S On Aug 18, 2020, at 9:52 PM, Charles Warwick via use-livecode

Re: LibURL and TSNet in LC Indy

2020-08-19 Thread Bob Sneidar via use-livecode
I get a 404 error on the download. Bob S On Aug 18, 2020, at 9:52 PM, Charles Warwick via use-livecode mailto:use-livecode@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*

Re: LibURL and TSNet in LC Indy

2020-08-18 Thread Charles Warwick via use-livecode
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

Re: LibURL and TSNet in LC Indy

2020-08-18 Thread Tom Glod via use-livecode
Hi Charles, Thanks for that tip, I suspect that will work to improve those failures on TSNET My rest API is local ...written in Golang using the Fiber Library.. which is very impressive performance wise, and super easy to implement. An interesting side note... .liburl has this 'one at a

Re: LibURL and TSNet in LC Indy

2020-08-17 Thread Charles Warwick via use-livecode
Hi Tom, If you want to stress test an API using the tsNet library, try adding a: tsNetLibUrlReuseConnection false Before issuing the loadUrl commands to see if that makes any difference. Also note that with tsNet, multiple load URL commands can occur at the same time against a single server,

Re: LibURL and TSNet in LC Indy

2020-08-17 Thread Bob Sneidar via use-livecode
Hey hey! I’m back on the list again. Turns out my account DID get deleted somehow. Bob S > On Aug 17, 2020, at 3:23 PM, Tom Glod via use-livecode > wrote: > > Thank you sir. That worked. > > I will try to diagnose the difference between the 2 libraries in this > scenario.. if only to

Re: LibURL and TSNet in LC Indy

2020-08-17 Thread Tom Glod via use-livecode
Thank you sir. That worked. I will try to diagnose the difference between the 2 libraries in this scenario.. if only to understand why its happening and not get burned elsewhere. Thanks. Tom On Mon, Aug 17, 2020 at 4:41 PM Ralph DiMola via use-livecode < use-livecode@lists.runrev.com>

RE: LibURL and TSNet in LC Indy

2020-08-17 Thread Ralph DiMola via use-livecode
Tom, Your problem with tsNet could be a timeouts. See tsNetSetTimeouts Disable tsNet: dispatch "revunloadlibrary" to stack tsnetliburl Enable tsNet: dispatch "revloadlibrary" to stack tsnetliburl Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net