Skip to content

Commit

Permalink
Update release notes.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Nov 27, 2024
1 parent a953095 commit a4c54b0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions releases.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Releases

## v2.21.1

### Worker Pool

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.

The Async scheduler optionally supports this feature using a worker pool, by using the following environment variable:

```
ASYNC_SCHEDULER_DEFAULT_WORKER_POOL=true
```

This will cause the scheduler to use a worker pool for general blocking operations, rather than blocking the event loop.

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.

## v2.20.0

### Traces and Metrics Providers
Expand Down

0 comments on commit a4c54b0

Please sign in to comment.