8000 Update release notes. · socketry/async@a4c54b0 · GitHub
[go: up one dir, main page]

Skip to content

Commit a4c54b0

Browse files
committed
Update release notes.
1 parent a953095 commit a4c54b0

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

releases.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Releases
22

3+
## v2.21.1
4+
5+
### Worker Pool
6+
7+
Ruby 3.4 will feature a new fiber scheduler hook, `blocking_operation_wait` which allows the scheduler to redirect the work given to `rb_nogvl` to a worker pool.
8+
9+
The Async scheduler optionally supports this feature using a worker pool, by using the following environment variable:
10+
11+
```
12+
ASYNC_SCHEDULER_DEFAULT_WORKER_POOL=true
13+
```
14+
15+
This will cause the scheduler to use a worker pool for general blocking operations, rather than blocking the event loop.
16+
17+
It should be noted that this isn't a net win, as the overhead of using a worker pool can be significant compared to the `rb_nogvl` work. As such, it is recommended to benchmark your application with and without the worker pool to determine if it is beneficial.
18+
319
## v2.20.0
420

521
### Traces and Metrics Providers

0 commit comments

Comments
 (0)
0