-
Before getting into the question, I am assuming everyone knows the difference between the two and here is an article just for context: https://workingwithruby.com/wwrt/concurrent_vs_parallel/ Now when it comes to sidekiq, let us assume I have 2 kinds of applications: Now, both these applications are using Sidekiq for scheduling and executing background jobs.
In all cases we know for a fact that the "threads" will be executed concurrently but assume I have 4 Cores in my CPU
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
In JRuby they will execute in parallel. In MRI they will execute concurrently. |
Beta Was this translation helpful? Give feedback.
In JRuby they will execute in parallel. In MRI they will execute concurrently.