From: Adam R. <Ad...@Kn...> - 2003-03-06 00:26:41
|
Four new cvs check-ins: 1. kn_apps/topics A browser JavaScript app that lists the topics on a PubSub server. I updated the kn_apps/index.html to include this new utility. See also the command-line utility kn_tools/list_subtopics.plx. 2. kn_sense/apache_logfile.sh Fred's Apache logfile sensor, written in the Bourne shell. This sensor monitors an Apache log file (common or combined) and generates events as log entries are written to it. Note that this sensor requires the libkn PubSub C Library available in the c_pubsub/libkn directory. Also note that since I haven't been able to figure out how to get this c_pubsub/libkn library to compile on Linux, I still have not gotten this sensor working yet, either. But I assure you, it's very fine code. *wink* 3. kn_tools/perftest_throughput.java Adam's command-line utility that does not require any PubSub client library to run. All it needs is a Java runtime. Spawns x threads, each of which publish y events, and tells you the total elapsed time in ms. Slowly but surely we're putting together a useful set of tools. 4. python_pubsub/bridge.py Andrew's bridge demonstration. We've often needed the capability to "bridge" between pubsub servers. That is, to have two pubsub servers reflect the same topics and events on those topics. Often, we want this to be the case for only a subset of the topic space of these two pubsub servers. Often, we want to do transformation on the way. You could do this using routes between the pubsub servers -- use do_max_age with an inter-pubsub-server route. Alternatively, bridge.py subscribes to various pubsub servers (as configured in the variables at the top) and attempts to synchronize topic hierarchies and events. FIXME: This should be generalized to bridge between URLs -- that is, it should work intra-pubsub-server as well as inter-pubsub-server. For example, so that you can mimic the subtopic space of /what/nasdaq onto /what/realtime/app. Also, I just got a bunch of updates to the PubSub C++ Library for Windows/ActiveX/.NET connectivity. I need to do some diffs, After which I'll check them into the cxx_pubsub/ directory. Enjoy, Adam |