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

Using RPC Async Request #2

Open
shroffk opened this issue May 26, 2017 · 0 comments
Open

Using RPC Async Request #2

shroffk opened this issue May 26, 2017 · 0 comments

Comments

@shroffk
Copy link
Contributor

shroffk commented May 26, 2017

The RPCServiceAsync appears to be a more fitting choice for the ChannelFinder service.

Using the callback mechanism to notify the clinet when the elastic query and the NTTable is complete results in the Service being able to handle a lot more clients more effeciently.

Following is some preliminary numbers of the AsyncService IT tests run against both the old service implementation and the new async service.

Using a pool of 50, the IT creates a new RPC client, executes a query waits for the results and then validates it, and then closes the client.

The times are reported in ms

50
ChannelFinderServiceAsync 50 query time: 1559
ChannelFinderService 50 query time: 1319

100
ChannelFinderServiceAsync 100 query time: 2120
ChannelFinderService 100 query time: 2612

1000
ChannelFinderServiceAsync 1000 query time: 14364
ChannelFinderService 1000 query time: 26837
ChannelFinderServiceAsync 1000 query time: 13970
ChannelFinderService 1000 query time: 26542
ChannelFinderServiceAsync 1000 query time: 15414
ChannelFinderService 1000 query time: 28390

2000
ChannelFinderServiceAsync 2000 query time: 33224
ChannelFinderService 2000 query time: 58124

4000
ChannelFinderServiceAsync 4000 query time: 52421
ChannelFinderService 4000 query time: 104256

10000
ChannelFinderServiceAsync 10000 query time: 118873
ChannelFinderService 10000 query time: 247866
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

No branches or pull requests

1 participant