Skip to content

0.3.5

Compare
Choose a tag to compare
@adamgfraser adamgfraser released this 13 Feb 19:55
· 49 commits to series/2.x since this release
dba288a

This release implements support for bounded parallelism, which can be significantly more efficient than unbounded parallelism.

You can use ZQuery.withParallelism to specify the maximum number of fibers for concurrent operations. So you can do ZQuery.foreachPar(queries)(f).withParallelism(n) to run a collection of queries with bounded parallelism. This is implemented in terms of ZIO's compositional parallelism so you can also control parallelism at a higher level of your application with the ZIO.withParallism operators.

As always thank you for your support!