Viewing profile — ioquatix
ioquatix
HN member- Joined
- Fri, Oct 02, 2009, 12:10 PM UTC
- HN karma
- 1,352
- Public activity
- 504 items
- HN profile
- View on Hacker News ↗
About ioquatix
Recent public activity
- story
-
comment
Comment #41784403
Have you actually benchmarked this and published the benchmarks somewhere?
-
comment
Comment #37357711
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
Comment #36292886
Sounds like a useful feature to me.
-
comment
Comment #34688996
"All Programming is about State". All code is state. All state is code. It's turtles all the way down.
-
comment
Comment #33222367
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 conc…
-
comment
Comment #29087338
The fiber scheduler also hooks into the `Timeout` module to provide safe(r) timeouts using the event loop.
-
comment
Comment #29052274
Every task is a promise you can wait on for the result. Concurrent fan out is trivial.
-
comment
Comment #29052263
That's pretty accurate.
-
comment
Comment #29051756
The gem namespace was transferred to me some time around 2017.
-
comment
Comment #29051742
ActiveRecord does work but it’s hugely limited because they have explicit per-thread resource pools which we can’t get around very easily.
-
comment
Comment #28362239
> When designing an API in Rust which performs IO, you have to make a decision whether you want it to be synchronous, asynchronous, or both. Why must that be true? Why can't you wr…
-
comment
Comment #27440500
So what are we going to do about it?
-
comment
Comment #27349582
Extinction :(
-
comment
Comment #27252997
Nope, they are totally different. However, the DB gem is an interface/driver similar to PHP's PDO, while AR is a set of drivers, interfaces and high level ORM interfaces. In theory…
-
comment
Comment #27242007
The fiber scheduler solves this as concurrent execution is now built into the core of Ruby 3.
-
comment
Comment #27242002
Also, it turns out the `pg` is also partially non-blocking. But AR may need to improve their connection pool implementation.
-
comment
Comment #27239801
Non-blocking Postgres https://github.com/socketry/db-postgres Non-blocking MariaDB https://github.com/socketry/db-mariadb
-
comment
Comment #26756656
Yes, it was. It was originally a front end and back end (query server) for CouchDB. But CouchDB 2 really went in a different direction to what I expected with query servers so I ga…
-
comment
Comment #26704666
For the lolz: https://github.com/ioquatix/relaxo
-
comment
Comment #26097428
This problem is being addressed in Ruby 3.
-
comment
Comment #25577318
Ruby FFI has been experimenting with provided support for kicking external functions to background threads with a single keyword argument.
-
comment
Comment #25576612
https://github.com/socketry/async-pool
-
comment
Comment #25576506
We can do the same model for Ruby (preemption of event driven fibers) and may choose to do so in the future. We are just taking one step at a time.
-
comment
Comment #25576487
Yes, you run one scheduler per core.