Showing posts with label distributed agile. Show all posts
Showing posts with label distributed agile. Show all posts

Tuesday, June 16, 2009

Hyper-Productive Distributed Teams?

Agile and distributed development are not supposed to be able to co-exist. Co-located teams are supposed to be one of the key tenants of Scrum.

If you have this (mistaken) belief, then you need to watch this video and presentation. I actually attended this presentation at Agile 2008 in Toronto. If I remember correctly, there were a few skeptics in the room.

The key points are:
  • Ability to leverage benefits of distributed development
  • Fully transparent teams
  • Seeding new teams with talent from existing teams
  • Automated tests
  • Continuous integration, nightly builds, automated tests, performance testing the whole 9 yards
  • High quality developers in both locations
  • A tight definition of done
  • Travel between the two locations
I think the travel between locations is a key aspect of their success, remember that both "sides" of the teams have to be equal. Equal in "power", information, and influence, and treated equally in terms of inconvenience. The "remote" guys shouldn't always be the ones staying at the office late.

Another important point to distributed Agile, or even Agile in general is that practice doesn't make perfect, practice makes habit.

The presentation wraps up with the potentially explosive statement that distributed Scrum has more value then local Scrum. What do you think?

Friday, March 20, 2009

From an Agile Legend

Martin Fowler is very well known in the Agile community, in fact he was one of the authors of the Agile Manifesto. Nearly three years ago he wrote about how his company was running Agile companies with teams in Europe, North America, and India. This was quite a few years before most companies were attempting to work on Agile projects distributed globally.

For the last four years ThoughtWorks has operated a lab in Bangalore India to support our software development projects in North America and Europe. Traditional approaches to offshore development are based on plan-driven methodologies, but we are very firmly in the agile camp. Here I discuss our experiences and lessons learned in doing offshore agile development. So far we've discovered that we can make it work, although the benefits are still open to debate.

These are all lessons that Macadamian was learning during the same time frame, and I sure wish I had seen this guide to running Agile with offshore development way back in 2006. I read this quite some time ago, but I believe the lessons and practices in contained in this guide should be re-read, and reinforced.

If you are working on distributed Agile practices, or are planning to, read this! Don't learn these lessons through the school of hard knocks. :)

Wednesday, August 20, 2008

Agile Anti-Patterns - Part I

In this first of what I hope will be a series of posts about agile anti-patterns that I have either observed at Macadamian, or learned about when I attended the Agile 2008 conference during the first week of August. I am going to talk about the "Hierarchical Anti-Pattern". This is one of the most common anti-patterns I have seen, I have just never though about it before. This is something that I touched on briefly in my last post but am expanding here.

In the "Hierarchical Anti-Pattern" the lead in your team at your global centre does all the talking. In this anti-pattern the person with the most rank or seniority does the talking, not necessarily the person with the most knowledge. This is something that is very common cultures that are very hierarchical, and it is even more prevalent if you are using third party contractors as your offshore development or testing team.

The situation is worse with third party contractor teams as they are your customer! And you have a customer. That is a lot of levels of indirection! Since it is common that people don't want to pass bad news on (not us at Macadamian though right?!) they will be less forthcoming when their is bad news.

Of course we all know that we want the bad news as soon as possible so that we can react and hopefully address the issue.

You cannot allow this situation to develop on your distributed team, the lead in your offshore centre cannot cover for or protect someone on their teams. It will only breed resentment and hostility, and could obscure the true status of the project.

So what can you do?

  1. Everyone dials in from their desks
  2. Everyone stands up during the call (you know, a stand up meeting)
  3. Everyone speaks for themselves
  4. Empower your team
  5. Ask probing questions
  6. Video conferences

One of the easiest ways to help prevent this anti-pattern by ensuring that everyone dials in from their desks for their daily scrums. This will help avoid the side conversations that are necessary for this particular anti-pattern.

You can also (and this one is hard and sort of goofy) have everyone stand at their desks while on the daily scrum call. This one is hard to enforce without web cameras but can also help prevent the side conversations via IM that are required for this anti-pattern. It also has a nice side benefit of preventing the team members from multi-tasking, or even reading /.!

During the actual scrum, you should be sure that everyone speaks for themselves, and that the person you ask the question of answers that question. Ask the question to who should be the subject matter expert, be polite but firm. This can also help expose team members that are coasting or not pulling their weight.

You should also work diligently to create the collaborative atmosphere where team members regardless of rank or seniority feel empowered to speak their minds, and voice their concerns. You can help foster this by asking the team what their thoughts are? What are their suggestions? What can they do to help? Don't isolate all the decision making power on shore.

It is very important to ask probing questions to get to the bottom of the status. Ask questions about the state of development, testing, how much effort is left, what if anything is blocking, how it will be implemented etc. This is related to your delegation technique, and is also extremely important when dealing with with anyone on your team regardless of where they work. Also keep in mind their seniority when validating their answers, sometimes juniors haven't thought their entire way through the problem, they can rely on their lead in these cases to help guide and mentor them.

Video conferences are good to help pick up the quiet guy sitting in the corner of the room. It will also help you see any confusion that might not be prevalent on just a voice call, and allows you to more easily build trust with them as you can see each other. Just don't let technology get in the way of the communication. Don't spend 20 minutes setting up for a 10 minute call. That is not efficient.

There are just a few easy ways to help prevent and correct this anti-pattern, does anyone else have other ideas?

Thursday, August 14, 2008

"OK" is not "OK"

We all know one of the most common causes of project failures in distributed development is poor communication. However, even with constant communication, wiki pages, Skype etc communication can still poor.

Actual language skills (word mastery and accent) and culture can still hamper smooth communication.

To help with the language skills, you can use a tool like Skype where you can talk and type. Sometimes accents and speed of talking can make it hard to understand, in this case you can fall back and use a combination of text and speech. Video conferencing or web cams can also help. Sometimes you see the confusion, but not hear it.

You should also avoid slang and pop culture references like the plague. This can be hard, after all it ingrained in our method of speech. I remember recently I used slang in a quick email I sent to someone with whom I have worked with for years. I said "she's down with that". Of course, I know it means she is happy to do that, he thought the opposite. :)

Culture is always the big elephant in the room. No one wants to address it for fear of being labeled a racist, bigot, or something. This is poppycock. It is vitally important to be aware of it so you know how to tailor your communications to help alleviate it.

For example, in English Canada when someone says OK it is often a short form for "yes I understand and will do it". This is not the same in India for example. Often, when someone on your team responds with "OK" from India it means that they heard it. They may not have understood it, and they may not have agreed to do it either.

You need to fall back on your delegation techniques. These techniques are useful for everyone regardless of where they live or work. After assigning a task or making a request, ensure the recipient understood by asking them questions about the task. You can ask them how long they think they will take, what strategy they will take to complete the task, confirm with them when it has to be done etc. The point of this is not to micro-manage, but to assess the level of understanding so you may act accordingly. Due to the timezone differences, misunderstandings can add a lot of time to your critical path.

Another common issue that is prevalent in some cultures is the deep seated hierarchy based on seniority. In agile teams, all the team members have to be empowered to take decisions, be able to ask questions to the team leader, the customer, or whomever. However, often what happens is that the senior person on the team fronts for the rest of the team. You can tell this is happening because you never hear from the rest of the team on conference calls.

You can help alleviate this by:
  • having everyone dial in from their desks, this will help reduce the side conversations that are necessary in this arrangement;
  • you must also emphasis that you want active feedback from the entire team, you will need to keep emphasizing this and working on it over the course of several months. You can help reinforce this by explicitly asking questions to the full team;
  • video conferencing can also help for those group meetings, it will allow you to see the quiet ones and "pick" on them to contribute.
These are just some quick ideas I have thought of or used in the past. Does anyone else have other suggestions?

Friday, June 20, 2008

Don't be a barking phone

Last night I was talking with one of the other DPMs (I shall call him Toby) here at Macadamian. We were talking about the perception the developers in our global R&D centres have of us.

Toby traveled to Romania and ended up spending nearly 2 weeks there. After he was there, peoples perceptions of him changed. The old perception was that he was an angry person, always mad at something. After Toby visited them in person, they realized hey, he is a pretty swell guy.

Why did they think he was an angry person? It was because most of their interactions with him were not very positive:
  • emails that seemed blunt
  • VoIP calls when they were not performing, or had made a mistake
  • asking them to do something
  • emails asking for status
  • etc
All these interactions where either Toby was in charge, or performing corrective actions.

So what changed on the trip? Well, Toby did these sorts of things:
In short, they realized that hey, Toby is a person, and pretty swell too! It was not that Toby was trying to butter him up, it is just how he is in person.

You as a team leader need to be seen as a person, sure, you are in charge, and you are accountable for the delivery of the projects, but your team is comprised of people and no matter how many times you tell yourself, yes, you are only human.

So, if you are leading a global team, try to visit them in person, and when you can't visit them in person, make sure to follow these simple tips:
  • Prefer voice calls over email
  • When you need to send emails, try reading them aloud to see if they seem harsh or overly critical
  • Don't talk just about business, try to have a water cooler chat every now and again
  • Ask questions like, how has your day been? I heard you were sick yesterday, are you feeling better?
  • Try and schedule the meetings in common hours, if you cannot, try to alternate the times they have to stay late versus you have to come in early
Remember, you don't have to be their friend, but it really helps for you not to be their enemy. And in your spare time, start working on the virtual foozball game for those ad-hoc games, err, I mean design sessions.

Tuesday, June 10, 2008

Toot toot!

Tooting my own horn, my article on "Global Development vs The Agile Manifesto" was published on the Agile Journal. Yay me!