1. 06 Mar, 2020 1 commit
  2. 02 Mar, 2020 1 commit
  3. 17 Feb, 2020 2 commits
  4. 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
  5. 12 Feb, 2020 1 commit
  6. 10 Feb, 2020 1 commit
  7. 30 Jan, 2020 2 commits
  8. 16 Dec, 2019 1 commit
  9. 09 Dec, 2019 1 commit
  10. 05 Dec, 2019 2 commits
  11. 15 Oct, 2019 1 commit
  12. 02 Oct, 2019 1 commit
  13. 01 Oct, 2019 1 commit
  14. 24 Sep, 2019 4 commits
  15. 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
  16. 14 Aug, 2019 1 commit
  17. 03 Jul, 2019 1 commit
  18. 02 Jul, 2019 1 commit
  19. 14 Jun, 2019 1 commit
  20. 12 Jun, 2019 2 commits
  21. 01 Jun, 2019 1 commit
  22. 31 May, 2019 1 commit
  23. 24 May, 2019 2 commits
  24. 23 May, 2019 1 commit
  25. 22 May, 2019 1 commit
  26. 11 May, 2019 2 commits
  27. 10 May, 2019 1 commit
  28. 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
  29. 20 Mar, 2019 1 commit
  30. 15 Mar, 2019 1 commit
  31. 02 Mar, 2019 1 commit