https://kotlinlang.org logo
#ktor
Title
# ktor
r

rocketraman

11/28/2023, 5:09 PM
Has anyone benchmarked Ktor's socket client implementation vs Netty, running on JVM on Linux? I'm just trying to understand roughly how much perf I'm giving up.
e

e5l

11/28/2023, 5:33 PM
Hey, @rocketraman! We have some in ktor-benchmarks. If you have any performance issues with real life use case, we would be happy to help :)
r

rocketraman

11/28/2023, 5:34 PM
Awesome, is there a summary of the results somewhere?
e

e5l

11/28/2023, 5:37 PM
We don’t have direct comparison with Netty or measure recorded. We use it mainly to fix bottlenecks.
r

rocketraman

11/28/2023, 5:38 PM
Ok, makes sense. Will give it a shot and see how it goes.
🙏 1
👍 1
A couple of other gaps I discovered implementing my project with Ktor rather than Netty, neither of which are showstoppers but it is good to be aware of them: • no TLS1.3 support in Ktor • no support for SOCKS proxies in ktor-network
2 Views