> Oh, wow...that is so damned cool.

:-)

> It seems like these few lines give you introspection into any Kamaelia
> process:
>
> from Kamaelia.Util.Introspector import Introspector
> from Kamaelia.Visualisation.Axon.AxonVisualiserServer import
> AxonVisualiser
>
> # Start the introspector and connect to a local visualiser
> Pipeline(
>     Introspector(),
>     TCPClient("127.0.0.1", 1500),
> ).activate()

Yep :-)

> And clicking on nodes/connectors reports out to the console.
>
> This is so great. Wow.

There are some caveats and shortcomings that need to be borne in mind:

 * scalability - the more complex the system, the more blobs and the
slower the visualisation gets - it can grind to a near halt pretty quick.
This is mainly due to the maths overhead on the physics engine dictating
the blobs movement. As it slows, it will start skipping frames, so you
may miss something if it is fleeting.

 * no abstraction - you see *everything* - so you get to see just how many
additional components simple-server creates for its own use.

 * heisenberg effect - you affect the system you are measuring. That
TCPClient the Introspector is using to get its data out to the visualiser
will be using network sockets, the Selector component (a component that
is shared between all components using TCP sockets - its basically a
wrapper around the unix select() call). Hence, also, the fact that the
introspector component itself will appear within the introspection.


Really glad you like it tho :-)


Matt
-- 
| Matt Hammond
|
| [anything you like unless it bounces] 'at' matthammond 'dot' org




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"kamaelia" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/kamaelia?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to