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

feat(stream-client): perf and optimize #70

Merged
merged 3 commits into from
Sep 7, 2023
Merged

feat(stream-client): perf and optimize #70

merged 3 commits into from
Sep 7, 2023

Conversation

superhx
Copy link
Collaborator

@superhx superhx commented Sep 7, 2023

  • Change buffer to direct.
  • Add S3Storage cache limit protection.
  • Add object data block flag(support compressed in future).

- change buffer to direct
- add S3Storage cache limit protection
- add object data block flag(support compressed in future)

Signed-off-by: Robin Han <[email protected]>
@@ -255,13 +269,25 @@ public CompletableFuture<Void> close() {
if (closeCf != null) {
return closeCf;
}
System.out.println("start await close: " + (System.nanoTime() - start) / 1000 / 1000);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why system print? how about print it to log?

@TheR1sing3un TheR1sing3un merged commit f262b29 into develop Sep 7, 2023
@TheR1sing3un TheR1sing3un deleted the perf branch September 7, 2023 06:13
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.

2 participants