cdnv3

module
v0.0.0-...-82f49f0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2021 License: GPL-3.0

README

Packetframe Control Plane v3

Version 3 of the Packetframe CDN control plane. This is an incomplete experiment - for the real, currently-deployed code, see https://github.com/packetframe/cdn

Development

Set CDNV3_DEVELOPMENT=true to enable local development mode of the API. Dev mode disables MongoDB from expecting a replica set, and enables more verbose logging.

Architecture

The cdnv3 control plane is separated into a few services and daemons.

  • the Public API is written in Python with FastAPI + Pydantic for user facing API operations
  • the Internal API is written in Go with GoFiber and is used for internal ops such as managing cache nodes
  • the Database is a MongoDB replica set over a full mesh over WireGuard that runs on all the controllers in the control plane

Directories

Path Synopsis
cmd
api
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL