unknwon / Project-Spartan

The Project Spartan is a hybrid-infrastructure and research-oriented HA (High Availability) prototype for IT 485.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Load balance

unknwon opened this issue · comments

  • Application:
    • Randomize response time, CPU load, memory usage at start
    • URL to set response time, CPU load, memory usage
    • Response response time, CPU load, memory usage to health check
  • HAProxy:
    • Calculate StatusScore: (response time + CPU usage + memory usage) / 10