I have a phoenix app that I stood up with a free tier postgres.
The app itself is nothing more than a mix phx.new app
with nothing added. Its been 10 days since I stood it up and did nothing with it.
The app its self has only 712 MB of total transfer data used, where as the db app is already up to 5 gigs outbound traffic. I thought that was high for an app that has no users and no real data model.
that got me wondering. so I started to look at the logs and noticed.
2022-03-18T20:25:35.983 app[57273b35] sea [info] keeper | 2022-03-18T20:25:35.983Z INFO cmd/keeper.go:1504 our db requested role is master
2022-03-18T20:25:35.984 app[57273b35] sea [info] keeper | 2022-03-18T20:25:35.983Z INFO cmd/keeper.go:1542 already master
2022-03-18T20:25:36.001 app[57273b35] sea [info] keeper | 2022-03-18T20:25:36.000Z INFO cmd/keeper.go:1675 postgres parameters not changed
This log is repeating every second for what looks like forever. Could this be the cause of the outbound traffic being used up on my postgres app?