Skip to content
Snippets Groups Projects

Limit the number of entries in the cache

  1. Jun 28, 2022
    • Vincent Sellier's avatar
      Limit the number of entries in the cache · f5f74136
      Vincent Sellier authored
      The implementation test after each revision if there are
      more than 100 000 entries of any kind in the cache. If yes,
      it flush the content.
      It's quite naive but the memory seems to stay around 5Go
      max on big repositories like linux.
      
      This can be still an issue with the current zeromq client because
      the origin are sorted by repositories a lot of snapshots of big
      repositories can be ingested in parallel.
      With the journal implementation, it should be more distributed on
      repositories of different sizes
      
      Related to T4313
      Verified
      f5f74136
Loading