10

服务接口http请求瞬时并发高 cpu飙高如何解决?

 3 years ago
source link: https://www.oschina.net/question/2491333_2322455
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

服务接口http请求瞬时并发高 cpu飙高如何解决?

sfasdfasdfasf 发布于 昨天 09:50
阅读 533

接口为第三方推给我们优质客户数据用的,比如说第三方有很多优质客户,然后某天某个时候突然一次性推给我们数万,数十万的客户数据,我们接口再对这些客户做逻辑处理再做客户sai'xuan,入库啥的。导致这个接口瞬时并发会很高,cpu飙高。如何解决呢?有没有多个解决方案?

以下是问题补充:

@西红柿未来:为啥要解决啊?这不是很正常吗 []ۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖۖ (昨天 17:02)
@-喜头鱼-:做个引流的负载均衡很难么? (今天 09:24)

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK