- each request is made to loadbalancer running on localhost:8080/api/v1
- request path (api/v1) is looked up to find the service it is mapped to
- all the server replicas of this service are looked up
- Load Balancing Strategies for this Service is looked up. Defaultes to Round Robin
- request is forwarded to one of these replicas using the LB strategy
- Error Handling
- Optimising WRR
- Converting metadata to struct
- Refactor unnecessaty packages
- Configure period based on config file
- Add more LB Strategies
- Dynamically update weights if a server goes down
- If no server available, put requests in a queue for a timeout