Local file system

Local file system mode is the simplest mode of retrieval. This can also be the fastest. In this mode, you host the CAR files locally as files on a file system. You can also host the indexes locally for best performance or mix with some indexes locally and some remotely.

version: 1
epoch: 100
data:
  car:
    uri: /of1/100/epoch-100.car
indexes:
  cid_to_offset_and_size:
    uri: /of1/100/epoch-100-bafyreibqt2nvroysxlxctgb52xxn27ectsllv2xyka4qar7ga6vupmbs3i-mainnet-cid-to-offset-and-size.index
  slot_to_cid:
    uri: /of1/100/epoch-100-bafyreibqt2nvroysxlxctgb52xxn27ectsllv2xyka4qar7ga6vupmbs3i-mainnet-slot-to-cid.index
  sig_to_cid:
    uri: /of1/100/epoch-100-bafyreibqt2nvroysxlxctgb52xxn27ectsllv2xyka4qar7ga6vupmbs3i-mainnet-sig-to-cid.index
  sig_exists:
    uri: /of1/100/epoch-100-bafyreibqt2nvroysxlxctgb52xxn27ectsllv2xyka4qar7ga6vupmbs3i-mainnet-sig-exists.index

Be aware that a full local clone of the OF1 genesis archive runs in multiple 100s of TB.

Split retrievals

If your file system or network file system store does not like serving large files, you can configure split retrievals for the local file system in the same way they work for HTTP retrievals.

Last updated