Commit Graph

10 Commits

Author SHA1 Message Date
Henry Camacho a528352e28 Added support for LumberJack logging and —log argument like caddy
- I don’t think the way I am doing logging is correct, however it was the only way I could figure to get the package level customizations and flags I wanted while leveraging lumberjack.
- altered tunnel end point interface to AJ’s specification in issue #18
- added an InitLogging function package level, that is called by main to init.
2017-03-26 17:33:40 -05:00
Henry Camacho a72bbc63e4 Updated to support load balanced API Rest
- system collects all the domains, servers, and stats. /domains
- added support for a WSS state, displays on the UI
- moved all server related domain structures to ServerDomain* etc. to avoid collision with Domains
- create new Domains structure to handle Domains, Domain, Servers and Traffic at each level.
- updated initial lastUpate to the connection time rather than 0 which gave a silly duration.
- added properties for DomainTrack (Requests and Responses)
2017-03-25 20:33:09 -05:00
Henry Camacho 0e1f99c8da Round Robin Load Balancing feature enabled
- the system implements a rough round robin also.
- members that are removed, do not remove preserving order.
- this many skew RR slightly, the small trade of with a non-order slice removal
- fixed issue with reaper, would not reap connections that had closed based on write failure
- reduced well to 120 seconds.
- place holder for other LB ALGO’s like least-connections.
- at this time no support for heath checks.
2017-03-25 15:01:57 -05:00
Henry Camacho 12c8275326 Admin Status 2017-03-23 18:10:49 -05:00
tigerbot 87a1d9c0ae cleaned up a few import statements 2017-03-22 16:53:12 -06:00
Henry Camacho ba67cebb29 Several Considerations for Load Balancing, Collection of Bulk ServerStatus
- added a number of global status collections
- this requires wedging into things..
- removing direct address to come functions putting them though serverStatus
2017-03-19 19:04:47 -05:00
Henry Camacho 129e7df710 Got admin SPA up and displaying basic structure, H5BP, Bootstrap, Angular 2017-03-14 19:26:01 -05:00
Henry Camacho 3d5d272736 Adding support for Domain and Domains 2017-03-13 20:22:44 -05:00
Henry Camacho dd7d63baf6 API Rest Interface answers to servers and server/{id}
- built envelope based on AJ spec, self standing package with transaction ID increment and unix time stamps
- fixed servers end point
- created server/{id} end point
- created rest mappings for GET
2017-03-13 16:46:11 -05:00
Henry Camacho b88817e4d1 Committing API code, and clean up. 2017-03-13 11:43:28 -05:00