{"id":15286291,"url":"https://github.com/unknwon/project-spartan","last_synced_at":"2025-10-07T01:30:34.891Z","repository":{"id":68162282,"uuid":"121590800","full_name":"unknwon/Project-Spartan","owner":"unknwon","description":"The Project Spartan is a hybrid-infrastructure and research-oriented HA (High Availability) prototype for IT 485.","archived":true,"fork":false,"pushed_at":"2018-04-22T04:23:37.000Z","size":339,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-29T18:11:05.050Z","etag":null,"topics":["aws","coredns","docker","gcp","go","high-availability","hybrid-infrastructure","prototype","vagrant","virtualbox"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/unknwon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-15T04:23:53.000Z","updated_at":"2023-01-28T07:06:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"ffd38b7a-40e9-4f2a-9b1a-5ea1a4575e01","html_url":"https://github.com/unknwon/Project-Spartan","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unknwon%2FProject-Spartan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unknwon%2FProject-Spartan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unknwon%2FProject-Spartan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unknwon%2FProject-Spartan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unknwon","download_url":"https://codeload.github.com/unknwon/Project-Spartan/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235569498,"owners_count":19011184,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","coredns","docker","gcp","go","high-availability","hybrid-infrastructure","prototype","vagrant","virtualbox"],"created_at":"2024-09-30T15:12:45.767Z","updated_at":"2025-10-07T01:30:34.482Z","avatar_url":"https://github.com/unknwon.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Project Spartan\n\nThe Project Spartan is a hybrid-infrastructure and research-oriented HA (High Availability) prototype for IT 485.\n\n## Project Status\n\nThe goal of this project is more like PoC (Proof of Concept) rather than comprehensive implementation.\n\n## Prerequisites\n\nAll prerequisites are for local deployment (i.e. on your Mac) only, cloud deployment is much easier that only needs compiled binaries of all components (i.e. haproxy, rportal, and cpanel).\n\n_Built based on such version, other versions are not tested_\n\n- Go 1.10 \n- Docker for Mac 18.03.0-ce\n- AWS CLI 1.15.0\n- Google Cloud SDK 196.0.0\n- VirtualBox 5.2.8\n- Vagrant 2.0.3\n- CoreDNS 1.1.1\n- MySQL 5.7.22\n\n## System Overview\n\n![Network Topology](docs/images/Network%20Topology.jpg)\n\n### Components\n\n- CoreDNS: Response DNS query to avoid SPOF of haproxy\n- haproxy (e.g. `haproxy-vagrant-1`, `haproxy-vagrant-2`): \n    - Load balance based on response time, CPU load, and memory usage\n    - Request health checks to rportal\n    - Response health check from cpanel\n- rportal (e.g. `rportal-local-1`, `rportal-docker-1`, `rportal-aws-us-east-1`, `rportal-gcp-us-east-1`):\n    - Serve web pages\n    - Response to health checks from haproxy and cpanel\n    - Process and store data to MySQL\n- cpanel: Monitor and manipulate other components\n- MySQL (e.g. `mysql-aws-us-east-1`): Store data\n\n## Disclaimers\n\nThe security is not part of main focus of the system, only basic level of security is considered.\n\n## License\n\nThis project is under MIT License **with exception of any academic honesty violation**. See the [LICENSE](LICENSE) file for the full license text.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funknwon%2Fproject-spartan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funknwon%2Fproject-spartan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funknwon%2Fproject-spartan/lists"}