支付接口并发 需求:对支付接口做并发,验证账户金额的扣款(-)冻结(+),然后把执行结果写到一个日志文件 # @Time : '2021-6-19 07:58' # @Author : 'pc.kang' import time,json,requests from threading import ...
分类:
其他好文 时间:
2021-06-19 19:00:28
阅读次数:
0
import zlib import websocket import json import redis import pymysql import time rds = redis.StrictRedis(host='10.10.6.83', port=6379, db=3, password= ...
分类:
编程语言 时间:
2021-06-18 19:59:07
阅读次数:
0
简单易懂的设计模式(上) 原创 凹凸嫚-清汤饺子 凹凸实验室 2021-06-17 ...
分类:
其他好文 时间:
2021-06-18 19:53:09
阅读次数:
0
1、Badboy软件介绍 Badboy是一款免费的Web自动化测试工具,是用C++开发的动态应用测试工具。 其拥有强大的屏幕录制和回放功能,提供图形结果分析功能,刚好弥补了JMeter的不足之处。 所以再做Web测试时,使用这两个工具将是最佳组合。 同时Badboy提供了将录制好的Web测试脚本,可 ...
分类:
数据库 时间:
2021-06-18 19:44:04
阅读次数:
0
1 #显示跑马灯文字 2 import os 3 import time 4 def main(): 5 content = str(input('输入显示内容:')) 6 while True: 7 os.system('cls') 8 print(content) 9 time.sleep(0. ...
分类:
其他好文 时间:
2021-06-18 19:20:19
阅读次数:
0
1:开机同步 开机时自动同步可编辑 /etc/ntp/step-tickers 文件 1 vim /etc/ntp/step-tickers 2 3 # List of NTP servers used by the ntpdate service. 4 5 ntp.aliyun.com 6 tim ...
分类:
其他好文 时间:
2021-06-17 16:54:51
阅读次数:
0
declare @begin_date datetime declare @end_date datetime select @begin_date = getdate() -- sql 语句 放这里 select @end_date = getdate() select datediff(ms,@ ...
分类:
数据库 时间:
2021-06-16 18:22:04
阅读次数:
0
枚举 1. 枚举 枚举类型( enum type )是指由一组固定的常量组成合法值的类型,本质上是int值。 Ⅰ. 用enum代替int常量 (1)int枚举模式 // FruitConsts.java /** * @author cph * create datetime 2021/6/8 16: ...
分类:
编程语言 时间:
2021-06-16 17:49:38
阅读次数:
0
Qt图片采集软件 QDateTime current_File_time = QDateTime::currentDateTime(); QString currentTimeStr = current_File_time.toString("yyyyMMddhhmmsszzz"); QString ...
分类:
其他好文 时间:
2021-06-15 18:31:57
阅读次数:
0
1. 概述 KL散度存在不对称性,为解决这个问题,在KL散度基础上引入了JS散度。 \[ J S\left(P_{1} \| P_{2}\right)=\frac{1}{2} K L\left(P_{1} \| \frac{P_{1}+P_{2}}{2}\right)+\frac{1}{2} K L ...
分类:
Web程序 时间:
2021-06-15 17:39:50
阅读次数:
0