https://kotlinlang.org logo
#squarelibraries
Title
# squarelibraries
j

jessewilson

03/04/2023, 10:21 PM
Probably the only configuration worth paying attention to is the Dispatcher’s
maxRequests
(default 64) and
maxRequestsPerHost
(default 5) . . . bumping these up is often a good tradeoff where you’ll spend more compute & network resources, and do more stuff concurrently
t

Trevor Stone

03/07/2023, 6:09 PM
Thanks! I'm sure it depends on the machine, but do you have any advice on what sane values might be? Like is there an upper limit that would just be dumb? I plan to just start bumping them and testing, but would love a head start
j

jessewilson

03/07/2023, 6:18 PM
Maybe 128 concurrent requests for a server, 32 for a mobile app?
5 Views