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

Replace Debian MySQL with Alpine Postgres #1

Merged
merged 1 commit into from
Jan 17, 2018

Conversation

kevinmichaelchen
Copy link
Owner

@kevinmichaelchen kevinmichaelchen commented Jan 17, 2018

There still isn't an official Alpine variant of MySQL, so use PG for now.

Memory usage is 6.7MiB instead of ~200MiB.

Image size is 38MB instead of 408MB (Debian MySQL).

With this PR, the API and DB together consume under 13MiB of memory.

Contrast that with Spring Boot (120MiB minimum) and Debian MySQL (200MiB) which collectively consume 320MiB.

Sources:

@kevinmichaelchen kevinmichaelchen changed the title Replace Debian MySQL with Postgres Replace Debian MySQL with Alpine Postgres Jan 17, 2018
@kevinmichaelchen kevinmichaelchen merged commit 5e52302 into master Jan 17, 2018
@kevinmichaelchen kevinmichaelchen deleted the kchen/postgres branch January 17, 2018 04:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant