4 ms·
I agree. Also, it is hard to do things in parallel (or in a separate thread), e.g. make two remote calls in parallel, wait for them to complete and aggregate th
by rockyj 4y ago
I agree. Also, it is hard to do things in parallel (or in a separate thread), e.g. make two remote calls in parallel, wait for them to complete and aggregate the results. Trivial to do this is Node.js or JVM not so much with Ruby.
- viraptor 4y agoNew activerecord allows async queries which is pretty exciting I have to say. https://pawelurbanek.com/rails-load-async https://pawelurbanek.com/rails-load-async
- weatherlite 4y agoTrue but the VM itself is non blocking on IO so it's not such a huge problem. If u really have to do it I think the new async gem might become standard at some point but I'm speculating.