bgpkit/monocle

[feature] add local cache to avoid repeatedly downloading MRT files

Closed this issue · 2 comments

Sometimes we need to tweak the search parameters, and it should not repeatedly download MRT files if we already have them in the local cache.

The naive implementation is to download the whole files first before reading them.

The better implementation requires updates on the bgpkit-parser library to takes in either

  • partial MRT file in slices
  • or when doing a read, also write the exact bytes out to a writer
    Either solution requires some major refactoring of the code.

added in eec513d