1. 02 Mar, 2020 1 commit
  2. 17 Feb, 2020 2 commits
  3. 13 Feb, 2020 1 commit
    • Steven Allen's avatar
      feat: debounce wants manually · 777c0d9a
      Steven Allen authored
      This:
      
      * Makes it easy to send immediately if we wait too long and/or if we have enough
      to send.
      * Is significantly more efficient than the debounce library as it doesn't spin
      off a bunch of "after" timers.
      
      fixes #245
      777c0d9a
  4. 12 Feb, 2020 1 commit
  5. 10 Feb, 2020 1 commit
  6. 30 Jan, 2020 2 commits
  7. 16 Dec, 2019 1 commit
  8. 09 Dec, 2019 1 commit
  9. 05 Dec, 2019 2 commits
  10. 15 Oct, 2019 1 commit
  11. 02 Oct, 2019 1 commit
  12. 01 Oct, 2019 1 commit
  13. 24 Sep, 2019 4 commits
  14. 07 Sep, 2019 1 commit
    • Steven Allen's avatar
      engine: tag peers based on usefulness · 9d580a65
      Steven Allen authored
      This patch tracks two usefulness metrics: short-term usefulness and long-term
      usefulness. Short-term usefulness is sampled frequently and highly weights new
      observations. Long-term usefulness is sampled less frequently and highly weights
      on long-term trends.
      
      In practice, we do this by keeping two EWMAs. If we see an interaction within
      the sampling period, we record the score, otherwise, we record a 0. The
      short-term one has a high alpha and is sampled every shortTerm period. The
      long-term one has a low alpha and is sampled every longTermRatio*shortTerm
      period.
      
      To calculate the final score, we sum the short-term and long-term scores then
      adjust it ±25% based on our debt ratio. Peers that have historically been more
      useful to us than we are to them get the highest score.
      9d580a65
  15. 14 Aug, 2019 1 commit
  16. 03 Jul, 2019 1 commit
  17. 02 Jul, 2019 1 commit
  18. 14 Jun, 2019 1 commit
  19. 12 Jun, 2019 2 commits
  20. 01 Jun, 2019 1 commit
  21. 31 May, 2019 1 commit
  22. 24 May, 2019 2 commits
  23. 23 May, 2019 1 commit
  24. 22 May, 2019 1 commit
  25. 11 May, 2019 2 commits
  26. 10 May, 2019 1 commit
  27. 29 Apr, 2019 1 commit
    • Steven Allen's avatar
      remove IPFS_LOW_MEM flag support · 3699175c
      Steven Allen authored
      * HasBlockBufferSize and provideKeysBufferSize no longer matter as we have an
        infinite in-memory buffer.
      * provideWorkersMax now defaults to 6 so changing this to 16 actually _increases
        memory consumption.
      3699175c
  28. 20 Mar, 2019 1 commit
  29. 15 Mar, 2019 1 commit
  30. 02 Mar, 2019 1 commit