消费方项目为SpringMVC 服务提供方为Spring+MyBatis 使用版本号: dubbo 2.6.6 zookeeper 3.6.1 出现异常: 类型:com.alibaba.dubbo.rpc.RpcException 主要信息: Invoke remote method timeout ...
分类:
其他好文 时间:
2020-06-17 09:13:44
阅读次数:
267
常见的Request和Response 请求相关 use Psr\Http\Message\RequestInterface;use Psr\Http\Message\ServerRequestInterface;use Hyperf\HttpMessage\Base\Request;use Hyp ...
分类:
其他好文 时间:
2020-06-16 23:29:23
阅读次数:
222
1、 npm安装依赖 //jszip是一个用于创建、读取和编辑.zip文件的JavaScript库https://stuk.github.io/jszip/npm install jszip https://www.npmjs.com/package/file-saver npm install f ...
分类:
其他好文 时间:
2020-06-16 20:34:23
阅读次数:
132
1.平均事务响应时间(Average Transation Response Time ) 很好:<3s 较好:3-5s 一般:5-8s 不能接受:>8s 2.每秒点击率(Hits per Second) 随着并发用户数增多(向服务器施压),每秒点击率曲线总体呈波动上升状态,然后渐渐趋于平缓,排除网 ...
分类:
其他好文 时间:
2020-06-16 20:11:51
阅读次数:
77
问题描述:JavaWeb项目,ssm框架,从tomcat9.0.30换到weblogic10.3.6.0后,poi导出excel,打开文件时部分内容有问题; 解决: response.addHeader("Content-Length", "" + outfile.length()); 替换成: r ...
分类:
其他好文 时间:
2020-06-16 18:25:03
阅读次数:
361
有这样一张表,“non_response_num”是真实非应答次数,“predict_non_response_num”是模型预测的非应答次数。 想计算每个时间片内不同group_id的所有hex_center的MAE值,用groupby方法: from sklearn import metrics ...
分类:
其他好文 时间:
2020-06-16 14:52:10
阅读次数:
72
本地mocker服务 技术选型 python3 + http.server 流程 获取请求 通过请求的path,params(query_params+body_params),method去匹配对应的response 本地的response需要事先设置好 将response返回 代码 #!/usr ...
分类:
编程语言 时间:
2020-06-16 13:20:28
阅读次数:
75
1.1 基础对象 #ctx:上下文对象 ${#ctx.locale} ${#ctx.variableNames} ${#ctx.request} ${#ctx.response} ${#ctx.session} ${#ctx.servletContext} #locale:直接访问java.util ...
分类:
编程语言 时间:
2020-06-15 22:54:30
阅读次数:
70
Spring Cloud Gateway 内置Filter Spring Cloud Gateway中内置了很多过滤器,实现类有二十多个; 分类几类: AddRequestHeader 给请求加上一条header信息; spring: cloud: gateway: routes: - id: ad ...
分类:
编程语言 时间:
2020-06-15 17:57:42
阅读次数:
68
1、加入依赖 <dependency> <groupId>io.vertx</groupId> <artifactId>vertx-web-client</artifactId> <version>3.8.5</version> </dependency> 2、编写GET请求 import io.v ...
分类:
Web程序 时间:
2020-06-15 17:36:23
阅读次数:
99