1. 15 7月, 2021 4 次提交
  2. 14 7月, 2021 2 次提交
    • F
      feat: update e2e for client-js (#7297) · ff7c8fa8
      Fine0830 提交于
      ff7c8fa8
    • wu-sheng's avatar
      Remove synchronous persistence mechanism in API level and ElasticSearch implementation (#7293) · de975c7e
      wu-sheng 提交于
      * 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.
      de975c7e
  3. 13 7月, 2021 1 次提交
  4. 11 7月, 2021 1 次提交
  5. 10 7月, 2021 2 次提交
  6. 09 7月, 2021 2 次提交
  7. 08 7月, 2021 2 次提交
  8. 07 7月, 2021 2 次提交
  9. 06 7月, 2021 1 次提交
  10. 05 7月, 2021 1 次提交
  11. 04 7月, 2021 1 次提交
  12. 03 7月, 2021 3 次提交
  13. 02 7月, 2021 2 次提交
  14. 01 7月, 2021 5 次提交
  15. 30 6月, 2021 6 次提交
  16. 29 6月, 2021 4 次提交
  17. 28 6月, 2021 1 次提交
    • K
      perf: trim useless metadata fields in ALS to improve performance (#7191) · de1d0461
      kezhenxu94 提交于
      These fields in `stateMap` metadata are not used by `metadata-service-mapping.yaml` now and there is low possibility that they may be used in real case, but, they cost a lot to deserialize, so we remove them to improve performance
      
      From what I've tested, the analyzer can process 250k ALS logs before trimming the fields and can process 420k ALS logs after trimming the fields
      de1d0461