服务不可用现象
· One min read
什么情况下会导致服务不可用?tcp 打满,还有其他 等等
什么情况下会导致服务不可用?tcp 打满,还有其他 等等
后端服务能否支撑起百万并发,取决于很多因素。
首先看看当100个浏览器(客户端)同时请求后端服务时,系统会面临极端高并发压力,可能出现以下现象,涉及网络、操作系统、应用架构等多层瓶颈。
后端服务监听端口,客户端发起请求,首先建立 tcp 连接,使用 http 协议。
客户端连接池,连接复用情况。
后端服务接收到请求,立马开启一个 goroutine 处理,这个处理的最大数?
什么情况下会导致服务不可用?tcp 打满,还有其他 等等
redis 剪枝丢失数据问题
现象:存证服务在服务启动时,日志写入速度比较快,会随着时间变得越来越慢。
两个方面:
1、日志错误使用导致对象map内存频繁创建与map扩容。 2、一些查询慢 SQL 导致的,慢 SQL 也会导致大量的日志产生。
immortal-cool
Docusaurus blogging features are powered by the blog plugin.
Here are a few tips you might find useful.
Blog posts support Docusaurus Markdown features, such as MDX.
Use the power of React to create interactive blog posts.
This is the summary of a very long blog post,
Use a <!--
truncate
-->
comment to limit blog post size in the list view.