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