90

徒手撸框架--高并发环境下的请求合并 | 犀利豆的博客

 6 years ago
source link: https://www.xilidou.com/2018/01/22/merge-request/?
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.
原文地址:https://www.xilidou.com/2018/01/22/merge-request/ 在高并发系统中,我们经常遇到这样的需求:系统产生大量的请求,但是这些请求实时性要求不高。我们就可以将这些请求合并,达到一定数量我们统一提交。最大化的利用系统性IO,提升系统的吞吐性能。 所以请求合并框架需要考虑以下两个需求: 当请求收集到一定数量时提交数据 一段时间后如果请求没有达到指定

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK