Skip to content
Snippets Groups Projects
  1. Sep 04, 2020
  2. Jul 24, 2020
  3. Jun 24, 2020
    • Erik Johnston's avatar
      Yield during large v2 state res. (#7735) · 0e0a2817
      Erik Johnston authored
      State res v2 across large data sets can be very CPU intensive, and if
      all the relevant events are in the cache the algorithm will run from
      start to finish within a single reactor tick. This can result in
      blocking the reactor tick for several seconds, which can have major
      repercussions on other requests.
      
      To fix this we simply add the occaisonal `sleep(0)` during iterations to
      yield execution until the next reactor tick. The aim is to only do this
      for large data sets so that we don't impact otherwise quick resolutions.=
      0e0a2817
  4. Jun 16, 2020
  5. Mar 18, 2020
    • Erik Johnston's avatar
      Improve get auth chain difference algorithm. (#7095) · 4a17a647
      Erik Johnston authored
      It was originally implemented by pulling the full auth chain of all
      state sets out of the database and doing set comparison. However, that
      can take a lot work if the state and auth chains are large.
      
      Instead, lets try and fetch the auth chains at the same time and
      calculate the difference on the fly, allowing us to bail early if all
      the auth chains converge. Assuming that the auth chains do converge more
      often than not, this should improve performance. Hopefully.
      4a17a647
  6. Feb 19, 2020
  7. Feb 07, 2020
  8. Dec 16, 2019
  9. Dec 13, 2019
  10. Jun 20, 2019
  11. May 10, 2019
  12. Apr 01, 2019
  13. Jan 25, 2019
  14. Nov 05, 2018
  15. Nov 02, 2018
  16. Oct 24, 2018
  17. Oct 16, 2018
Loading