Akka-stream D3 activity visualizer

1,013 views
Skip to first unread message

Tim Harper

unread,
Jan 24, 2015, 4:03:01 PM1/24/15
to akka...@googlegroups.com
Recently I gave a presentation at a local technology group about reactive-streams. In order to demonstrate back-pressure, I whipped up this project which both visualizes the graph of a stream and shows the activity as it runs. I built it on Spray (ironically) because I didn't know if a web-sockets implementation existed already for akka-http. In the front-end, I'm using Dagre (a directed graph renderer) & D3 for visualization, along with some coffee script code. I know bonus points would've been awarded for scala-js usage.

Anyway, if interested, find the code here:

https://github.com/timcharper/reactive-viz

Instructions are in the README.

The impatient can just watch the following video to get an idea of what it does:



Konrad Malawski

unread,
Jan 24, 2015, 4:26:22 PM1/24/15
to akka...@googlegroups.com, Tim Harper
This is really awesome, kudos Tim!
Hoping to get to play around with it a bit more soon.


Answering some in-lined questions you mention:
* We do not yet have websockets in akka-http, but they are on the roadmap :-)
* I think the lack of scala.js can be excused in this case, awesome execution!

-- 
Konrad 'ktoso’ Malawski
Akka @ Typesafe
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+...@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Roland Kuhn

unread,
Jan 24, 2015, 4:35:00 PM1/24/15
to akka-user
Wow that looks awesome, thanks for sharing!

--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+...@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.



Dr. Roland Kuhn
Akka Tech Lead
Typesafe – Reactive apps on the JVM.
twitter: @rolandkuhn


Homer Quan

unread,
Apr 14, 2015, 3:18:07 AM4/14/15
to akka...@googlegroups.com
I just have a idea to create something like this and googled this...

Good job!

Magnus Andersson

unread,
Apr 18, 2015, 7:22:03 PM4/18/15
to akka...@googlegroups.com
Cool! A tool that would allow to instrument arbitrary flows or actor systems and then visualize them for monitoring during dev, test or even in production would be very attractive!

Does anyone know of products like this available today for the Akka ecosystem?

/Magnus
Reply all
Reply to author
Forward
0 new messages