Introduction to Concurrency Models with Ruby. Part I
Running multiple processes is not actually about concurrency, it’s about parallelism. Although parallelism and concurrency are often confused, they are different things. I like this simple analogy:Concurrency: having a person juggle many balls with only 1 hand. Regardless of how it seems, the person is only catching / throwing one ball at a time.Parallelism: is having multiple people juggle their own set of balls simultaneously.
#ruby #rails #rubyonrails #bosnia #programming #tutorials #news