主要思想就是经过异步 发起一次请求,后端不关闭输出流,多个线程处理各自任务,而后分别发送到客户端。html
其中须要使用到servlet springmvc 异步模式 git
Reference:github