-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MySQL performance and connectivity improvements
We have identified several improvements for Zipkin deployments that using a MySQL database for storage, * Automatic reconnect for dropped connections so that the collector and query services do not need to be restarted * Automatic retry for transient/recoverable exceptions so that web app users and clients sending traces to the collector service are not affected if seamless recovery is possible * Proper back-pressure for maintaining stability under heavy load conditions instead of unbounded resource (Java heap, native threads) growth * Database connection pooling for significantly improved collector service performance under heavy load conditions * Prevent constraint violation errors if duplicate traces are sent * Document recommended indexes for optimal performance for MySQL deployments * Query service performance improved significantly for getServiceNames, getSpanNames, getTraceIdsByName, and getTraceIdsByAnnotation - includes both updated SQL and table schema additions * Add timers for all SQL executions that can be viewed using the admin API Signed-off-by: Adrian Cole <[email protected]> RB_ID=710632 TBR=true
- Loading branch information
Andrew Olson
authored and
Adrian Cole
committed
Jul 4, 2015
1 parent
6f478db
commit 2f5f5f5
Showing
10 changed files
with
481 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.