Does CIO client engine is ready for production?
# ktor
p
Does CIO client engine is ready for production?
h
It depends on your requirements what production means 🤷🏻‍♂️ There are no major bugs, but it misses some features compared to other client engines.
m
We use it in production if you want an anecdote.
p
@Mario Andhika any issues?
z
Been using it for a while and no issues
m
No issues so far as well
s
We used it on Android some time ago and experienced some “unknown ms” timeouts, and this went away when we moved over to the OkHttp client. But this may no longer be a problem.
p
Hello, @sindrenm! What is "unknown ms" timeouts?
s
Basically the request timed out. And in the stack trace, it said that it timed out after “unknown ms”, i.e. waiting for an unknown number of milliseconds. We didn't investigate this too much, but instead tried another engine, which hasn't caused that same issue for us.
Also, it timed out almost immediately after making the request. And our client was configured to time out after 30 seconds, but it took what I remember was around 1-2 seconds, maybe even less.
Also, IIRC, this started happening after the client was alive for quite some time.
p
Thanks!