The Role of an Architect on a Scrum Team
The Role of an Architect on a Scrum Team
Learn about the role of an architect on a scrum team, their value for long-term vision, and their ability to bridge the gap between developers and the product owner.
Join the DZone community and get the full member experience.Join For Free
None of the Agile, Lean, or Scrum principles have a formal definition of responsibilities for a Software Architect. Some companies take it to the extreme and not hire a architect at all. Others that do hire one are not clear on architect’s role within the agile context.
Do You Need an Architect?
Well, at a very fundamental level, whether to have an architect or not depends on:
- The size and complexity of the project
- Duration of the project – both in terms of development and maintenance life cycles
- What is at stake technically, i.e are there any critical requirements that the project MUST meet in order to be even considered worthy? Does it need a specialist position to be looked after?
- Are the developers skilled enough to step back from coding and look at the big picture? Or do they always tend to start coding the first idea that comes to their mind?
- Is there technical leadership in the team? If not, can the developers step up and take decisions that have a wide and long lasting impact?
- Does the PO have a technical understanding to come up with not just the business level features but also the non-functional features?
Often, the stakeholders and the managers do not have a technical background to understand the complexity of the project and the importance of good architecture. The tendency is to believe that the developers can keep “coding away” to deliver the project. The developers also believe that they can keep “coding away” and handle things as they come by. After all, isn’t Agile all about adaptability, quick delivery, developing with no long term vision in mind etc? Right?
What Could Go Wrong Without an Architect?
The aforementioned beliefs have seen many a projects fail. With no architect (or a person who handles similar responsibilities) in place, things might look rosy in the first few sprints (when minimal functionality is being delivered), but will take a turn for the ugly as sprints go by.
An architect’s role is one of the few that needs to swim against the Agile tide and avoid massive changes in every sprint. It is also one of the few roles that needs to have a long term vision of the product, beyond the next couple of sprints.
As time goes by to make a change in the code becomes a nightmare, because the code was being written with a tunneled vision of the system, by ignoring the wider system and by ignoring what’s coming in the future. There will be no framework in place, no standard practices, each part of the code will be written with different assumptions in mind because each of the developers have different ideas. The modules will not scalable, implementing simple features takes a lot longer time than expected.
The stakeholders then begin to wonder why the technical team is unable to deliver at the same speed as in the beginning of the project. The scrum master goes crazy over why the team’s velocity is dipping with each sprint.
In agile, the fundamental principle is that things could change quickly and the team needs to adapt to those changes.
However, an architect’s role is one of the few that needs to swim against the Agile tide and avoid massive changes in every sprint. It is also one of the few roles that needs to have a long term vision of the product, beyond the next couple of sprints.
Add to the mix ever-changing requirements and project deadlines, and then you have a role that deserves more attention it currently gets.
The above are just a small list of the reasons why it makes sense to have an architect. Now a more pertinent question for this post is, "What is the role of the architect, specifically in the agile context?"
Roles and Responsibilities of an Architect
An architect’s role in agile is an extremely challenging one, made more complicated by the fact that it is not well-defined. In a traditional definition, the architect is only responsible for the architecture of the product.
Well, here are are some important considerations for an architect in an agile environment. I have tried to list these items in a generally accepted chronological order, however, in the software world and especially in agile, one size does not fit all. In bigger companies, these tasks might be shared by many roles. In smaller companies, it is generally the architect who handles the below responsibilities.
- Understand from the stakeholders the product to be developed and the high level features needed.
- Understand the release dates. Even the architect should be working against project deadlines, else they tend to be preachers!
- Understand future product plans – things that are not of immediate concern, but need to be considered in advance.
- Any restrictions in terms of technology – either because of company policies or because certain technologies are not permitted in the client environment.
- What are the external systems that the product needs to communicate with?
- Understand the team’s skills. (Ignore this at your own risk!)
- Check if any developers are to be hired or trained.
- Based on the team’s skills, decide on technology stack to be used for the product. In order to help in this process, create prototypes.
- I personally think the architect should code at least prototypes, or else I see no credibility in the decisions that the architect takes.
- Re-evaluate technology choice, create more prototypes.
- Decide on the tooling, for instance what tools will be used by the developers to build the project.
- Decide on what code quality enforcement needs to exist.
- The most important aspect is to create the high level architecture and solution. This solution needs to be as flexible as possible to cater to changing needs as the sprints go by.
- Work with the PO and SM to understand what features need to be implemented in the near future (next few sprints).
- Work ahead of the development team at least by 2-3 weeks and decide on a strategy, for instance an architecturally correct approach to implement the user story.
- Work with the PO team regularly to make sure both understand how the solution is going to be implemented. Discuss the drawbacks and advantages.
- Take a pragmatic approach to arrive at a solution that fits both the business and the technical needs of the system. Also, be open for new ideas from both PO and developers.
- Manage the quality of code and technical debt. For more information, see Architecture and Quality considerations.
- Create “technical” user stories that the PO might have missed or needs architect’s help to write.
- Support the development team.
- Bridge the gap between the PO and the development teams. An important aspect in doing this is to manage conflicts between PO and development team. The PO/SM are always going to push for quick development, and it’s the architect’s responsibility to make the POs understand the “proper” way of approaching the solution through the right architecture and software development principles. See Product Owner & Team communication.
- After the development team has completed implementation, review their work and make suggestions.
- Always stay up to date with both PO as well as development team’s work.
Published at DZone with permission of Deepak Karanth , DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.