【源码阅读】fasthttp 的 server.Shutdown() 究竟能不能实现 graceful shutdown

因为一个基于 fasthttp 的服务在发布上出现了一定量的 503 错误,由此怀疑 fasthttp 可能没有很好地实现 graceful shutdown.

本文将通过源码阅读的方式,推导 fasthttp 实现 graceful shutdown 的细节。

赞(0)
未经允许不得转载:小狮博客 » 【源码阅读】fasthttp 的 server.Shutdown() 究竟能不能实现 graceful shutdown
分享到: 更多 (0)

联系我们