Coder Social home page Coder Social logo

att's Introduction

All The Things

This project is used as a playground and knowledge base for technoligies that I commonly interact with.

Key components

Terragrunt

Kubernetes

GCP

Docker

WebAssemby

Frontend UI

Backend APIs

Infrasturcture

All the infrastructure is defined with terraform and terragrunt, and intended to be run on Kubernetes.

Some services use external resources, such as gcp cloud functions and gcp cloud run, but they are still managed via kubernetes (see GCP ConfigConnector), and traffic is routed to the resources via kubernetes Services (externalName). All the traffic is kept within the same VPC, so services do not need egress access to the public internet.

The cloud infrastructure is mirrored locally, using minikube, along within app specific docker-compose defintions, for running partial local services.

Docker Images

This project uses two different appraoches for definition docker images, traditional and wasm.

Traditional

Traditional docker images, use multi stage builds, using the native OS architecture

WASM

https://wasmedge.org/docs/develop/build-and-run/docker_wasm/

WASM images are built from scratch, and simply host the webassemby binaries. These images require beta features of the docker engine.

Apps

Declaritive state manager

Simple application, that uses declaritive state to update objects.

Similar to POST vs PUT requests, the appliction always uses POST requests, for both creation and update requests.

  • Frontend retrieves observed state from API
  • User updates state and submits the desired state to the API
  • API compares the desired and observed state, to creates a diff
  • Attempts to reconcile the diff
  • If successful, diff is stored into a timeseries db
  • API returns latest observed state

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.