Comments (1)
That test seem wrong. How can any onNext
happen at the level of the next2.get()
assertion if the allocator delays emission of the resource by 10 minutes??
Note that currently one limitation of the pool is that once an allocation is triggered, is won't receive cancellation signals.
In the drain loop it is also eagerly connected with a Borrower
, which is the Subscription
that can be cancelled here.
So cancelling an acquire Mono would effectively still let the allocator run its full course, and then the resource would get released()
upon reaching the Borrower
. That does trigger the drain()
loop so if there is another pending borrower, the resource is already available.
from reactor-pool.
Related Issues (20)
- maxPending limit is enforced with some de-facto leniency under heavy load HOT 4
- Possible pool resource release bug HOT 11
- Suppress CommonPoolTest#pendingLimitAsync(Function) onErrorDropped logging
- PoolMetrics.acquiredSize() is incremented too early HOT 1
- InstrumentedPool: better insights into pool inactivity HOT 1
- Constantly keeping 10 idle connections HOT 16
- Remove outdated issue template and Contributing.md
- Wrong pool metrics when invalidating an idle resource HOT 4
- Quiet period & timeout wait for waiting requests and active connections HOT 4
- Performance issue in SimpleDequePool class
- Soft eviction for in-use connections
- when I use spring cloud gataway,I find reactor.netty.internal.shaded.reactor.pool.AbstractPool.Borrower#request use a lot of cpu HOT 1
- Provide Micrometer PoolMetricsRecorder adapter HOT 3
- Add support to pool to do scheduled connection validation HOT 11
- Problems when warmup procedure and database query procedure running in parallel.
- `PoolMetrics.allocatedSize` reports a different allocation count when the allocator uses threads HOT 4
- Incorrect handling of allocator errors during "warmup" in SimpleDequePool HOT 1
- InstrumentedPool.PoolMetrics isInactiveForMoreThan mixes time units HOT 3
- Warmup procedure fails if warmups were found HOT 2
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 reactor-pool.