Matheus Cumpian

Joined

4,650 Experience
46 Lessons Completed
0 Questions Solved

Activity

Posted in Help with concurrency

Hi everyone, how’s it going? I’m a Go developer transitioning to Ruby due to a job change. Typically, I solve various problems in web apps using Go’s lightweight threads (goroutines). For example, if I have two operations that involve I/O, I usually launch them in goroutines and wait for their responses. In short, there are countless situations where I use concurrency to tackle different types of problems. I’ve been studying a bit and saw that there are several ways to handle concurrency in Ruby, including a well-known library. However, I would like to know if there’s a “typical” way to handle concurrency within Rails. How do you usually deal with this?