Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Perf] Remove postgres from prod instance #118

Merged
merged 3 commits into from
Apr 17, 2024
Merged

[Perf] Remove postgres from prod instance #118

merged 3 commits into from
Apr 17, 2024

Conversation

pshenmic
Copy link
Owner

Issue

Database load recently increased in the testnet which leads to lags and timeout errors in the production environment. It seems that instance is cheap and CPU resources is not getting properly balanced between different applications running or some SQL queries getting laggy after some real data. I will be investigating, applying this as a short fix.

Things done

  • Added npm script to drop database
  • Removed self hosted postgres container from the production environment (move to external service)
  • Updated github actions

Copy link

vercel bot commented Apr 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
platform-explorer-zham ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 17, 2024 7:07pm

@pshenmic pshenmic self-assigned this Apr 17, 2024
@pshenmic pshenmic added the backend Related to backend (API) label Apr 17, 2024
@pshenmic pshenmic merged commit a6f8b3c into master Apr 17, 2024
5 checks passed
@owl352 owl352 deleted the feat/migrate-db branch November 23, 2024 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to backend (API)
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant