1. 01 Oct, 2019 1 commit
  2. 24 Sep, 2019 4 commits
  3. 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
  4. 14 Aug, 2019 1 commit
  5. 03 Jul, 2019 1 commit
  6. 02 Jul, 2019 1 commit
  7. 14 Jun, 2019 1 commit
  8. 12 Jun, 2019 2 commits
  9. 01 Jun, 2019 1 commit
  10. 31 May, 2019 1 commit
  11. 24 May, 2019 2 commits
  12. 23 May, 2019 1 commit
  13. 22 May, 2019 1 commit
  14. 11 May, 2019 2 commits
  15. 10 May, 2019 1 commit
  16. 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
  17. 20 Mar, 2019 1 commit
  18. 15 Mar, 2019 1 commit
  19. 02 Mar, 2019 1 commit