hey all. has anyone dealt with latency issues runn...
# ktor
d
hey all. has anyone dealt with latency issues running Ktor server on Google Cloud Run? seeing 5-6s server side latencies to serve 404s and server can only handle 1 request at a time. this is using something pretty close to the CIO server hello world example with gradle :installDist in the container and Ktor 2.0.1. no extra IO is performed on requests and I've ruled out startup time as an issue. latency remains 5-6s regardless of resource limits and the same config runs a NodeJS webserver with no issues. issue is not reproducible locally. anything I could be missing?
update: Switching from CIO to Netty fixes the issue
f
I have latency issues only for the first request afterwards it's normal, running Netty, happens local and on heroku, haven't tried Google Cloud platform distribution 🤔