FreeRedis icon indicating copy to clipboard operation
FreeRedis copied to clipboard

🦄 FreeRedis is .NET40+ redis client. supports cluster, sentinel, master-slave, pub-sub, lua, pipeline, transaction, streams, client-side-caching, and pooling.

Results 116 FreeRedis issues
Sort by recently updated
recently updated
newest added

请问,我选择了某个数据库后,怎么输出索引号呢 ``` var currentDb1 = cli.GetDatabase(1); var currentDb5 = cli.GetDatabase(5); Console.WriteLine("databaseindex:") //这里如何写呢 ```

在大并发的情况下,Socket的同步接收数据会消耗过多的CPU时间,是否能用异步解决这个问题? ![image](https://user-images.githubusercontent.com/1535315/180914095-690869f0-1591-4efb-a94f-b59713a47d31.png)

哨兵只能一直读写主,从的没有请求过,这是正常的吗?然后主就时不时的Unable to read data from the transport connection: 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。.

某些命令比如 Keys 需要使用前缀时,目前只有通过反射拿到。

![并发](https://user-images.githubusercontent.com/12621564/102845465-97cc1300-4448-11eb-80b0-bdfa456a8bf1.jpg) 这是一个并发10000次的处理,连接串都是使用的默认配置,其中使用 CSRedisCore 可以正常执行完,换用 FreeRedis 会发生图上的异常。 我想知道是我使用不当还是其他问题,因为用 CSRedisCore 没有问题,所以有些困惑。

area-pool
UT
csredis-diff

后台循环执行XReadGroup,会间歇性出现以下错误: 【127.0.0.1:6379/0】Unable to read data from the transport connection: 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。. 调用方式: ``` while (!token.IsCancellationRequested) { _redis.XReadGroup(consumerGroup, consumerGroup, _options.StreamEntriesCount, pollDelay.Ticks, false, streams.ToDictionary(x => x, y => ">")); } ``` 其中pollDelay.Ticks是10000000,redis版本是6.2.4 ![QQ截图20210829163340](https://user-images.githubusercontent.com/18746523/131244299-9eaac391-1c1b-4538-a0c5-32a0d867c9df.png)

`isasync` always false, The async method cannot be used.

异步相关操作计划何时上线?

请问支持自定义 cli 命令吗? 因为 Redis 支持加载模块,如 RedisJSON、 RedisTimeSeries 等 基本一个 Redis 可以走天下的感觉 那么因为模块的不同,适配的命令都将不一样。 如果不针对模块单独开发的话,请问是否支持自定义 cli 命令? 这样的话可以通过命令自行扩展操作