I'm making a TON of requests to the same host but ...
# ktor
b
I'm making a TON of requests to the same host but different paths. Is it worth somehow keeping the client connection open between requests instead of closing and reopening them on each request? If so, how would that be done with ktor-client (looking at code
get("url")
closes the connection after the request is fulfilled).
a
What engine do you use?
b
CIO
a
I suggest using another engine like
Apache
or
OkHttp
to reuse connections.