Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3986

CURLSMultiMBS Massive Speedup

$
0
0

I have a web app that continuously downloads listings of 18 directories residing on another server using CURLSMBS.

I was previously using CURLSMultiMBS.SharedInstance to load request curls, but I noticed that the listing times got longer and longer as the app ran, so I changed to a specific instance of CURLSMultiMBS so I could set its properties and changed the following from the defaults:

MaxHostConnections = 18
MaxTotalConnections = 18
MaxPipelineLength = 18

and wow :open_mouth: the listing times plummeted by 10-20x!

I wish the various properties of CURLSMultiMBS were better-explained in the documentation. Their meanings are only cursorily explained, no defaults are listed, and the significance of the defaults isn’t explained. For example, here are the defaults from the debugger:

image

Does MaxHostConnections = 0 or MaxConnects = -1 mean no limit?
Does PenaltySize = 0 mean no penalties, or everything will be penalized?

5 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 3986

Trending Articles