File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -480,9 +480,11 @@ used with SQS FIFO. In that case, an `UnsupportedOperationException` is thrown.
480
480
481
481
!!! info
482
482
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.
483
+ While it is possible to increase the number of threads using Java options or custom thread pools,
484
+ in most cases the defaults work well, and changing them is more likely to decrease performance
485
+ (see [ here] ( https://www.baeldung.com/java-when-to-use-parallel-stream#fork-join-framework )
486
+ and [ here] ( https://dzone.com/articles/be-aware-of-forkjoinpoolcommonpool ) ).
487
+ In situations where this may be useful - such as performing IO-bound work in parallel - make sure to measure before and after!
486
488
487
489
488
490
=== "Example with SQS"
You can’t perform that action at this time.
0 commit comments