Skip to content

Commit c35a87a

Browse files
committed
update doc
1 parent 1e55a9b commit c35a87a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/utilities/batch.md

+3
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,9 @@ used with SQS FIFO. In that case, an `UnsupportedOperationException` is thrown.
480480

481481
!!! info
482482
To get more threads available (more vCPUs), you need to increase the amount of memory allocated to your Lambda function.
483+
While it is technically possible to increase the number of threads using Java options or custom thread pools, it can
484+
decrease performance when miss-used (see [here](https://www.baeldung.com/java-when-to-use-parallel-stream#fork-join-framework)
485+
and [here](https://dzone.com/articles/be-aware-of-forkjoinpoolcommonpool) for more information) and we don't recommend it.
483486

484487

485488
=== "Example with SQS"

0 commit comments

Comments
 (0)