-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to add a spy to port ? #56
Comments
Hi there, |
I've been contemplating something like this. A colleague of mine when I was a new grad student built this instrumentation system for yet another streaming framework called Auto-Pipe (which in many respects is where I got the idea of building something entirely new which is RaftLib). The TimeTrial system had an annotation language for the streams. Maybe we could build a kernel as @mr-j0nes suggested and it have basic hooks to do monitoring and instrumentation. Once I add multi-node support, that would be preferable to adding your own given the run-time could move your kernels out from under you and you'd have very odd readings on your instrumentation. Any thoughts on the hooks that'd be needed? Ones that immediately come to mind for me are arrival rates on streams, streaming averages of things, and some moment estimation on the streams. I think I still have kernels in the repo for most of that which can be used to tie-in things. I'd suspect we could provide some lower-level pull-outs from the ring-buffer class that are privileged to the "spy" class. I think given the recent security scares..and for ease of text searching, lets go with "monitor" or perhaps "instrument" as a class name. If you're willing to put a proposal together, I'm willing to help code them. It can definitely be a collaborative process. |
Hi, I have the following scenario.
I have 4 kernels that do processing of some sort. Each of them has one input and one output ( first and last are single output/ single input).
I am designing a 'Spy' type of kernels that I want to attach to specific ports and monitor the content that passes though. They will not modify anything, just read the content. Image this will be used for visualization purposes, testing, logging or data dump.
One solution I found is to create an sky kernel and include it in the production chain.
However, this has the disadvantage that I have to edit the production chain code.
I would much more like to write something like:
Is there any way I can do this with raftlib ? Can you provide an example. Thank in advance.
The text was updated successfully, but these errors were encountered: