wangronghua

Results 17 comments of wangronghua

![image](https://user-images.githubusercontent.com/19945852/170935078-b71604d7-c218-450a-8ebd-52c126bd4877.png)

是docker-compose部署的,域名redis是有个名称为redis的容器。大致是这样的 version: '3.8' services: redis: image: redis:7.0.0 container_name: redis eyeapp: image: csredis版本是3.6.9 redis版本7.0

我的是程序和redis部署在同一台阿里云 ecs的两个docker里的,本地测试环境相同的部署方式没有出现过这个问题,怀疑是阿里云服务器操作系统优化过导致docker自带dns出问题导致的,我把连接字符串改成本机ip,然后redis的docker通过host模式部署到现在为止还没出现过这个问题

docker部署的lanproxy-server和lanproxy-client

Min Pool Size=100 问题还是存在 ![image](https://user-images.githubusercontent.com/19945852/180652655-1f96db52-e4a2-4da9-86dd-6874c5879d91.png) 这个表只有458条数据,3个字段 CREATE TABLE `childflag` ( `ChildId` int NOT NULL, `LastScreenTimeCalcPointDate` date DEFAULT NULL, `LastCalcGameScoreDate` date NOT NULL DEFAULT '0001-01-01' ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci

嗯,因为是偶现的,所以直接记录这个时间耗时不长的,我在耗时长时加了这个测试,等出现这种情况时看耗时

![image](https://user-images.githubusercontent.com/19945852/180691742-cb49874d-01b6-4c1f-9696-9767c732f72c.png)

![image](https://user-images.githubusercontent.com/19945852/180703894-a37754d9-fb31-43e9-b3de-1f00c64c35bb.png) open耗时0毫秒,在高耗时sql发生时调用的

好的,已经加了,有结果了发上来,感谢