turquoise-gopher-background

[DEV PART 2/2] Serverless Highscore Go API with Faasd and CockroachDB

The Intro Hi everyone, this is the 2nd part of the series, we will be developing our API in this part. I will assume you have already followed the previous part and setup faasd and CockroachDB in your cloud server instance and have faas-cli in your both client computer and cloud server instance. I will also assume you have Go on your computer and a proper text editor. Let’s quickly get started. ...

September 8, 2021 · 10 min · 2046 words · Talha Altinel
yellow-gopher-background

[INFRA PART 1/2] Serverless Highscore Go API with Faasd and CockroachDB

The Series Intro Hi everyone, in this series we will be creating serverless highscore REST API in Go and utilize the most advanced and bleeding-edge open-source technologies such as Faasd(OpenFaaS engine) and CockroachDB(our cluster database). Keep in mind that we will actually need a server to do serverless computing :) (Plot Twist) In this 1st part, we will be setting up the infrastructure side for Hetzner Cloud with Terraform then in the 2nd part we will develop/deploy our functions with help of faas-cli. Faasd is developed by OpenFaaS to make self-hosted serverless functions much easier to develop/deploy without any vendor lock-in giant cloud company or K8s requirement. We will also be using CockroachDB as a single node database for our cloud server instance. There are some requirements but keep in mind that Terraform and Hetzner Cloud are not mandatory requirements. ...

September 8, 2021 · 5 min · 1002 words · Talha Altinel