You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because Parse ends up running an IO action, we can use mapConcurrently to perform said operations. Unfortunately, this requires a bit of plumbing; I’ve taken two swings at this and whiffed. Now that alacarte syntax is gone, this might be a good move.
The text was updated successfully, but these errors were encountered:
Okay I see what the problem is here: forConcurrently is not a good solution for us: it does a lot of work per-invocation (creating an MVar and calling fork for every item in the provided list). We should do something like set up some concurrent queues.
Now that #614 is taken care of (or will be soon), we need to reexamine our approach to concurrency.
The simplest big win is to change
to
Because
Parse
ends up running anIO
action, we can usemapConcurrently
to perform said operations. Unfortunately, this requires a bit of plumbing; I’ve taken two swings at this and whiffed. Now that alacarte syntax is gone, this might be a good move.The text was updated successfully, but these errors were encountered: