golang-samples
flyctl
golang-samples | flyctl | |
---|---|---|
3 | 545 | |
4,150 | 1,307 | |
0.5% | 0.9% | |
9.3 | 9.9 | |
5 days ago | 5 days ago | |
Go | Go | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
golang-samples
-
How to discover personal data in cloud storage
You can find an example of the function code for analyzing the data store on Google Cloud’s Github.
-
Ask HN: Solo-preneurs, how do you DevOps to save time?
Choose a platform like App Engine. It's auto-scaling. Supports bigtable. And opentelemetry. Manageable from anywhere via Cloud Shell. You can run multiple instances and partition load between them. Even includes a free tier ;)
https://github.com/GoogleCloudPlatform/golang-samples
-
GCP Cloud Run: containers without Dockerfile
# Source: https://github.com/GoogleCloudPlatform/golang-samples/blob/master/run/helloworld/Dockerfile FROM golang:1.16-buster as builder # Create and change to the app directory. WORKDIR /app # Retrieve application dependencies. # This allows the container build to reuse cached dependencies. # Expecting to copy go.mod and if present go.sum. COPY go.* ./ RUN go mod download # Copy local code to the container image. COPY . ./ # Build the binary. RUN go build -mod=readonly -v -o server # Use the official Debian slim image for a lean production container. # https://hub.docker.com/_/debian # https://docs.docker.com/develop/develop-images/multistage-build/#use-multi-stage-builds FROM debian:buster-slim RUN set -x && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \ ca-certificates && \ rm -rf /var/lib/apt/lists/* # Copy the binary to the production image from the builder stage. COPY --from=builder /app/server /app/server # Run the web service on container startup. CMD ["/app/server"]
flyctl
-
How to deploy a nestjs back-end from a mono repo on fly.io
To begin visit fly.io to create an account. Next install flyctl a command line tool for creating and deploying fly apps. macOS
-
Getting started with Open SaaS
For frontend deployment, I used Netlify (for the generous free package) and the recommended fly.io for server + database (also cheap package).
-
Breaking the Myth: Scalable, Multi-Region, Low-Latency App Exists And Will Not Cost You A Kidney.
Create an account on Fly.io.
-
How to use fly.io and Tigris to deploy a Next.js app
You can learn more about fly.io and tigris, we will need to create an account on both platforms for this project regardless. Anyway with the theory out of the way let's get started in the next section as we create our accounts and start building the app.
-
Set up your own personal browser in the Cloud
Fly.io is a platform that helps you run your apps and databases closer to your users all around the world. It takes your app code, packages it up neatly, and puts it on virtual machines that can be quickly started or stopped. This makes your app faster for users and more reliable. Fly.io is easy to use, works well for small projects or personal apps. It's a great way to make sure your app runs smoothly for people no matter where they are.
-
NoSQL Postgres: Add MongoDB compatibility to your Supabase projects with FerretDB
In this post, we'll start from scratch, running FerretDB locally via Docker, trying out the connection with mongosh and the MongoDB Node.js client, and finally deploy FerretDB to Fly.io for a production ready set up.
-
Free tools for developers to build their apps
2- fly.io
-
Top 5 Ways To Host Your Full-Stack App For Free 🚀✨
Fly is a cloud platform that focuses on global edge computing. Fly specializes in high-performance hosting and provides a global network of edge locations. Fly is known for its scalability and performance optimizations.
-
Tech stack used for SaaS
But videototextai.com is built using NextJS + Firebase auth + Firestore and a backend deployed at fly.io . Fly makes it really easy to deploy docker containers and that is IMO the fastest way to develop, you can setup a local setup
-
Is it still worth choosing Heroku in 2023?
Alternatives explored: * northflank: While running the wrk test, requests were taking 3-7 seconds. Couldn't repeat Heroku's phenomenon of "400ms-800ms" during such a load test. * fly.io: Reliability: It’s Not Great * render.com: I remember the time when indiehackers.com was down because of an outage on Render, not sure if it's worth trusting.
What are some alternatives?
dbmate - :rocket: A lightweight, framework-agnostic database migration tool.
vercel - Develop. Preview. Ship.
bank-of-anthos - Retail banking sample application showcasing Kubernetes and Google Cloud
supabase - The open source Firebase alternative.
nixpkgs - Nix Packages collection & NixOS
s6-overlay - s6 overlay for containers (includes execline, s6-linux-utils & a custom init)
DayZ-Expansion-LoadingScreen-Sample - DayZ Expansion LoadingScreen Sample.
podman-compose - a script to run docker-compose.yml using podman
Grafana - The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
litestream - Streaming replication for SQLite.
reisen - A simple library to extract video and audio frames from media containers (based on libav).
Dokku - A docker-powered PaaS that helps you build and manage the lifecycle of applications