Skip to content
New issue

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

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

Already on GitHub? # to your account

Adjust path tracing of sharding-opentracing #1172

Closed
15 tasks done
tuohai666 opened this issue Aug 23, 2018 · 4 comments
Closed
15 tasks done

Adjust path tracing of sharding-opentracing #1172

tuohai666 opened this issue Aug 23, 2018 · 4 comments
Assignees

Comments

@tuohai666
Copy link
Member

tuohai666 commented Aug 23, 2018

@tuohai666
Copy link
Member Author

Topology
1b

Tracing
1a

Detail
1c

@tuohai666
Copy link
Member Author

Display jdbc url in peer tag.
00

01

02

terrymanu added a commit that referenced this issue Sep 11, 2018
Adjust path tracing of sharding-opentracing #1172
terrymanu added a commit that referenced this issue Sep 14, 2018
terrymanu added a commit that referenced this issue Sep 17, 2018
 #1172, make isParallel always true
terrymanu added a commit that referenced this issue Sep 18, 2018
terrymanu added a commit that referenced this issue Sep 20, 2018
@terrymanu terrymanu self-assigned this Sep 23, 2018
@terrymanu terrymanu reopened this Sep 23, 2018
@terrymanu
Copy link
Member

terrymanu commented Sep 23, 2018

Guava event bus's performance is really low, I just call directly instead of event bus, the performance is fast 50%.
So I just use SPI to decouple, do not use event bus on online query.

Use guava event bus:

Guava event bus (nanos) SPI (nanos) Get connection(Hikari) (nanos)
814489 63190 345827

event bus is slow than get connection!

@terrymanu
Copy link
Member

full time spend for get 2 connection and post a event:

use guava event bus:
post evert--------: ds_0---814489
get connection---: ds_0---452882
get connection---: ds_0---345827
total-------------: ds_0---2847346

post evert-----------: ds_1---792603
get connection------: ds_1---459552
get connection------: ds_1---303029
total---------------- :ds_1---2819832

use SPI:
post evert-----------: ds_0---63190
get connection------:ds_0---618804
get connection------:ds_0---469503
total----------------:ds_0---1326277

post evert-----------:ds_1---69040
get connection------:ds_1---574488
get connection------:ds_1---562666
total-----------------:ds_1---1349838

terrymanu added a commit that referenced this issue Sep 25, 2018
terrymanu added a commit that referenced this issue Sep 25, 2018
terrymanu added a commit that referenced this issue Sep 25, 2018
terrymanu added a commit that referenced this issue Sep 25, 2018
terrymanu added a commit that referenced this issue Sep 26, 2018
terrymanu added a commit that referenced this issue Sep 26, 2018
terrymanu added a commit that referenced this issue Sep 26, 2018
 #1172, start SkyWalking configurable
terrymanu added a commit that referenced this issue Sep 26, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants