Comments (2)
Hi @hideki,
Yes everything in Fred should be thread safe in that all of the public interface and types are at least Send
, and the various client structs are all Send + Sync
.
In the future I might add a new client struct that is not Send
or Sync
in order to take advantage of some performance improvements that depend on LocalSet and friends, but I don't have any immediate plans to release that. If or when I do release that it'll be behind a new feature flag or a new client type that makes this clear to callers.
from fred.rs.
@aembke I am glad to hear that fred.rs is thread safe, and thank you for detailed explanation!
from fred.rs.
Related Issues (20)
- How to use streams? HOT 2
- [Bug] Error calling QUIT on backchannel HOT 4
- [Bug] Pooled client not reconnecting after redis server restart HOT 2
- [Bug] fred is slow to compile HOT 7
- [Bug] fred 8.0.0 no longer upgrades to RESP3 correctly if no password is set HOT 1
- [Bug] Incorrect cluster failover with replication HOT 8
- [Bug] Still incorrect cluster failover behavior under high load HOT 14
- Stack usage HOT 2
- SORT or SORT_RO missing HOT 3
- [Bug] - Build error when building with the partial-tracing feature HOT 2
- [Bug]Questions about library selection HOT 1
- [Bug] Cannot return integer type from `exists` HOT 4
- [Bug]When a Redis cluster's primary machine fails and a standby Redis node takes over, it takes too long for Fred to rediscover and connect to the new primary. HOT 3
- add support for Redis Cluster pipeline HOT 6
- [Bug] Using Sentinel to connect to redis, I always get a timeout error HOT 2
- 9.0.1 In sentinel mode with resp3 : ERR: Protocol Error: Cannot start a stream while already inside a stream[Bug] HOT 1
- Error referencing const within util HOT 2
- [Bug] Certain ranges are not accepted in BYSCORE zranges HOT 1
- [Bug] Transactions with WATCH/UNWATCH do not work HOT 2
- [Bug] json_set is not working for string values HOT 1
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 fred.rs.