How to Make WWWow with
Jamstack / Headless
A free guide!

Post image

Multiprocessing vs Multithreading in Ruby: Which is Better?

Parallel computing is a cure for performance issues. It allows to do several things at once, which sounds great in the context of background jobs. Inspired by Python’s multiprocessing module I began to think about the parallelism in Ruby. Of course, there are several ways to get closer, but in this post I’ll try to focus on the `Process` module. But before we start, I recommend that you quickly remind the differences between a process and a thread.
read more