simonw/datasette

Explore if SquashFS can be used to shrink size of packaged Docker containers

Open

#327 aperta il 24 giu 2018

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)Python (625 fork)batch import
help wantedresearch

Metriche repository

Star
 (8637 star)
Metriche merge PR
 (Merge medio 67g 23h) (19 PR mergiate in 30 g)

Descrizione

Inspired by this article: https://cldellow.com/2018/06/22/sqlite-parquet-vtable.html#sqlite-database-indexed--squashed

https://en.wikipedia.org/wiki/SquashFS is "a compressed read-only file system for Linux" - which means it could be a really nice fit for Datasette and its read-only SQLite databases.

It would be interesting to explore a Dockerfile recipe that used SquashFS to compress the SQLite database file that was bundled up by datasette package and friends.

Guida contributor