3 ms·
How do you do this with disparate systems? For example a ruby application that handles and emits events concurrently with a python one.
by 3pt14159 9y ago
How do you do this with disparate systems? For example a ruby application that handles and emits events concurrently with a python one.
- aaronblohowiak 9y agosystems report which things they are listening to
- sametmax 9y agoThe router should provide the feature. E. G crossbar.io router has meta rpc enpoints and pub/sub events letting you inspect and react to any activity taking place. It's expensive on resources so you should use it sparingly, but it's very handy to get a grasp on what the hell is going on.
- Rabidgremlin 9y agoCentralized logging, with a track and trace ID that is passed around and logged. I have seen this work to great effect with a dynamic (force directed) based graph been built in real-time showing the flow of calls/messages between systems. Also provided timings and drilldowns to find processing issues and performance problems.
- convolvatron 9y agothis helps a lot, particularly if your event system spans multiple nodes. its invaluable for correctness, but you can learn a lot about performance too
- chiph 9y agoPeople I've worked with kinda-sorta understand the advantages of having a trace ID (aka context ID, correlation ID, etc), but don't code it into their systems. Or they do something like replace an incoming ID with their own, which negates it's value. For folks who aren't familiar with the concept - at the initiation of any action (user button click, timer firing, automated job starting, etc.) a new ID is created then passed to every single method and external call. This allows you to trace that action as it wends it's way through your distributed systems.
- dragonwriter 9y agoYou do it on the shared event bus.