Limiting the number of workers. #630
Replies: 1 comment 3 replies
-
I'm not sure I'm following. You have "future" code inside a package of yours, and there's another package, whose maintainer asks you to reconfigure your package. Can you share more details, e.g. your package, or at least the piece of code that is relevant? Also, as a wild guess of what you might be doing: The motto and design philosophy is that the developer choose what code to parallelize, whereas the end-user choose how and where to parallelize. In other words, it's always best to leave it to the end-user to set the |
Beta Was this translation helpful? Give feedback.
-
Hey future community. A bit of a random question, but recently I was contacted by a package maintainer to lessen the number of parallelized server requests within a package I'm working on due to possibly crashing the server when requests are too high. They suggested hard coding it into the functions so that 10 or less workers/cores would be used. My question is two-fold; 1). has anyone ever done this with the future framework, 2.) how could this be done while still following the practices recommended by this vignette? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions