Facing the slowness while uploading the content as a stream with the Ktor client.
Migrating my Retrofit to the Ktor, By comparing both performances, uploading with Ktor as Stream is approximately 10 times slower than the Retrofit.
I have tried both AndroidClientEngine and OkHttpEngine. The same result with both implementations.
https://youtrack.jetbrains.com/issue/KTOR-6581/Upload-slowness-when-uploading-with-OutgoingContent.WriteChannelContent-in-Ktor-Client.
Does anybody face a similar issue? Is there any workaround in case I might have missed it?