You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fury.apache.org by "theigl (via GitHub)" <gi...@apache.org> on 2024/12/01 14:11:23 UTC

[PR] feat(java): configurable buffer size limit [fury]

theigl opened a new pull request, #1963:
URL: https://github.com/apache/fury/pull/1963

   ## What does this PR do?
   
   This PR introduces a new configuration option `bufferSizeLimitBytes` that replaces the hard-coded default of 128kb.
   
   ## Related issues
   
   #1950
   
   ## Does this PR introduce any user-facing change?
   
   The PR introduces a new configuration option `bufferSizeLimitBytes`.
   
   - [x] Does this PR introduce any public API change?
   - [ ] Does this PR introduce any binary protocol compatibility change?
   
   ## Discussion
   
   This PR solves my problem, but I'm not sure if it is the right way to move forward. This is quite a low-level configuration option, but a potentially very important one. Every user whose average payload size is >=128kb, will need to increase this value for maximum performance. Maybe the default limit should be increased to something less conservative like 1MB, so fewer users will need to adjust this setting?


-- 
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: commits-unsubscribe@fury.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fury.apache.org
For additional commands, e-mail: commits-help@fury.apache.org


Re: [PR] feat(java): configurable buffer size limit [fury]

Posted by "chaokunyang (via GitHub)" <gi...@apache.org>.
chaokunyang merged PR #1963:
URL: https://github.com/apache/fury/pull/1963


-- 
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: commits-unsubscribe@fury.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fury.apache.org
For additional commands, e-mail: commits-help@fury.apache.org


Re: [PR] feat(java): configurable buffer size limit [fury]

Posted by "chaokunyang (via GitHub)" <gi...@apache.org>.
chaokunyang commented on PR #1963:
URL: https://github.com/apache/fury/pull/1963#issuecomment-2519751776

   I think `bufferSizeLimitBytes` is OK, if we adjust the default value to bigger, fury will take up many memory. For example, if we have a thound of Fury instance, and every fury instance takes up 1M memory, Fury will take up 1G memory, which may be unexpected.


-- 
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: commits-unsubscribe@fury.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fury.apache.org
For additional commands, e-mail: commits-help@fury.apache.org