Does anyone use Ktor for a web server and update t...
# ktor
r
Does anyone use Ktor for a web server and update the code without any downtime? I currently have a small digitalocean server, and I use Kotlin + Wildfly. I can update the war and redeploy in a few seconds. I want a way to get that redeploy downtime to zero. I have some websocket connections between the server and apps. Maybe I can swap in a new ktor process while the old one gracefully shuts down its connections.
👀 1
s
not sure how you would do in digital ocean. But in our company we use a load balancer and blue-green deployment for ~0 downtime.
r
Interesting. Thanks.