4 ms·
You're exactly right about log streaming to S3. We open sourced the tool that we use to perform that: https://github.com/heroku/wal-e https://github.com/heroku/
by imbriaco 15y ago
You're exactly right about log streaming to S3. We open sourced the tool that we use to perform that: https://github.com/heroku/wal-e https://github.com/heroku/wal-e
- bdonlan 15y agoS3 doesn't support continual logging - you need to decide on a file size up-front. Are you creating a new object for each log entry, or is there a window in which commits can be lost before the log gets flushed out, or do you have some other workaround...?
- jaylevitt 15y agoSo would I need to (learn and) use PG9's replication with this? Or is one ephemeral-stored database plus shipped logs sufficient, assuming I can live with some downtime if the instance disappears? As an experienced techie but a PG novice, what do I need to go learn about PG recovery procedures to safely use this?