👩💻 Join our community of thousands of amazing developers!
In my previous post I was able to simplify a lot of the original code through the use of Flow. But the downside is that the running time actually increased a lot. José Valim kindly stepped in and posted a valuable comment, which I will paste here: Have you tried reducing the @max_demand instead? @max_demand is how much data you exchange between stages. If you set it to 60, it means you are sending 60 items to one stage, 60 items to the other and so on. That gives you poor balancing for small col...