自定義實現一個RPC框架(五):
地址:https://gitee.com/liyunfengfengfeng/rpc
基於HTTP來實現
package com.luban.protocol.http;
import com.alibaba.fastjson.JSONObject;
package com.luban.protocol.http;
import com.alibaba.fastjson.JSONObject;
Tomcat/Netty調優方案 1.默認web服務器 Gateway默認netty,其餘服務默認tomcat 2.Tomcat參數 參數 含義 描述 默認值 minSpareThreads 初始