clojure - How to get metrics for manifold bus in the context of aleph -


given bus created aleph/manifold, how can measure interesting metrics throughput, latency, number of errors , timeouts?

(manifold.bus/event-bus (fn []                             (s/stream 100 ))) 

aleph has not built-in monitoring.

you build yourself, either in handler function (maybe using atom) or using netty straight away. there :bootstrap-transform argument allows create netty channelhandler.

this should allow use existing netty performance monitoring solutions (this page may useful).


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -