Open northfun opened 3 years ago
2019年3月开始接手广告竞价系统的优化任务,QPS从2000+提升至15000+,最高达到19000+。虽说优化大体为减少IO、提高并发能力、减少GC、业务逻辑优化几个方面,但详细到性能排查工具(profile、dstat)、使用的轮子(BigCache、json-iterator、fasthttp),遇到过和预期不符的现象:go-wrk压测数据比wrk少了k级别,等深入理解内容就饱满了。
2019年3月开始接手广告竞价系统的优化任务,QPS从2000+提升至15000+,最高达到19000+。虽说优化大体为减少IO、提高并发能力、减少GC、业务逻辑优化几个方面,但详细到性能排查工具(profile、dstat)、使用的轮子(BigCache、json-iterator、fasthttp),遇到过和预期不符的现象:go-wrk压测数据比wrk少了k级别,等深入理解内容就饱满了。