Commit Graph

5066 Commits

Author SHA1 Message Date
龟仙老人 f414d72dd5 Rewrite AtomicRangeInteger for higher performance (#2874)
Typical test benchmark for performance improvement. Check PR for more detail.

/**
     * # JMH version: 1.21
     * # VM version: JDK 1.8.0_111, Java HotSpot(TM) 64-Bit Server VM, 25.111-b14
     * # VM invoker: /Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/bin/java
     * # VM options: -Dfile.encoding=UTF-8
     * # Warmup: 3 iterations, 10 s each
     * # Measurement: 5 iterations, 1000 ms each, 1000 calls per op
     * # Timeout: 10 min per iteration
     * # Threads: 1024 threads, ***WARNING: Synchronize iterations are disabled!***
     * # Benchmark mode: Throughput, ops/time
     * # Benchmark: org.apache.skywalking.apm.commons.datacarrier.common.AtomicRangeIntegerTest.testNewGetAndIncrementPerformance
     *
     * # Run progress: 0.00% complete, ETA 00:01:10
     * # Fork: 1 of 1
     * # Warmup Iteration   1: 2078993549.108 ops/s
     * # Warmup Iteration   2: 6408026002.297 ops/s
     * # Warmup Iteration   3: 5455960135.636 ops/s
     * Iteration   1: 165330.972 ops/s
     * Iteration   2: 95420.526 ops/s
     * Iteration   3: 173340.089 ops/s
     * Iteration   4: 94214.669 ops/s
     * Iteration   5: 261606.088 ops/s
     *
     *
     * Result "org.apache.skywalking.apm.commons.datacarrier.common.AtomicRangeIntegerTest.testNewGetAndIncrementPerformance":
     *   157982.469 ±(99.9%) 265443.465 ops/s [Average]
     *   (min, avg, max) = (94214.669, 157982.469, 261606.088), stdev = 68934.825
     *   CI (99.9%): [≈ 0, 423425.934] (assumes normal distribution)
     *
     *
     * # JMH version: 1.21
     * # VM version: JDK 1.8.0_111, Java HotSpot(TM) 64-Bit Server VM, 25.111-b14
     * # VM invoker: /Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/bin/java
     * # VM options: -Dfile.encoding=UTF-8
     * # Warmup: 3 iterations, 10 s each
     * # Measurement: 5 iterations, 1000 ms each, 1000 calls per op
     * # Timeout: 10 min per iteration
     * # Threads: 1024 threads, ***WARNING: Synchronize iterations are disabled!***
     * # Benchmark mode: Throughput, ops/time
     * # Benchmark: org.apache.skywalking.apm.commons.datacarrier.common.AtomicRangeIntegerTest.testOriGetAndIncrementPerformance
     *
     * # Run progress: 50.00% complete, ETA 00:00:43
     * # Fork: 1 of 1
     * # Warmup Iteration   1: 3345520433.355 ops/s
     * # Warmup Iteration   2: 4823749249.799 ops/s
     * # Warmup Iteration   3: 6676209367.819 ops/s
     * Iteration   1: 34885.954 ops/s
     * Iteration   2: 33128.147 ops/s
     * Iteration   3: 31300.865 ops/s
     * Iteration   4: 19188.602 ops/s
     * Iteration   5: 34664.282 ops/s
     *
     *
     * Result "org.apache.skywalking.apm.commons.datacarrier.common.AtomicRangeIntegerTest.testOriGetAndIncrementPerformance":
     *   30633.570 ±(99.9%) 25249.253 ops/s [Average]
     *   (min, avg, max) = (19188.602, 30633.570, 34885.954), stdev = 6557.151
     *   CI (99.9%): [5384.317, 55882.822] (assumes normal distribution)
     *
     *
     * # Run complete. Total time: 00:01:26
     *
     * REMEMBER: The numbers below are just data. To gain reusable insights, you need to follow up on
     * why the numbers are the way they are. Use profilers (see -prof, -lprof), design factorial
     * experiments, perform baseline and negative tests that provide experimental control, make sure
     * the benchmarking environment is safe on JVM/OS/HW level, ask for reviews from the domain experts.
     * Do not assume the numbers tell you what you want them to tell.
     *
     * Benchmark                                                  Mode  Cnt       Score        Error  Units
     * AtomicRangeIntegerTest.testNewGetAndIncrementPerformance  thrpt    5  157982.469 ± 265443.465  ops/s
     * AtomicRangeIntegerTest.testOriGetAndIncrementPerformance  thrpt    5   30633.570 ±  25249.253  ops/s
     */
2019-06-15 13:43:36 +08:00
kezhenxu94 feb545f621 Add missing licenses and remove duplicate plugin management (#2879) 2019-06-15 11:50:29 +08:00
吴晟 Wu Sheng 10b050da22
Add alarm webhook document (#2878)
* Update backend-alarm.md

* Update backend-alarm.md
2019-06-15 00:45:17 +08:00
kezhenxu94 e3e06bb024 Bump up fabric docker plugin version (#2875) 2019-06-14 15:16:09 +08:00
吴晟 Wu Sheng 13303fb51e
Support pxx in service relation. (#2785) 2019-06-14 13:30:06 +08:00
吴晟 Wu Sheng 0103d8ad28
Fix no stream register. (#2873)
* Fix no stream register.

* Make sure list order.

* Refactor codes.

* Fix wrong revert.
2019-06-14 11:31:51 +08:00
吴晟 Wu Sheng 0f9c27d481
Revert SolrJ plugin. (#2871)
* Revert SolrJ plugin.

* Remove an unexpected test case.

* Revert "Remove an unexpected test case."

This reverts commit 359990e18b0c0ae1a6e1005ff985bf237ec05619.

* Clear context.

* Fix a leak.
2019-06-14 09:24:58 +08:00
kezhenxu94 5b6a890592 Adjust pom plugin position and add docs (#2870)
* Adjust pom plugin position and add docs

* Polishing

* Update as requested
2019-06-14 07:21:47 +08:00
tzy1316106836 bc0c25ad55 the static paramater is best to be referenced by the class (#2868)
* fix potential NullPointerException

* Revert "fix potential NullPointerException"

This reverts commit 8393656

* fix potential NullPointerException
the static paramater is best to use the class to reference
2019-06-13 20:23:46 +08:00
吴晟 Wu Sheng c3de8e8b7c
Add FAQ for ElasticSearch server side setting (#2859)
* Create ES-Server-FAQ.md

* Update README.md

* Update ES-Server-FAQ.md
2019-06-13 17:56:00 +08:00
kezhenxu94 f5db90b8bd Integrate Jenkins CI (#2864)
* Test

* Sync

* Update ITNacosConfigurationTest.java

* Trigger CI

* Trigger CI

* Trigger CI

* Trigger CI

* Trigger CI

* Remove unused imports to fix checkstyle

* Remove unused imports to fix checkstyle

* Increase timeout since nacos starts slowlly

* Bump up Oracle JDK version

* Remove OracleJDK due to license

* Add CI-with-IT profile and openjdk9

* Add missing profiles

* Lift failsafe plugin to root

* Update pom.xml

* Remove OPENJDK9

* Try parallel builds and add agent

* Try parallel build and windows

* Try parallel build and windows

* Try parallel build and windows

* Try parallel build

* Try parallel build

* Try parallel build

* Fix indentation

* Trigger CI

* Trigger CI

* Remove Windows stage

* Update mvnw.cmd
2019-06-13 17:06:21 +08:00
彭勇升 pengys 4e63331d35 #2860 (#2861)
Get the document by index name.
2019-06-12 18:56:11 +08:00
吴晟 Wu Sheng dbb8bd8a7f Fix wrong query condition (#2858) 2019-06-12 17:17:15 +08:00
于玉桔 ee7c4180ca Optimize SegmentParseV2::parse code logic (#2828)
* Optimize code logic

* revert

* fix
2019-06-12 12:26:34 +08:00
彭勇升 pengys 1c545a3708 Fixed a time series bug about downsampling setting in processors are different from the setting in receivers. (#2856)
#2851
2019-06-12 08:17:15 +08:00
kezhenxu94 ec731b2ad8 Remove unnecessary docs and config keys (#2845) 2019-06-11 00:20:26 +08:00
吴晟 Wu Sheng c983d85000
Fix miss change of envoy receiver. (#2844) 2019-06-10 16:15:34 +08:00
吴晟 Wu Sheng 2cdbe83f9c
Move zipkin and jaeger span source to disable from metrics. (#2842) 2019-06-09 22:36:52 +08:00
kezhenxu94 f683850b9a Improve plugin performance (#2838)
* Improve plugin performance. fix #2837
2019-06-09 15:19:04 +08:00
kezhenxu94 e05e092677 Remove unstable tests (#2841) 2019-06-09 14:02:01 +08:00
吴晟 Wu Sheng 2197820577
Support exporter runs in increment and total modes (#2840)
* Make exporter interface better.

* Fix review.
2019-06-09 11:32:27 +08:00
小水怪 3831c5eeb5 Remove current RUNTIME_CONTEXT when the lastSpan will be stop (#2827) 2019-06-08 21:07:31 +08:00
kezhenxu94 7f2277091d Provide Nacos dynamic configuration center implementation. fixes #2816 (#2817)
* Provide Nacos dynamic configuration center implementation. fixes #2816

* Add unit tests

* Sync

* Replace pull-mode with watch-mode

* Fix ci

* Unify dependency management

* Add integration tests

* Revert unexpected changes

* Add more test cases

* Revert unexpected changes

* Suppress IDE warning

* Correctify volumes position

* Add license header

* Remove Chinese comments

* Sync

* Sync

* Sync

* Sync

* Revert unexpected changes

* Rebase on refactored code and add missing config to docker

* Fix unit test

* Revert unnecessary changes
2019-06-07 12:01:24 +08:00
kezhenxu94 57aedb8017 Refactor ConfigWatcherRegister to only read interested configs. fixes #2834 (#2835) 2019-06-07 07:32:57 +08:00
Jared Tan a763f8a8bb sync UI submodule. (#2831) 2019-06-06 15:30:57 +08:00
daming 6ae517423c Provide plugin for Solr-7.x(client) (#2730)
* new branch for solrj-plugin

* rollback and add module solrj-plugin

* preparing to pr

* to resolve reviewers' suggestions

* remove unused code

* remove unused code

* remove unused comments

* To avoid NPE

* fix typo

* Change to JRE6

* fix pom.xml merge incorrectly. and java.net.URL instead of Regex

* Using RuntimeContext instead of ThreadLocal

* To reduce unnecessary tags

* add test cases

* fix validation fail

* add solrj-plugin into component-libraries & Supported-list

* to trace all patch to avoid recheck status of span

* remove unnecessary properites

* remove unnecessary tags

* Add the config to document of setup
2019-06-05 22:54:45 +08:00
Xin,Zhang 3217ff1444 Fix the span cannot stop when forward request (#2820) 2019-06-04 17:38:50 +08:00
彭勇升 pengys 1f7125a02e Remove storage annotation. (#2813) 2019-06-04 09:53:50 +08:00
Jared Tan e1195ab173 add time series implementation configuration. (#2815)
* add time series implementation configuration.

* add configuration-api.
2019-06-04 09:17:18 +08:00
吴晟 Wu Sheng 2e846c6078 Dynamic Configuration and Dynamic Configuration Service (#2810)
* Implement the base of config API module.

* Finish configuration module codebases w/o tests, revert some changes.

* Finish mock tests.

* Add new gRPC service for configuration.

* Make gRPC configuration sync provider works.

* Add database slow statement dynamic setting.

* Finish the dynamic configuration service.

* Fix version.
2019-06-03 23:11:52 +08:00
彭勇升 pengys 5036e83343 Good news of an important feature: time series implementation in Elasticsearch storage. (#2808)
* The new feature of Elasticsearch storage with the time series implementation.

* Time bucket util improve.

* Fixed some Gramma error.

* Update ttl.md

Polish English a little.

* Update ttl.md

Add more explicit description of TTL

* Update ttl.md

* Update StorageModuleElasticsearchConfig.java

Set otherMetricsDataTTL = 0 as default, make user more clear.

* Rename the timeSeriesAble to capableOfTimeSeries

* Fixed a test case failure.
2019-06-03 18:46:42 +08:00
li.can 8716bb0dc5 Fix Mysql 6.x plugin (#2803)
* fix NPE

* fix 6.x

* optimize

* add final

* fix ci

* Update apm-sniffer/apm-sdk-plugin/jdbc-commons/src/main/java/org/apache/skywalking/apm/plugin/jdbc/JDBCDriverInterceptor.java

add not null

Co-Authored-By: Xin,Zhang <zhangxin@apache.org>
2019-06-02 20:12:18 +08:00
Zhang Yonglun f803a2ade3 Provide plugin for ShardingSphere (#2699) (#2727)
* merge

* merge

* Provide plugin for ShardingSphere (#2699)

* Provide plugin for ShardingSphere (#2699)

* Provide plugin for ShardingSphere (#2699)

* adjust package name (#2699)

* fix mvnw (#2699)

* revert files access permission from 644 to 755

* change the access permission from 644 to 755

* change files access permission from 644 to 755

* revert all no changes files
2019-06-02 18:59:37 +08:00
karott 9786893a6a Update powered-by.md (#2807) 2019-06-02 11:32:25 +08:00
Jared Tan 2250377934 fix docker-entrypoint.sh in consul cluster mode. (#2805) 2019-06-01 23:53:58 +08:00
karott 8c0d44a110 Add Xinyebang.com to powered-by page. (#2804)
* Update powered-by.md

* Update powered-by.md

Change order.
2019-06-01 14:17:50 +08:00
于玉桔 fb713775ec Fix lettuce AsyncCommand::onComplete bug (#2796)
* fix lettuce async bug

* fix ci issue
2019-05-31 17:21:17 +08:00
彭勇升 pengys 0a696813c8 Time bucket util improve. (#2795) 2019-05-31 15:02:49 +08:00
吴晟 Wu Sheng 50ecc53c41
Update powered-by.md (#2794) 2019-05-31 14:29:21 +08:00
彭勇升 pengys de46ee62d3
Make the step just to be the graphql java object. (#2792)
* Make the step just to be the graphql java object.

* Mistake.
2019-05-31 13:16:59 +08:00
caoyixiong c0074a9f4b
Merge pull request #2791 from mliu111477/patch-2
Add lagou.com user case to powered-by.md
2019-05-31 12:12:49 +08:00
mliu111477 57427f2b05
Update powered-by.md
增加拉勾的Use case
2019-05-31 11:35:22 +08:00
Gao Hongtao 4f89ea2704 Filtering pods not in 'Running' phase (#2771)
* Filtering pods not in 'Running' phase

* Amending checkstyle errors
2019-05-28 16:05:36 +08:00
sk163 bcdf1c4bd5 fix apm-agent-core maven pom file shade-plugin define bug (#2769) (#2770)
* fix apm-agent-core maven pom file shade-plugin define bug (#2769)
2019-05-28 15:04:38 +08:00
zhangwei bfd46151ad Replace add with addAll, reduce the invoke time a little. (#2766) 2019-05-27 23:08:11 +08:00
oneclouds 83ce7cc4cb Add sijibao.com to powered-by page (#2762)
* Update powered-by.md

Change order
2019-05-27 17:11:32 +08:00
zhangwei e0b7306e5d Determine EXTEND_SERVICE before invoker createTraceContext (#2755) 2019-05-26 00:14:21 +08:00
于玉桔 e0827e30ea Unified toPath method (#2754) 2019-05-25 13:27:27 +08:00
FuCheng,Yan b625d8a170 Update skywalking-ui version (#2753) 2019-05-25 08:44:26 +08:00
吴晟 Wu Sheng bb4c8c0475
Update Supported-list.md (#2751) 2019-05-24 23:18:03 +08:00