Commit Graph

676 Commits

Author SHA1 Message Date
智能大石头 9c55d4e250 使用缓冲流BufferedStream包装网络流,加速响应数据读取分析。压测峰值315万每秒,批删除 2025-01-10 01:33:42 +08:00
智能大石头 3129b84dc6 v6.1 底层RedisClient恢复同步方法。Redis属于低延时高频操作,在使用异步的过程中,因层次较深,加入了很多个await,编译时创建了很多状态机,运行时加重了线程池负担。在吞吐较大应用中,经星尘监控采样发现,应用线程池每分钟完成数十万个任务,偶尔出现挂起任务,即为线程饥渴,导致asp.net接受http请求等任务,偶尔出现异常。 2025-01-10 00:58:04 +08:00
智能大石头 2187f0153d 修改全局Utility扩展的命名空间为NewLife 2025-01-09 23:18:46 +08:00
智能大石头 56c28c9467 升级星尘 2025-01-08 00:20:13 +08:00
Stone e2992b2ddd
Merge pull request #147 from Li11Li/master
Update FullRedis.cs
2025-01-03 18:36:55 +08:00
Li11Li 8dee8a985f
Update FullRedis.cs
获取hash表所有数据
2025-01-03 18:15:33 +08:00
Stone 9af6b2613f
Merge pull request #146 from Li11Li/master
Update RedisHash.cs
2025-01-03 16:42:40 +08:00
Li11Li e3490fdea4
Update RedisHash.cs
修改HashGet方法单次最大获取量
2025-01-03 16:02:17 +08:00
大石头 378381df64 v6.0.2025.0101 2025-01-01 16:50:29 +08:00
智能大石头 18238e02ba 更新核心库,修正IPacket.ReadBytes错误 2024-12-25 23:27:04 +08:00
大石头 0c7683487b Merge branch 'master' of http://git.newlifex.com/NewLife/NewLife.Redis 2024-12-11 14:04:15 +08:00
大石头 cc52acf2f6 引入 BenchmarkDotNet 2024-12-11 10:21:42 +08:00
大石头 816f3196f9 整理Samples目录,增加压测项目 2024-12-11 09:42:32 +08:00
Stone 6b6ca4be30
Merge pull request #143 from Soar360/readme_english
更新英文文档
2024-12-09 08:00:29 +08:00
Soar360 48a6a7ed85 更行英文文档 2024-12-08 14:36:28 +08:00
智能大石头 33046841fe 接触Redis类对IConfigProvider的强依赖 2024-12-05 13:12:35 +08:00
大石头 ee9369d7af [ci/cd] net9 2024-12-02 10:46:26 +08:00
大石头 e331f8f7ab v6.0.2024.1202 2024-12-02 10:43:34 +08:00
大石头 2b0f3b131b 为了提升性能,在同步调用异步时规避卡UI上下文,所有await状态机都设置ConfigureAwait(false),开启CA2007并视为编译错误。减少不必要的await状态机 2024-11-30 23:18:11 +08:00
智能大石头 35e7d953a0 redis压测直接-server参数和-pass参数,方便在云服务器测试 2024-11-25 22:19:08 +08:00
智能大石头 e49d77bb41 修正压测时数组越界问题 2024-11-25 20:35:52 +08:00
大石头 17c82cae2e [fix]修正UI线程卡死问题,在同步调用异步时,取消捕获上下文。同时进行本机压测,并不存在连接数大增的问题。相关讨论:https://github.com/NewLifeX/NewLife.Redis/issues/140https://github.com/NewLifeX/NewLife.Redis/issues/139 以及 https://github.com/NewLifeX/NewLife.Redis/issues/138 2024-11-25 20:21:21 +08:00
大石头 da2497c8e9 Upgrade Nuget 2024-11-20 14:05:39 +08:00
大石头 7871f5d258 Upgrade Nuget 2024-11-16 11:53:42 +08:00
大石头 c0d8263d0b Upgrade Nuget 2024-11-13 14:07:30 +08:00
大石头 600f6c284b v6.0.2024.1101 优化依赖注入 2024-11-01 18:24:27 +08:00
大石头 8170a4a2e3 [fix]降低RedisCacheProvider对IConfigProvider的依赖,在外部没有注册IConfigProvider时(常见于没有星尘),自动加载本地配置文件。 2024-10-31 09:19:20 +08:00
AndyWu 1456b666bf 恢复 NewLife.Redis.Extensions 项目支持 netstandard2.0 2024-10-30 16:46:21 +08:00
大石头 453e49ab1f Merge branch 'master' of https://github.com/NewLifeX/NewLife.Redis 2024-10-22 22:09:51 +08:00
大石头 346f49fb12 [fix]修正对ICacheProvider的注入 2024-10-19 08:55:57 +08:00
大石头 5e1330eab6 Merge branch 'master' of https://github.com/NewLifeX/NewLife.Redis 2024-10-17 11:34:27 +08:00
大石头 e949c22053 [fix]注册ICacheProvider时,需要自动注入前置依赖项。fix: https://github.com/NewLifeX/X/issues/150 2024-10-17 11:33:09 +08:00
猿人易 c4fe34ed14 超时时间要略大于队列等待时间,不能等于。否则队列阻塞读取还没有返回,就已经发生网络超时了 2024-10-15 18:04:48 +08:00
智能大石头 502cd5f25e 超时时间要略大于队列等待时间,不能等于。否则队列阻塞读取还没有返回,就已经发生网络超时了 2024-10-14 00:12:35 +08:00
大石头 05ce81c0dc Upgrade Nuget 2024-10-09 15:29:53 +08:00
大石头 441265f45f Upgrade Nuget 2024-10-07 16:14:27 +08:00
大石头 4b3d76f408 兼容性能测试调整,先删除再累加,否则redis不接受在字符串key上执行incr累加 2024-10-07 01:11:47 +08:00
大石头 30d611703e v6.0.2024.1006 内存优化,在高并发场合减少内存分配 2024-10-07 00:42:01 +08:00
大石头 ed81bbf041 Merge branch 'master' into dev 2024-10-04 14:02:10 +08:00
大石头 5fa8e2f429 Upgrade Nuget 2024-09-28 08:05:10 +08:00
智能大石头 2921b5aa35 trim Null 2024-09-25 00:53:43 +08:00
智能大石头 eaaaebdcd3 优化ToHex使用和Pool.Return使用 2024-09-24 08:04:47 +08:00
xubh 3aa9370158 FullRedis构造函数增加用户名 2024-09-21 16:16:50 +08:00
智能大石头 0b805c32c2 ReadLength 2024-09-19 08:48:37 +08:00
大石头 29c4f79584 原始数据直接编码进入SpanWriter,不再中途经过IPacket编码转一道 2024-09-16 22:00:04 +08:00
大石头 f73660a3c4 使用最终版IPacket优化代码,单元测试通过 2024-09-16 19:55:28 +08:00
大石头 c2fe81e0a0 Upgrade Nuget 2024-09-06 14:37:00 +08:00
智能大石头 0a4d7a201c Merge branch 'master' of http://git.newlifex.com/NewLife/NewLife.Redis 2024-09-04 21:06:45 +08:00
大石头 616c4e98fe Upgrade Nuget 2024-09-03 08:45:04 +08:00
大石头 1c76c7bb6c Merge branch 'master' of https://gitee.com/NewLifeX/NewLife.Redis into dev 2024-09-03 08:44:47 +08:00