rust-lang / crater

Run experiments across parts of the Rust ecosystem!
https://crater.rust-lang.org
636 stars 88 forks source link

The SQLite database is hard to manage in production #565

Open pietroalbini opened 3 years ago

pietroalbini commented 3 years ago

Crater currently relies on a single SQLite database for all its storage needs, but that's starting to be problematic in production:

The short term solution is to change Crater to proactively delete data (and possibly run VACUUM, even though that's been really slow in the past with our data size), but in the long term it'd be nice to migrate to PostgreSQL so that we can deploy Crater to ECS.

Mark-Simulacrum commented 2 years ago

We now proactively delete logs, but we still have a fairly large SQLite database.