How aashish1-1-1/loadbalancer works
Project Type: This is an embedded systems project implementing a load balancer on ESP8266 microcontroller hardware with different load balancing algorithms.
Hardware Layer
• ESP8266 Microcontroller (Central component)
• WiFi Module (integrated with ESP8266)
Software Components
• Three Load Balancing Algorithms:
• Least Connection (LeastConn)
• Round Robin (Roundrobin)
• Weighted Round Robin (WeightedRr)
• Web Server Component (based on server/HTML.c)
• Static Web Interface (server/static/index.html)
External Components
• Client Devices (accessing the load balancer)
• Backend Servers (that receive distributed traffic)
Component Representation
• Use rectangles for hardware components (ESP8266)
• Use rounded rectangles for software components (algorithms)
• Use cloud symbols for client devices
Specific Elements
• WiFi connection symbol for ESP8266
• Status feedback loop to algorithms
Important Notes to Highlight
• A note about the separate algorithm implementations due to ESP8266 stack limitations
• Web interface component for monitoring
• WiFi configuration requirement
Flow Indicators
• Request flow from clients
• Algorithm selection path
• Distribution to backend servers
• Response path back to clients
Additional Details
• Version/algorithm labels
• Configuration points (WiFi SSID/password)
Special Considerations:
• Hardware limitations that led to separate algorithm implementations
• Relationship between the web server component and the load balancing logic
• Where configuration happens (WiFi settings)
Remember to include a small monitoring/status section showing how the web interface provides visibility into the load balancer's operation.