| Website | https://www.codeotaku.com |
| Github | https://github.com/ioquatix |
| Location | New Zealand |
| Website | https://www.codeotaku.com |
| Github | https://github.com/ioquatix |
| Location | New Zealand |
A concurrency "mini" in my Ruby concurrency series.
It highlights how to maintain safe, request-local state using the Fiber storage API.
This is particularly useful for Fiber-based servers like Falcon. Thanks
@ioquatix
for the suggestion, and review!
https://jpcamara.com/2024/06/27/consistent-requestlocal-state.html
👋🏼 This is a series on concurrency, parallelism and asynchronous programming in Ruby. It’s a deep dive, so it’s divided into 10 main parts: Your Ruby programs are always multi-threaded: Part 1 Your Ruby programs are always multi-threaded: Part 2 Consistent, request-local state Ruby methods are colorless Concurrent, colorless Ruby: Part 1, Threads Concurrent, colorless Ruby: Part 2, Fiber and its MaNy friends Parallel Ruby: Processes, Ractors and alternative runtimes Streaming Ruby: Scaling concurrency Abstracted, concurrent Ruby Closing thoughts, kicking the tires and tangents How I dive into CRuby concurrency You’re reading “Consistent, request-local state”.
TBH, I've personally never really liked or trusted the current health minister. Even before today's covid decision.
Something about her set off the same gut reaction warning flags that I get when examining systems that eventually turn out to have a bunch of bad defects...
(Turns out this same sense has so far also held quite well when reviewing job applicant CV's by and large...)
