![]() So you’re really getting concurrency and architectural benefits in how you break up your program. ![]() It has channels (queues) to convey values from one "subprocess" (go block) to another. It’s better for big chunky tasks (go fetch a bunch of data in the background).Ĭore.async is primarily used to organize the subsystems or internal structure of your application. ![]() Anything described as "embarrassingly parallel".įutures are best for pushing work onto a background thread and picking it up later (or for doing I/O waits in parallel). Generally it’s best when you have thousands of small data items to compute over and many cores to do the work. Reducers are best for fine-grained data parallelism when computing a transformation over existing in-memory data (in a map or vector).
0 Comments
Leave a Reply. |