ming2882

Results 11 comments of ming2882

var cli = new RedisClient(redisOption.Connection, redisOption.Sentinels, true); cli.Serialize = obj => JsonConvert.SerializeObject(obj); cli.Deserialize = (json, type) => JsonConvert.DeserializeObject(json, type, new JsonSerializerSettings { ReferenceLoopHandling = ReferenceLoopHandling.Ignore }); cli.Notice += (s, e)...

![image](https://user-images.githubusercontent.com/34337426/154789769-38926806-8923-49b9-961d-54f7427ae1fd.png) 我有做6379端口kill时,哨兵就会切换端口

![image](https://user-images.githubusercontent.com/34337426/154789911-8e86a98f-0707-46d9-983b-b917faab2405.png) ![image](https://user-images.githubusercontent.com/34337426/154789961-920172a1-e76a-4d7a-b7d0-21edf9e48c76.png)

是用jmeter直接跑业务,做压力测试,jmeter的线程组里的线程数是100,循环1次,用户文件里有100个用户,api请求有64条,共计就是6400并发数

是不是同一台服务器做的主从不行啊?

测试了下StackExchange.Redis,可以主写分离,就是从的也有请求,说明哨兵模式没有问题

会造成程序停10秒,就是用户要等待10秒,如果用户在线多,系统雪崩,本人遇上了

测试错误了,不能用postman

To install it, you can run: npm install --save vue-number-keyboard