0.6.1 - 2007-02-05
- Added a getUsageStats() method to the CacheHandler interface. Caches can return whatever relevant information they have.
- Improved the queue handling for outbound ecms. Queue size and average response time is now used for load balancing.
- Changed timeout handling for cws connectors. If a timeout occurs the connector will be removed from load balancing
until it is responding again (unless it is the only available connector for a given request). Keep-alives will be sent
until it either responds or exceeds the maximum number of timeouts and is disconnected. This should help minimize the
impact of shaky connections in setups where there are multiple connectors of the same type available.
- Remote api extended with kickUser and shutdown methods.
- Changed average ecm interval and average processing speed to count for the last minute rather than total since connect.
This also applies to the rate limit feature in the UserManager interface.
- Changes to proxy.xml:
Removed: from status-web section. This no longer made much sense.
Added: Attribute 'map-exclude' for the auth-config section (SimpleUserManager). Stops a user from causing changes
to the service maps. Can be useful in large clusters for clients that misbehave and send a lot of bad ecms.
Changed: for ClusteredCache can now be set to 0 to disable auto updates (i.e only update when
proxy.xml is updated).
- Changes to the http/xml api:
Added: New command api, accessible by admin users only. 4 commands so far: reset, kick, shutdown and osd-message.
- Reset will clear the service map for a specific service on all cards, or for all services one card.
Params: name (cws connector name) or profile + id (service id in hex or decimal).
GET example: /xmlHandler?command=reset&profile=myprofile&id=0x04 F3
POST example:
- Kick will close all sessions for a specific user (mainly a debugging tool, the user cam will just reconnect).
- Shutdown will stop the proxy node.
- Osd-message sends a Mgcamd osd message to any matching active user sessions (with client id = Mgcamd).
GET example: /xmlHandler?command=osd-message&name=username&text=hello%20there
Name can be omitted to send to all users. This is experimental, use with care.
Note: the command api responses will contain the element instead of .
Added: New status command 'cache-status'. Will show usage counters for the currently used cache implementation.
Changed: Timestamps now use RFC822 format, and any previously included duration has been moved to a separate field.
The timestamp fields have also been renamed to show what they represent (i.e started or connected).
Changed: Command 'tv-services' changed to 'all-services'.
Added: New status command 'watched-services'. Returns currently watched services with a user count.
- Added a view of the 'watched-services' to the channels section of the example web page.
- Added cache-status to the status section of the example web page.
- Added some reasonable usage stat counters to DefaultCache and ClusteredCache.
- Added isMapExcluded() to UserManager interface, return true to stop a user from discovering new services or changing
the status of existing ones (map failure counters etc will not be updated as a result of ecms from this user).
- Improved some of the INFO level logging to more clearly show the new load balancing and timeout handling in action.