Comments (6)
I have been running the reproduction using the PR linked above and memory is stable for me.
from mini-redis.
If you modify Tokio to print when Arc<WaitNode>
is created and dropped inside broadcast
, you will see that it creates one for every connection, but none of them are dropped until the application closes.
from mini-redis.
Thanks for the report. I will try to look later today. My guess, w/o looking, is that it is a similar problem as the old semaphore had. If that is a case, it will need a similar rework as tokio-rs/tokio#2325
from mini-redis.
@carllerche do you think broadcast
can easily be modified to use the semaphore?
from mini-redis.
Open PR here: tokio-rs/tokio#2509
from mini-redis.
Fixed w/ the tokio
release.
from mini-redis.
Related Issues (20)
- The `chat` example is empty HOT 2
- Potential bug in read_frame if we receive 2 frames ready in the buffer? HOT 1
- Benches for mini-redis HOT 2
- why is `frame` serialized to string should be removed the first element?
- Using BTreeSet instead of BTreemap HOT 1
- The `Frame::Integer` should be signed 64-bit integer HOT 2
- panic in VSCode terminal HOT 1
- Fails when install mini-redis with the latest rustc version HOT 1
- theoretically bug in db.set method? HOT 2
- Why itparsing is set to fail when frame is not array?
- dtrace user stacks not generating HOT 1
- Release
- failed to load macro HOT 1
- how to config memory to be used? HOT 3
- Confusing use of `notify` HOT 4
- updates? HOT 6
- Question: `shutdown_complete_rx` never used in the `Listner` HOT 2
- Fails with Latest Rust HOT 1
- bug in implementation of display for frame
- Add (optional) OpenTelemetry + Xray integration 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 mini-redis.