simonw/datasette

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

Aperta

#327 aperta il 24 giu 2018

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

Metriche repository

Star
 (8637 stelle)
Metriche merge PR
 (Metriche PR in attesa)

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