laglangyue commented on code in PR #1192:
URL: https://github.com/apache/incubator-pekko/pull/1192#discussion_r1525674492
##########
serialization-jackson/src/main/resources/reference.conf:
##########
@@ -35,6 +35,17 @@ pekko.serialization.jackson {
migrations {
}
+ # Controls the Buffer Recycler Pool implementation used by Jackson.
+ #
https://javadoc.io/static/com.fasterxml.jackson.core/jackson-core/2.16.2/com/fasterxml/jackson/core/util/JsonRecyclerPools.html
+ # The default is "thread-local" which is the same as the default in Jackson
2.16.
+ buffer-recycler {
+ # the supported values are "thread-local", "lock-free",
"shared-lock-free", "concurrent-deque",
+ # "shared-concurrent-deque", "bounded"
+ pool-instance = "thread-local"
+ # the maximum size of bounded recycler pools - must be >=1 or an
IllegalArgumentException will occur
+ # only applies to pool-instance type "bounded"
+ bounded-pool-size = 100
Review Comment:
` bounded-pool-size = 100` , is it a recommended value in prod environments ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]