{"repo":"2881099/csredis","free":true,"listed":false,"github":"https://github.com/2881099/csredis","clone":"git clone https://github.com/2881099/csredis.git","description":".NET Core or .NET Framework 4.0+ client for Redis and Redis Sentinel (2.8) and Cluster. Includes both synchronous and asynchronous clients.","language":"C#","stars":2053,"topics":["redis","csredis","redis-client","redis-cluster","redis-sentinels"],"license":"MIT","category":"databases-storage","readme_excerpt":"Features - CSRedisClient and RedisHelper Keep all method names consistent with redis-cli - Support geo type commands (redis-server 3.2 or above is required) - Support Redis Cluster redis-trib.rb - Support Redis Sentinel and master-slave - Supports stream type commands (requires redis-server 5.0 and above) Package Name NuGet Downloads -------------- ------- ---- -- CSRedisCore Caching.CSRedis IDistributedCache dotnet add package CSRedisCore Single machine redis Parameter Default Explain :---------------- --------: :------------------- user \\ Redis server user (redis 6.0+) password \\ Redis server password defaultDatabase 0 Redis server database asyncPipeline false The asynchronous method automatically uses pipeline, and the 10W concurrent time is 450ms (welcome to feedback) poolsize 50 Connection pool size idleTimeout 20000 Idle time of elements in the connection pool (MS), suitable for connecting to remote redis server connectTimeout 5000 Connection timeout (MS) syncTimeout 10000 Send / receive timeout (MS) preheat 5 Preheat connections, receive values such as preheat = 5 preheat 5 connections autoDispose true Follow system exit event to release automatically ssl false Enable encrypted transmission testcluster true 是否尝试集群模式，阿里云、腾讯云集群需要设置此选项为 false tryit 0 Execution error, retry attempts name \\ Connection name, use client list command to view prefix \\ key前辍，所有方法都会附带此前辍，csredis.Set(prefix + \"key\", 111); IPv6: [fe80::b164:55b3:4b4f:7ce6%15]:6379 Redis Sentinel Read only: new CSRe","default_branch":null,"files":null,"tree":[],"storefront":"/r/2881099","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/2881099/csredis/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}