Posts tonen met het label Lean. Alle posts tonen
Posts tonen met het label Lean. Alle posts tonen

zondag 25 oktober 2020

DevOps series : Working with teams in a data warehouse (part I)

Introduction

Perhaps, you have been in this situation: imagine the following problem, you have a data warehouse, and it is shared between a large number of teams and you have implemented a version control and a branching strategy like Gitflow or Microsoft flow and you think that you have it all but somehow code is not flowing in cadence into production. Symptoms are that developers are complaining that code breaks because other teams deployed their code too or it's unknown which team is responisble for data objects.

This blogpost is a collection of my experiences at several customers in the last couple of years. I've been working in companies with multiple teams, mostly working with Microsoft technology in data environments. I've been working in DevOps environments where we were working as a team, delivering information products to our customers in the business, together with other teams. This blogpost is a mix of knowledge and experiences of Data-, DevOps- and Lean principles!

Continuous delivery and a data warehouse

We, as data professionals are working in data environments (eg. data warehouses) where we want a common data platform, where entities are well formed designed and structured. We think about the business and we try to model the data according to the processes and the way of working (in a part of) of the company. This will result in a common data model implemented in a database. 

I've seen that multiple teams are working on separate parts of the database, but sometimes teams are dependent on the work of other teams because they use data entitites of other teams. Sometimes there are entities that are hotspots of usage between different teams. Think about entities like Customer, Employee or Organization. These are common used entities in a data warehouse. But there are also entities that are not used by other teams in their part of the data architecture. 


In the example above, Team 3 has dependencies between objects that are maintained by team 1 and 2. This could be an ETL dependency. Now, if one of the teams changes the referenced object, Team 3 has a problem. The ETL logic will result in a 'failure'. This is a very common situation when teams are working in a common data architecture and this is an annoying problem and it is hard to fix.

Final thoughts

What if we could find a way for teams to deliver their code as much as possible independent from the other teams to production and where dependencies are there, can we manage these dependencies? Are there ideas on how solve the ambiquity, who is responsible for what, and can we use methods like branching by abstraction to manage dependencies between teams?

How can we achieve a complete data platform (data warehouse) with the advantages like subject-oriented, integrated, time-variant and non-volatile (Inmon) and deliver your products as fast as possible to the business. Data warehouses had a bad name in the past, and data vault and other flexible techniques helped to deliver faster to the business. An extra challenge is the number of teams that work on a data ware house. How should they balance their priorities between speed of delivery and the integrity of a data warehouse? If they focus on the speed of delivery, less attention is paid to the integrity and the other way around focus (only) on the integrity, less and less is delivered to the business. Off course integrity of the data warehouse is important, but delivering code to production is as important as well.

This is the first blogpost about DevOps and lean principles and working in data environments like data warehouses. I'm planning to write more about this topic in the future. 

Hennie

zondag 21 februari 2016

Lean

Introduction

I'm a fan of Lean Six Sigma. The pragmatic toolbox of Lean and Six Sigma has all kinds of tools and helpful aids to improve processes. In the past I have learned tools like Ishikawa (fishbone diagram), 5 times why, and Value Stream Mapping.

The helpful tools of LSS can help your project or department to gain more efficiency, to be more effective and to have more fun. With the tooling you can iteratively improve your way of work. And it doesn't need much time to do it. Just ask your team members every week their biggest irritation and improve this in a PDCA or DMAIC cyclus. Another great tool is to improve the visibility and communication in your team with a Kanban board.

Many of the things you learn, you can adopt this in your daily work and personal life. The way of thinking helps you improve processes or your daily life. Looking at my desk I could adopt the 5S method for sure ;-)

History

Lean started when processes became more common, for instance when Henry Ford started to build T - Fords. As soon as a process involved you can improve the process by making (small) adjustments to the process. Off course, Toyota is the example of Lean implementation in a automobile factory, called Toyota Production System (TPS), but it were the Americans that helped the Japanese build up the industry after World War II. Deming was the person that showed that you can increase quality with lower costs, by reducing wastes and more. The PDCA cyclus embodies the continuous improvement. See here for information.

Lean basics

There are 5 dimensions to support improvement in Lean : customer, process, organization, performance and behavior & attitude. There is nothing to add value when there is no customer. Customers wants products and services to add value to his or her work or life. There is also a process that you want to improve and bring it under control with people, materials and the talents of people. It's also needed to shape the organisation in order to maximize the value. And, how do we need to measure this? There are steps that improves the overall performance and there steps that brings down performance and you want to know this.





The goal is to optimize adding value (value add) to the activities instead of non value tasks (non-value add). Examples of value adding work are building a data warehouse or an analysis. Examples of non value adding activities are doing more than needed or rework. There are also activities that are needed but do not add value to activities, but it needs to be done (necessary non-value add), for instance testing.

Lean is a continuous improvement approach and focuses on design and improvement of the process. ITIL also talks about continuous improvement but does not give you the toolbox how to improve the process. Lean will you give you tooling how to execute continuous improvement.

Conclusion

This blogpost is a small blogpost about Lean. Lean is in the same category as scrum or agility and I'm convinced they can work together in synergy.

Greetz,

Hennie