Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Week 41: Understanding Akka Dispatchers #67

Open
shekhargulati opened this issue Dec 4, 2016 · 4 comments
Open

Week 41: Understanding Akka Dispatchers #67

shekhargulati opened this issue Dec 4, 2016 · 4 comments
Labels

Comments

@shekhargulati
Copy link
Owner

shekhargulati commented Dec 4, 2016

Please provide your feedback by posting a comment against this issue.

@wojtasskorcz
Copy link

Hi! Thanks for the interesting read! Just one question. You wrote:

"You will notice that all 100 started at almost same time. If you run this with default configuration 24(parallelism-factor*parallelism-min) tasks will be processed in parallel."

Wouldn't this 24 come from parallelism-factor*number_of_cores? At least that's how you explained it earlier in the article:

"The number 24 comes from multiplication of number of cores on your machine with parallelism-factor. My machine has 8 cores and default value of parallelism-factor is 3 so we got 24 threads (8x3).
(...)
Let's suppose my machine had only one core then according to the calculation mentioned above I could have got 1x3 i.e. 3 threads but instead we will get 8 threads because that's the minimum number of threads default-dispatcher can have."

@shekhargulati
Copy link
Owner Author

@wojtasskorcz yes you are right. I typed it wrong. I have fixed it. Thanks.

@fadavidos
Copy link

@shekhargulati Great post. It's easy to understand

@batchenoz
Copy link

Great post, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants