Whiteboard Architecture

April 5, 2015 Adam Berlin

You have a vision of your system’s architecture in your head. How do you share that with your team?

Do Whiteboard Architecture. At Pivotal Labs, our teams do Agile Inceptions [1] to plan out a few months worth of work. Just after an inception is when you have a rough sense of what you’re going to be working on in the upcoming iterations. After planning, take some time to draw out the current architecture of your application and then discuss where the new work fits. Your requirements changed mid-iteration? Gather everyone around and draw a new diagram.

Often, somewhere in an architecture is a Big Ball of Mud which contains code you’ll be needing soon. Discuss how to improve your ball of mud. Maybe new packages are needed. Maybe some packages need to be split. Maybe your terminology needs updating. Your goal here is to create a plan, and not to lock-in decisions. Be agile. Value responding to change over following a plan.

Whiteboard diagrams are disposable, and that’s a good thing. Your drawings only represent your current understanding of the architecture, and the architecture will change. Use your eraser. Draw a new diagram later.

While drawing, it might be a good time to discuss some architecture principles. This will help you explain why you’re making architectural decisions, and is a great chance to spread your thought process and knowledge throughout the team. Share these, for example:

  • Reuse-release equivalence principle
  • Common-reuse principle
  • Common-closure principle
  • Acyclic dependencies principle
  • Stable-dependencies principle
  • Stable-abstractions principle
  • Risk-driven decision making
  • Non-functional requirements/Quality Attributes (scalability, maintainability, usability, extensibility, availability, etc.)
  • Domains, Sub-domains, and Bounded-Contexts

here are some resources:

At Pivotal Labs, our open workspace is surrounded by whiteboards. Every wall is either a whiteboard, a window, or a door. Every team can walk ten steps and be at a whiteboard. We like to use whiteboards for diagramming because they are a low-cost, low-effort way of collaborating on Software Architecture.

To be clear, I’m not advocating for Big Upfront Design. I’m just advocating that you should Have A Plan and then implement, iterate, and look for feedback from your design and team. Because Whiteboard Architecture is cheap and easy, you should be able to gather your team, draw a new diagram, and have everyone on the same page quickly.

As usual, significant architectural decisions should be delayed until the last responsible moment (like the choice of SQL vs NoSQL), but this should not stop you from knowing that data needs to be stored and retrieved.

What tricks do you and your team use to collaborate on Architecture? Please share!

[1] – https://blog.pivotal.io/agile-inception_knowing-what-to-build-and-where-to-start/

About the Author

Biography

More Content by Adam Berlin
Previous
Mini Refactoring Pair Programming Backlog
Mini Refactoring Pair Programming Backlog

Here at Pivotal Labs, the engineers practice Extreme Programming, which means our teams write automated tes...

Next
New Federation Business Data Lake Should Be Your Silver Bullet for Big Data Success
New Federation Business Data Lake Should Be Your Silver Bullet for Big Data Success

This week, EMC is announcing a major milestone for companies looking to transform how they approach big dat...

Enter curious. Exit smarter.

Learn More