Can threads and fibers be friends? That's what I set out to find out this week:
| GitHub | https://github.com/noteflakes |
| GitHub | https://github.com/noteflakes |
Can threads and fibers be friends? That's what I set out to find out this week:
My OSS report for this week: fibers are the future of Ruby!
More work on UringMachine benchmarks. This validates the work of @ioquatix on the fiber scheduler. We see a marked performance advantage to using Ruby fibers for any I/O-bound workload, including querying PostgreSQL databases.
https://github.com/digital-fabric/uringmachine/blob/main/benchmark/README.md
Just pushed some preliminary benchmarks measuring the performance of UringMachine against stock Ruby I/O, and the results are promising!
https://github.com/digital-fabric/uringmachine/tree/main/benchmark#readme
My OSS report for this week: the fiber scheduler is feature complete, more tests to come, and some new thoughts about Papercraft.
Here's my OSS report for this week: the UringMachine fiber scheduler is taking shape, another Ruby core PR, and some learnings about how Ruby does I/O.
Et tu, iTerm2, et tu? 🫠
Immediately looking in the settings to make sure this scheisse is disabled…
I'm pleased to announce that Extralite version 2.8 has just been released. Extralite is a Ruby gem for working with SQLite databases, with best-in-class performance, support for concurrency and a comprehensive feature set.
New in this release: better query mode names, simplified querying APIs, a new `Database#wal_checkpoint` method for performing manual WAL checkpoints, and improved documentation.
For more information, consult the Extralite repo: https://github.com/digital-fabric/extralite