Windows Performance Monitor in Flex (with real-time Data Push)
We just published a new example demonstrating the usage of real-time messaging. The example provides a way to monitor ALL aspects of a windows computer through a Flex application and WebORB. You can play with the example and download all the code at the link below:
http://www.themidnightcoders.com/weborb/dotnet/examples.shtm?page=1
The application uses real-time messaging (RTMP) to subscribe and asynchronously receive performance data streamed from a WebORB server - the client does not do any polling. The data in the example is for the computer where the server runs (the computer hosting www.themidnightcoders.net). As you can see from the client code, we use the NetConnection API to invoke methods on the server-side application handler to add/remove performance counters for a particular client. Updates for the added performance counters asynchronously arrive from the server via data push. Each client has a pooled server thread responsible for delivering performance data updates. Changing the update frequency invokes a server method which modifies the timer associated with the update thread.
We are adding similar monitoring application to our management console. We also plan to include a variety of performance counters into WebORB itself. Users will be able to monitor concurrently open connections and measure invocation time of individual services.







0 Comments:
Post a Comment
<< Home