Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增大writeBufferSize大小,减少读取和写入的循环次数,提高writeToBIO速度 #142

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

aDreamyWind
Copy link

我使用的贵方的esdk-obs-java,版本为3.23.9。使用过程中发现超过50M的文件上传就需要20-50s不等。经过排查发现是com.obs.services.internal.RepeatableRequestEntity 中的writeToBIO(BufferedSink out)方法执行时间过长导致的整体速度慢。为提高整体响应时间,我对writeBufferSize的大小进行了调整,望审批。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant