Comments (1)
redis操作都是同步,不支持异步!
NewLife.Redis特别为大数据实时计算进行优化,需要超低延迟(0.20.6ms),超高性能(10万200万ops)。
经过测试,异步比同步并没有优势,甚至高并发时比同步略慢。
通过get/set目标数据,只需要小于200us的延迟,这个时候异步操作导致线程切换所带来损耗,相比之下已经比较可观。
from newlife.redis.
Related Issues (20)
- DNS issue if using a cluster redis only on version above ( "NewLife.Redis" Version="5.1.2023.101") HOT 6
- 返回空,看不见数据 HOT 1
- 延迟队列是不是不可以消息确认才删除 HOT 3
- 可靠redis队列里的高级用法中消息体和消息键好像不是可靠消息 HOT 2
- RedisList枚举空LIST列表时报空异常
- Which NewLife.Redis versions supports Redis 7.0? HOT 1
- .Net8 support HOT 5
- 使用 List 設定 expire 沒有作用 ? HOT 2
- 怎么读取STREAM数据 HOT 1
- RedisStream<T>.Range(DateTime start, DateTime end, Int32 count = -1)读取的消息不是时间区间内的? HOT 9
- 集群模式下,批量删除key会报错 HOT 1
- 项目NewLife.Extensions.Caching.Redis遗漏程序集签名
- 给一个配置 能关闭主从探索功能 HOT 1
- BLPOP弹出字符串时,抛非标准Json字符串异常
- 集群key中包含'{}'时,发生节点MOVED HOT 1
- 连接[://192.168.0.32:3838][3000ms]超时! HOT 3
- 配置多个redis地址时,如果第一个地址无法访问是不是不会自动切换。 HOT 5
- 使用RedisHash对象HMGet方法获取对象内单个记录时偶然性报错,版本5.5.2023.1201 HOT 6
- 字段数组有默认值的时候获取不到数据 HOT 3
- TimeOnly类型写入到 redis之后,变成了一个json对象那种格式,读取redis之后获取到的值无法用TimeOnly接收。 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from newlife.redis.