Commit Graph

14 Commits

Author SHA1 Message Date
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 41adbfaef5 ServerName is now 1st domain in token. Awaiting new token structure for true ServerName. 2017-03-25 17:22:28 -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 1701b1acb0 Back and running 2017-03-24 17:45:54 -05:00
tigerbot c7b6a4a000 changed GetState and State to State and SetState
https://golang.org/doc/effective_go.html#Getters
2017-03-22 17:45:47 -06:00
tigerbot 9acf50c2ff simplified mutex handling and defer statements 2017-03-22 16:53:12 -06:00
tigerbot 92f951544b simplified some function inputs and returns 2017-03-22 16:53:12 -06: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 860580c7c8 Updated to include selectable domain statistics.
- added support for decent duration display
- added support for byte count display (k/m/g/, etc)
- added detail selector, you can watch n number of connections and refresh while keeping them open.
- refresh button
2017-03-18 14:28:54 -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 f3bb9cb584 Implemented domain tracking for external connections
- system now tracks both in and out bytes
- various clean up.
2017-03-09 21:38:23 -06:00
Henry Camacho 0eb136db75 Updated documentation 2017-03-02 21:32:53 -06:00
Henry Camacho 8f2e4f58c0 Working version of RVPN
- got too cute with the package names, needed to bring everything into one package, except for packer.
- system is passing traffic now, ran a load test generating 1000 connections, seems ok.
- removed a lot of message logging since traffic is passing.
2017-03-02 18:47:59 -06:00