3 ms·
What's worked for me: 1. Base OS is core OS or GCE container optimised OS. Striped down, ultra fast, low ram (~200MB) and CPU footprint, ready to run docker co
by mankash666 9y ago
What's worked for me:
1. Base OS is core OS or GCE container optimised OS. Striped down, ultra fast, low ram (~200MB) and CPU footprint, ready to run docker containers/images out of the box.
2. Docker Image choice - base Alpine image + {compiled grpc binaries [1] OR compiled C based server for rest APIs [2]} c based rest server size is undeR 8MB, including a couple static assets of~2MB!! Host on gke for faster pull times, or create an instance template for blazing fast boot Times
[1] : https://github.com/mankash/grpc-alpine-server https://github.com/mankash/grpc-alpine-server image: https://hub.docker.com/r/mankash/grpc-alpine-server/ https://hub.docker.com/r/mankash/grpc-alpine-server/
[2] : https://github.com/mankash/alpine-kore-build https://github.com/mankash/alpine-kore-build image: https://hub.docker.com/r/mankash/alpine-kore-build/ https://hub.docker.com/r/mankash/alpine-kore-build/