Skip to content

Conversation

pragnagopa
Copy link
Member

@pragnagopa pragnagopa commented Nov 7, 2018

Potential fix for #83

StreamingMessagePeer() {
this.task = new CompletableFuture<>();
this.threadpool = Executors.newWorkStealingPool();
this.threadpool = Executors.newCachedThreadPool();
Copy link
Member Author

@pragnagopa pragnagopa Nov 7, 2018

Choose a reason for hiding this comment

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

@selvasingh - Changing the Executor helps a little but no significant improvement. RPS went from 60. Let me know if you have any other ideas

Copy link
Member Author

Choose a reason for hiding this comment

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

I have already verified, invocation requests are handled on a new thread.

@pragnagopa pragnagopa changed the title Swtich to newCachedThreadPool [Do not merge]Swtich to newCachedThreadPool Nov 7, 2018
@pragnagopa pragnagopa changed the title [Do not merge]Swtich to newCachedThreadPool Swtich to newCachedThreadPool Nov 8, 2018
@pragnagopa
Copy link
Member Author

Throughput tests are consistently giving slightly higher number. Merging this in.

@pragnagopa pragnagopa merged commit 0de01b9 into Azure:dev Nov 8, 2018
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