skywalking-java/docs
吴晟 Wu Sheng de975c7e2b
Remove synchronous persistence mechanism in API level and ElasticSearch implementation (#7293)
* Performance: remove the synchronous persistence mechanism from batch ElasticSearch DAO. Because the current enhanced persistent session mechanism, don't require the data queryable immediately after the insert and update anymore.
* Performance: share `flushInterval` setting for both metrics and record data, due to `synchronous persistence mechanism` removed. Record flush interval used to be hardcoded as 10s.
* Remove `syncBulkActions` in ElasticSearch storage option.
* Increase the default bulkActions(env, SW_STORAGE_ES_BULK_ACTIONS) to 5000(from 1000).
* Increase the flush interval of ElasticSearch indices to 15s(from 10s)

Add these 2 references. According to these, **(same _index, _type and _id) in same bulk will be in order**
1. https://github.com/elastic/elasticsearch/issues/50199
2. https://discuss.elastic.co/t/order-of--bulk-request-operations/98124

Notice, the order of different bulks is not guaranteed by the ElasticSearch cluster. We are going to have the risk of dirty write. But consider we set over 20s period between flush, and index flush period is 10, we should be safe.

Recommend 5000 bulk size and 15s flush interval only. The persistent period has been set to 25s.
2021-07-14 17:19:49 +08:00
..
en Remove synchronous persistence mechanism in API level and ElasticSearch implementation (#7293) 2021-07-14 17:19:49 +08:00
README.md New doc menu for the website. (#6469) 2021-02-28 11:17:28 +08:00
menu.yml Reorganize document menu. (#7137) 2021-06-20 14:13:46 +08:00

README.md

Welcome

This is the official documentation of SkyWalking 8. Welcome to the SkyWalking community!

Here you can learn all you need to know about SkyWalkings architecture, understand how to deploy and use SkyWalking, and contribute to the project based on SkyWalking's contributing guidelines.

NOTE: SkyWalking 8 uses brand new tracing APIs which are incompatible with all previous releases.

  • Concepts and Designs. You'll find the core logic behind SkyWalking. You may start from here if you want to understand what is going on under our cool features and visualization.

  • Setup. A guide to installing SkyWalking for different use cases. It is an observability platform that supports multiple observability modes.

  • UI Introduction. An introduction to the UI components and their features.

  • Contributing Guides. If you are a PMC member, a committer, or a new contributor, learn how to start contributing with these guides!

  • Protocols. The protocols show how agents/probes and the backend communicate with one another. Anyone interested in uplink telemetry data should definitely read this.

  • FAQs. A manifest of known issues with setup and secondary developments processes. Should you encounter any problems, check here first.

You might also find these links interesting:

We're always looking for help to improve our documentation and codes, so please dont hesitate to file an issue if you see any problems. Or better yet, directly contribute by submitting a pull request to help us get better!