First testing
Trace log of a simple test over TCP
The TopicQuests codebase includes a logging platform that offers agents a name-based gzipped file which traces output generated by that agent. The following trace is live inside the SemiSpace tuplespace platform which was modified to work within the SolrAgentCoordinator platform.  The trace shows:
  • A tuple was accepted to be written to the blackboard
  • A Read request was made for a tuple
  • What the Read request returned
  • A second Read request was made for a tuple. At this time, there is just one tuple in the system with that tag
  • What the second Read returned: it should return nothing since the system is smart enough not to keep sending the same tuple to the same agent more than once. That region of behavior needs more thought
  • A second Write added a new tuple
  • The next read fetched it
  • The final read failed since all tuples had been read by this agent
  • A Take request was made for a tuple
  • What the Take request returned
2013-02-14 18:38:51.905 WRITE: {"id":1360895931883,"tag":"MyTag","cargo":"Something worth remembering"}
2013-02-14 18:38:51.908 READ-: {"agentName":"TCPTestTwo","tag":"MyTag"}
2013-02-14 18:38:51.909 READ+: {"id":1360895931883,"tag":"MyTag","cargo":"Something worth remembering"}
2013-02-14 18:38:51.911 READ-: {"agentName":"TCPTestTwo","tag":"MyTag"}
2013-02-14 18:38:54.935 READ+: empty
2013-02-14 18:38:54.939 WRITE: {"id":1360895934936,"tag":"MyTag","cargo":"Something else worth remembering"}
2013-02-14 18:38:54.944 READ-: {"agentName":"TCPTestTwo","tag":"MyTag"}
2013-02-14 18:38:54.946 READ+: {"id":1360895934936,"tag":"MyTag","cargo":"Something else worth remembering"}
2013-02-14 18:38:54.950 READ-: {"agentName":"TCPTestTwo","tag":"MyTag"}
2013-02-14 18:38:57.950 READ+: empty
2013-02-14 18:38:57.952 TAKE-: {"id":1360895931883,"tag":"MyTag","cargo":"Something worth remembering"}
2013-02-14 18:38:57.952 TAKE+: {"id":1360895931883,"tag":"MyTag","cargo":"Something worth remembering"}

CONTEXT(Help)
-
OpenSherlock Project »OpenSherlock Project
Resources »Resources
SolrSherlock Code »SolrSherlock Code
Agent Architecture »Agent Architecture
SolrAgentCoordinator »SolrAgentCoordinator
First testing
+Comments (0)
+Citations (0)
+About