[MySQL] MySQL autocommit

MySQL autocommit 控制是否开启隐式事务 查看状态 mysql> show variables like '%autocommit%'; 开启自动提交 mysql> set autocommit=1; 关闭自动提交 使用commit提交事务操作,或者使用rollback回滚操作 配置文

[Go] 一个Golang实现的MySQL基准测试工具

benchyou is a benchmark tool for MySQL, similar Sysbench. Introduction benchyou is a benchmark tool for MySQL, real-time monitoring TPS and vmstat/iostat Build 1 2 3 $ git clone https://github.com/xelabs/benchyou $ cd benchyou $ make build Usage 1 $ ./bin/benchyou -h Examples 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 prepare 64 tables: ./bin/benchyou --mysql-host=192.168.0.3

[Go] Golang实现一个工作池

Golang实现一个工作池处理并发任务 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51

[Go] Golang Quic

Quick UDP Internet Connection QUIC 概述 QUIC(Quick UDP Internet Connection,快速 UDP 互联网连接协议)是一种以 UDP 为底层传输协议,支持加密、多路复用,工作在用户空