Introducing Scatter Flow Diagram For Performance Engineering

Other than the application architects, most often than not, performance engineers are the next people to know the overall application architecture and how everything fits together & communicates. Sometimes they are the only ones who understand it b…


This content originally appeared on DEV Community and was authored by Harinder Seera ??

Other than the application architects, most often than not, performance engineers are the next people to know the overall application architecture and how everything fits together & communicates. Sometimes they are the only ones who understand it better.

A while back a colleague reached out to me and requested I give him a high-level application architecture walk-through. He wanted to have this knowledge so he could debug a performance degradation. During the walk-through of the architecture, I was also producing response time scatter plots from different components to help him with his investigation. I was educating him but also helping him narrow down potential areas to focus his investigate.

Architecture was complex and it required different system data to be analyzed. It became apparent to me that I needed a different and some what simple approach to help him better understand the architecture and make sense of the data. Hence I came up with Scatter Flow Diagram (shown below).

Alt Text

Scatter Flow Diagram is a novel way of combining high-level application architecture with scatter plot. It visualizes ingress and egress response time using scatter plots for each component. It overlays response time from each component onto the application architecture. It shows the flow of response time (right to left) across components and how it varying.

I found the following benefits of using the Scatter Flow Diagram:

  • Visually we could see which component(s) are potential areas for his investigation. It gave him the starting point. This also helped him engage the right people to debug and fix the problem (highlighted below).

Alt Text

Leftmost graph response time ranges from 0 to 4000ms. The rightmost graph response time ranges from 0 to 600ms. Plus the leftmost graphs have a higher response time variance compared to the other two.

  • He could share this visualization with other team members (within or outside) and observation easily viewable. Diagram visualized the data backing his observation. Teams didn't have to run multiple queries to extract and visualize the data or look at different dashboards.
  • Different teams could also see the high-level architecture of how their own component communicates with other component.
  • It was easy for us to overlay & visualize how response time was changing across each component.
  • Also it highlighted areas where Observability was lacking.

This same diagram can be extended to response code or error rate across different components.

Thanks for reading!

If you enjoyed this article feel free to share on social media ?

Say Hello on: Linkedin | Twitter

Github repo: hseera


This content originally appeared on DEV Community and was authored by Harinder Seera ??


Print Share Comment Cite Upload Translate Updates
APA

Harinder Seera ?? | Sciencx (2021-06-18T10:08:01+00:00) Introducing Scatter Flow Diagram For Performance Engineering. Retrieved from https://www.scien.cx/2021/06/18/introducing-scatter-flow-diagram-for-performance-engineering/

MLA
" » Introducing Scatter Flow Diagram For Performance Engineering." Harinder Seera ?? | Sciencx - Friday June 18, 2021, https://www.scien.cx/2021/06/18/introducing-scatter-flow-diagram-for-performance-engineering/
HARVARD
Harinder Seera ?? | Sciencx Friday June 18, 2021 » Introducing Scatter Flow Diagram For Performance Engineering., viewed ,<https://www.scien.cx/2021/06/18/introducing-scatter-flow-diagram-for-performance-engineering/>
VANCOUVER
Harinder Seera ?? | Sciencx - » Introducing Scatter Flow Diagram For Performance Engineering. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/06/18/introducing-scatter-flow-diagram-for-performance-engineering/
CHICAGO
" » Introducing Scatter Flow Diagram For Performance Engineering." Harinder Seera ?? | Sciencx - Accessed . https://www.scien.cx/2021/06/18/introducing-scatter-flow-diagram-for-performance-engineering/
IEEE
" » Introducing Scatter Flow Diagram For Performance Engineering." Harinder Seera ?? | Sciencx [Online]. Available: https://www.scien.cx/2021/06/18/introducing-scatter-flow-diagram-for-performance-engineering/. [Accessed: ]
rf:citation
» Introducing Scatter Flow Diagram For Performance Engineering | Harinder Seera ?? | Sciencx | https://www.scien.cx/2021/06/18/introducing-scatter-flow-diagram-for-performance-engineering/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.