#object-store #mmap #polars #download #integrate #cache #consumer

obstacle

Integrate the object_store crate with mmap based consumers like Polars

1 unstable release

0.0.2 Jul 16, 2023

#658 in Memory management

Apache-2.0

33KB
722 lines

Utility classes to integrate the (Object Store)https://crates.io/crates/object_store in an application. This started initially as an effort in (Polars)https://pola.rs

BRAINSTORM

Since the Polars implementation relies heavily on (mmap)https://crates.io/crates/memmap2 our API will be inspired from that crate.

  1. Use the mmap interface for the advise operation.
  2. Change the polars code to issue advise() before access.
  3. Implement the advise on top of object_store in the current crate.

DELIVERY PHASES

  1. download
  2. cache
  3. validated the cache
  4. sparse downloads

Dependencies

~11–22MB
~325K SLoC