Choose a Project
MY WEBSITE ARCHITECTURE
This Website is a Kubernetes Cluster. Being a Cluster, in the future I could add big CPU-Intensive Programs to the Internet easily, without changing much of the existing code base.
My Cluster is 2 Nodes, 1 PersistentVolume, and an Ingress Controller without LoadBalancer (therefore $10 cheaper) on DigitalOceans.
The service cron-pull checks a git repositories where all the tutorials on this website are located every 10mins. If a file has been created, deleted, or update in the remote repo it's automatically updated accordingly in the PersistentVolume and its metadata in the database. Therefore I must just hit Ctrl+S and the tutorials are updated
~scroll right for more info
Title | Endpoint | Language | Description |
---|---|---|---|
front | cosmicsagex.com/ | React.js + Next.js | What You See |
cron-pull | private. only accessible within cluster | Python & Bash | Observes a Git repository and makes a 'pull' on any change, checks every 10min. name's inspiration |
engine | cosmicsagex.com/api/web-engine | Flask | Controls Data flow; reads files processes them and sends info in different formats |
database | private. only accessible within cluster | MySql | database for location of articles on PV & other metadata |
*Read the Projects page for detailed info on MAJOR projects