pjfanning commented on code in PR #1192:
URL: https://github.com/apache/incubator-pekko/pull/1192#discussion_r1525889946
##########
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"
Review Comment:
could you read https://github.com/FasterXML/jackson-module-scala/issues/672 ?
until Jackson has a sensible default, we will need to stick with the
thread-local
I am a committer on the Jackson project. I know quite a bit about Jackson
code.
Virtual Thread users would probably be best off using the `sharedLockFree`
pool. But those users can override the config by using `application.conf`.
--
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]