socketry/async
View on GitHub ↗ ★ 2,461 Ruby
An awesome asynchronous event-driven reactor for Ruby.
15 mentions on Hacker News by 11 people: 2 stories, 13 comments · first 2018-05-07 · latest 2025-02-28
20082026
-
…not http/2 fault, but rather ruby for not having a better concurrency story, like say golang. [0]: https://github.com/socketry/async [1]: https://github.com/socketry/falcon
comment by nitely · 2025-02-28 · in There isn't much point to HTTP/2 past the load balancer -
https://github.com/socketry/async uses coroutines and I think in general it’s been a great model with very few downsides in practice.
comment by ioquatix · 2023-09-02 · in Philosophy of Coroutines -
Ruby is really good at concurrency now with non-blocking fibers. https://github.com/socketry/async makes it really easy to use.
comment by quechimba · 2023-06-15 · in Rich Kilmer on the Power of Ruby (2007) -
▲ 6
Show HN: Goru, an experimental, Go-inspired concurrency library for Rubystory by bryanp · 2023-04-03 · 2 comments
-
It's adopted by Ruby: < https://github.com/socketry/io-event > which is used by < https://github.com/socketry/async > which is part of the Ruby 3+ Fiber Scheduler for light weight concurrency. It shows promising performance.
comment by ioquatix · 2022-10-16 · in Efficient IO in Linux with io_uring [pdf] (2019) -
i think this announcement https://brunosutic.com/blog/async-ruby & the associated async libraries ( https://github.com/socketry/async ) do a much better job of showing off the potential for the ruby 3.1+ fiber scheduler. Async gem is…
comment by dalyons · 2022-06-23 · in Ruby 3 adds Scheduler Interface for Fibers -
…they're pretty experimental currently. 1. https://github.com/ruby-concurrency/concurrent-ruby 2. https://github.com/socketry/async
comment by Lio · 2022-06-15 · in Ask HN: Any efforts to remove the GIL for Ruby? -
…lazy iteration. Recent efforts have built on fibers to provide concurrency with non-blocking I/O: https://github.com/socketry/async https://github.com/digital-fabric/polyphony Disclaimer: I'm the author of Polyphony.
comment by ciconia · 2021-06-18 · in A Foray for Fun into Windows Fibers -
Ruby does via libraries ( https://github.com/socketry/async for instance). Which is my point. Pick a language that makes it easy. Even then, it's a bit misleading; make it so concurrency, in general, is easy and efficient. Async is…
comment by lostcolony · 2020-11-20 · in Optimizing Your Web App 100x Is Like Adding 99 Servers -
…is doing tons of great work for Ruby at the moment. You'll want to check out, for instance: - https://github.com/socketry/async "An awesome asynchronous event-driven reactor for Ruby" - https://github.com/socketry/falcon "A…
comment by thibaut_barrere · 2020-04-17 · in Ruby Concurrency Final Report -
▲ 1
Async, a composable asynchronous I/O framework for Rubystory by faebi · 2019-10-12 · 0 comments
-
I wrote a full stack implementation for Ruby: https://github.com/socketry/async Come and chat here: https://gitter.im/socketry/async TruffleRuby folks are trying to support us using native fibers in the JVM, but I'm not sure when that will…
comment by ioquatix · 2019-02-27 · in The Unscalable, Deadlock-Prone, Thread Pool -
I love stuff like this thanks. It's really interesting to see that Falcon is based on the https://github.com/socketry/async library. I've previously been looking at https://github.com/ruby-concurrency/concurrent-ruby based on its use in…
comment by Lio · 2018-10-22 · in Falcon: A high-performance web server for Ruby, supporting HTTP/2 and HTTPS -
…rocha/async/blob/2edef4d6990259cc60cc30... I implemented almost exactly the same model for Ruby here: https://github.com/socketry/async and if you are interested in how it works, see these projects which build on it:…
comment by ioquatix · 2018-05-07 · in The Various Kinds of IO – Blocking, Non-Blocking, Multiplexed and Async