Hi, if I want to make a bunch of HTTP requests at ...
# ktor
r
Hi, if I want to make a bunch of HTTP requests at the same time, is it better to create a new HTTP client for each request or is it ok to let these request share a same client?
r
I would say share the client since this is the way you can make sure connections are re-used across different calls.
the client lets you have kind of like a connection pool to the endpoint with kept alive connections
also it costs to construct a client
r
@rrva thank you!