iperf2(又叫iperf)帮助手册:https://iperf2.sourceforge.io/iperf-manpage.html iperf分为Server端和Client端, 服务器端: iperf -s -i 1 客户端: iperf -c 192.168.13.4 -i 1 -t 60 ...
分类:
其他好文 时间:
2021-05-24 08:44:11
阅读次数:
0
在开发高并发系统时有三把利器用来保护系统:缓存、降级和限流 缓存:缓存的目的是提升系统访问速度和增大系统处理容量 降级:降级是当服务器压力剧增的情况下,根据当前业务情况及流量对一些服务和页面有策略的降级,以此释放服务器资源以保证核心任务的正常运行 限流:限流的目的是通过对并发访问/请求进行限速,或者 ...
分类:
其他好文 时间:
2021-05-24 08:39:02
阅读次数:
0
database/sql接口,使用mysql数据库、sqlite数据库、beego orm库、nosql ...
分类:
数据库 时间:
2021-05-24 08:24:40
阅读次数:
0
//php查询数据 static public function selfs($id){ return self::where('id',$id)->first();}//内置验证 $this->validate(request(),[ 'username'=>'required', 'pwd'=> ...
分类:
微信 时间:
2021-05-24 08:18:55
阅读次数:
0
//导包import pandas as pd s1=pd.Series([1,2,3],index=[1,2,3],name='A') s2=pd.Series([10,20,30],index=[1,2,3],name='B') s3=pd.Series([100,200,300],index= ...
分类:
其他好文 时间:
2021-05-24 07:58:49
阅读次数:
0
异常现象:session一直处于waiting状态,等待事件为gc current request。 异常原因:rac的代码缺陷导致可能出现的BUG,在频繁的insert或者update操作下,导致节点之间锁的状态不同步。彻底修复可以通过打补丁来解决。 临时解决办法: SQL> oradebug s ...
分类:
其他好文 时间:
2021-05-24 07:53:30
阅读次数:
0
In mathematics, statistics, finance,[1] computer science, particularly in machine learning and inverse problems, regularization is the process of addi ...
分类:
其他好文 时间:
2021-05-24 07:35:40
阅读次数:
0
基本描述 供应商提供了war格式的项目,需要部署在rancher上,本文记录从war包打docker镜像到云平台镜像库的过程。 材料准备 war包 Dockerfile 编写 Dockerfile编写 FROM tomcat:8.5 #基础镜像,一切从这里开始,运行war包需要用到tomcat,版本 ...
分类:
其他好文 时间:
2021-05-24 07:33:40
阅读次数:
0
import urllib.request # 获取目标网址 url = 'https://www.baidu.com/' # 添加请求头 headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/ ...
分类:
Web程序 时间:
2021-05-24 07:26:13
阅读次数:
0
一. requests库的介绍与安装 pip install requests 二. 请求数据场景 2.1 请求方式:GET, 请求类型:application/x-www-form-urlencoded # -*- coding: utf-8 -*- # @Time : 2021/5/11 23: ...
分类:
编程语言 时间:
2021-05-24 07:15:29
阅读次数:
0