WEBVTT

00:00.450 --> 00:05.310
Here's another example of where differing goals between management and engineering could lead to communication

00:05.310 --> 00:06.390
breakdowns.

00:06.540 --> 00:09.480
Now, you're probably worried about short term returns.

00:09.480 --> 00:13.830
As a manager, you have some goals, some project you want to get done within the next few months,

00:13.830 --> 00:16.740
and that's as far ahead as you're more or less thinking of, right.

00:16.770 --> 00:19.710
Engineers, however, need to live with this thing that you're building.

00:19.710 --> 00:25.170
They need to think about the long term maintainability of this new system you're asking them to build.

00:25.170 --> 00:27.210
It's not going to go away after it's built.

00:27.210 --> 00:28.230
It needs to be maintained.

00:28.230 --> 00:32.010
It needs to be kept up to date as new architectures and new systems come out.

00:32.010 --> 00:35.130
They'll need to update this system going forward forever.

00:35.400 --> 00:39.150
Engineers are going to be thinking about how do I support this code in the long run?

00:39.150 --> 00:43.140
How do I support this system in the long run, not just how do I get it done?

00:43.140 --> 00:48.940
In the short term, you're thinking, how can I extract value from this project as soon as possible?

00:48.960 --> 00:52.380
They're thinking, How do I maintain this thing going on forever?

00:52.410 --> 00:54.030
Never the twain shall meet.

00:54.060 --> 00:57.930
Well, it doesn't have to be that way, you know, as long as we have open communication about those

00:57.930 --> 01:03.310
two sides of the story, then we can build the right thing and make it maintainable as well.

01:03.340 --> 01:05.590
We need to talk here about technical debt.

01:06.310 --> 01:11.530
Again, the point of this course is to empathize with your engineers, understand how they're thinking,

01:11.530 --> 01:15.540
and if you understand their concerns, that will lead to better communication with them.

01:15.550 --> 01:19.390
Now, it's easy to assume that engineers just spend all their time building things.

01:19.390 --> 01:23.890
You know, when you're scheduling a project, you might just say, Oh, it would take this engineer

01:23.890 --> 01:26.860
this much time, heads down coding to get this out the door.

01:26.860 --> 01:29.110
And you think that all that time is available.

01:29.110 --> 01:32.020
It's kind of the mythical man-month, but only at an individual level.

01:32.230 --> 01:37.540
It's not true that engineers have eight hours a day available to write code for your new system.

01:37.540 --> 01:40.540
In reality, they're supporting the old stuff too.

01:41.030 --> 01:43.190
They have to keep those old things running.

01:43.190 --> 01:43.730
They break.

01:43.760 --> 01:44.660
They need to be updated.

01:44.660 --> 01:45.650
They need to be replaced.

01:45.650 --> 01:50.510
The technology they depend on may change and may require updates and changes to the system to keep it

01:50.510 --> 01:50.970
going.

01:50.990 --> 01:54.500
This happens forever because technology is always changing.

01:54.500 --> 01:56.420
Servers are always breaking down.

01:56.420 --> 01:58.430
The scale to a system might change.

01:58.430 --> 02:02.270
The number of customers hitting it might change the requirements, might change things.

02:02.270 --> 02:04.040
Just don't sit there and run forever.

02:04.040 --> 02:04.820
Automatically.

02:04.820 --> 02:09.470
They require ongoing maintenance and that means that you need to live with the technical decisions of

02:09.470 --> 02:10.370
the past.

02:10.370 --> 02:15.530
So you may find it frustrating as a manager or a project manager when engineers come back to you and

02:15.530 --> 02:17.720
say, Hey, you know, it's not really that simple.

02:17.720 --> 02:22.400
We need to do something a little bit more complicated here, a little bit more robustly to make sure

02:22.400 --> 02:25.220
I can maintain the system effectively going forward.

02:25.250 --> 02:29.390
Now, in the short term thinking that might not make sense to you, but for an engineer who needs to

02:29.390 --> 02:34.040
live with this system going forward, they want to invest that extra time to make sure it's not going

02:34.040 --> 02:36.320
to wake them up at 2 a.m. when things break.

02:37.250 --> 02:42.380
Now, you may be part of the problem if you're not having that conversation with your engineers about

02:42.380 --> 02:47.210
the maintainability of the systems you're building, you may be pushing them to push something out the

02:47.210 --> 02:51.500
door that is not maintainable and that's going to come back to bite you at the end of the day.

02:51.500 --> 02:51.830
Right.

02:51.920 --> 02:56.090
Because later on, you're going to want these same engineers to build something else and they're not

02:56.090 --> 03:00.200
going to be able to do it as fast as you'd like because they're busy maintaining this other system that

03:00.200 --> 03:02.090
was rushed out the door too quickly.

03:02.390 --> 03:05.100
The impact of technical debt can be large.

03:05.120 --> 03:07.910
Engineers may be building on antiquated frameworks.

03:07.910 --> 03:11.240
That framework might become unstable or it might have trouble scaling up.

03:11.240 --> 03:11.510
Right?

03:11.510 --> 03:16.220
So a system that you built ten years ago might not be able to cope with the traffic that it's seeing

03:16.250 --> 03:18.230
today just because your business has grown.

03:18.840 --> 03:23.400
And they might be spending more time keeping those old systems alive than building new systems.

03:23.430 --> 03:28.470
There comes a point in technical organizations where they have to bite the bullet and go back and port

03:28.470 --> 03:30.330
these old systems to newer frameworks.

03:30.330 --> 03:34.770
Just because the old frameworks are no longer compatible with new systems or they can't keep up with

03:34.770 --> 03:36.940
the demand of today's customers.

03:36.960 --> 03:41.370
And as you're building more and more new systems, it's more knowledge they have to juggle around.

03:41.370 --> 03:46.290
So it's not just the debt of having this antiquated technology around that needs to be maintained and

03:46.290 --> 03:46.890
updated.

03:46.920 --> 03:50.930
It's also the mental context switching of your engineers, right?

03:50.940 --> 03:53.430
Remember, engineers like to focus on things.

03:53.430 --> 03:55.260
They want to focus on one thing and get it done.

03:55.260 --> 03:56.640
They like building things.

03:56.640 --> 04:01.320
And the more different systems you throw at them to maintain, the more they have to switch gears in

04:01.320 --> 04:01.800
their head.

04:01.800 --> 04:06.870
So when this old system from ten years ago suddenly breaks and they have to go fix it, suddenly they

04:06.870 --> 04:12.150
have to change their way of thinking as to how that old system was engineered, how it works and how

04:12.150 --> 04:13.980
to debug it and how to maintain it.

04:14.220 --> 04:20.320
All that context switching can be very expensive to an engineer's flow state, right As they go back

04:20.320 --> 04:24.400
and forth between these systems, it's going to cut into their productivity more than you might think

04:24.400 --> 04:29.110
because it takes time to get their head back into the right frame of mind for a different system or

04:29.110 --> 04:31.270
for the newer systems that you want them to build.

04:32.180 --> 04:33.320
So what do you do about it?

04:33.350 --> 04:35.120
How do you deal with existing technical debt?

04:35.150 --> 04:39.110
Obviously, if your company has been around for any length of time, they're going to have some older

04:39.110 --> 04:41.300
systems that need to be maintained.

04:41.300 --> 04:43.580
But you need to at least understand what that is.

04:43.610 --> 04:45.980
And here's where the communication part comes in, right?

04:45.980 --> 04:51.230
So just ask your engineers how much time are they spending, keeping old systems running?

04:51.230 --> 04:55.790
How is that impacting their current schedules that will allow you to make better estimates on how long

04:55.790 --> 05:01.370
it takes to get new things built and will also let you make better decisions about when to invest,

05:01.370 --> 05:06.440
the time to go back to those old systems and make them more maintainable and more scalable going forward.

05:06.440 --> 05:11.030
Sometimes that's the right thing to do and in the long run it will buy you more time at the end of the

05:11.030 --> 05:11.540
day.

05:11.540 --> 05:15.640
So ask yourself, should some of these older systems just be retired?

05:15.650 --> 05:20.240
Are some of these old systems not really providing much business value these days?

05:20.240 --> 05:24.350
If you find that you if you go to your engineers and you say, hey, how much time are you spending

05:24.350 --> 05:25.460
maintaining this old system?

05:25.460 --> 05:30.380
And they say, I'm spending ten hours a week on this dang thing, if that system's not even seeing any

05:30.380 --> 05:34.860
traffic or not providing much value to the business, the right answer might be to shut it down.

05:34.860 --> 05:41.610
Okay, so ask yourself that Would it save time in the long run to shore them up or to replace them?

05:41.610 --> 05:46.470
So if it does provide business value, if you don't want to just shut it down, is it actually a good

05:46.500 --> 05:51.390
business decision to invest some time in making it more maintainable to make sure they're spending less

05:51.390 --> 05:56.310
time maintaining that system going forward or to replace it with some newer technology from the ground

05:56.310 --> 05:56.730
up?

05:56.730 --> 05:58.550
Sometimes that's the best thing to do, too.

05:58.590 --> 06:03.630
You know, if you can focus all of your engineers on one framework, one system, again, that's less

06:03.630 --> 06:05.940
context switching they have to do during the day.

06:06.740 --> 06:10.490
But have a bias toward retiring systems versus rebuilding them.

06:10.760 --> 06:16.970
Building Rebuilding a new internal platform or building a new frameworks rarely has business value for

06:16.970 --> 06:22.700
any foreseeable length of time, So usually if you're on the fence between shutting a system down and

06:22.700 --> 06:26.930
rebuilding it from the ground up, the right answer is usually to just shut it down.

06:26.960 --> 06:28.850
Honestly, your engineers will thank you for it.

06:28.850 --> 06:30.590
It's one less thing they have to maintain, right?

06:30.590 --> 06:32.630
So do that when you can.

06:33.320 --> 06:36.110
Your engineers would love to build some big new framework.

06:36.470 --> 06:40.670
They love building big systems, and that's frankly what they're rewarded for doing.

06:40.670 --> 06:42.380
And we'll talk about that more later on.

06:42.380 --> 06:44.480
But it's not always the right thing for the business.

06:44.480 --> 06:50.510
So given the choice between some big expensive re architecture, some big new framework being developed,

06:50.510 --> 06:53.630
and two, shutting something down, shut it down if you can.

06:54.260 --> 06:57.770
How do I prevent new technical debt from creeping in?

06:57.800 --> 07:00.350
Well, I'm here to preach simplicity.

07:00.380 --> 07:03.660
Make sure that you're always discouraging overly complex designs.

07:03.680 --> 07:08.190
Make sure you're communicating with your engineers about how complex the solutions are that they are

07:08.190 --> 07:08.980
proposing.

07:09.000 --> 07:10.710
Is there a simpler way to do it?

07:10.740 --> 07:13.980
Sometimes it comes down to the requirements that you've given them.

07:13.980 --> 07:18.390
Maybe the business requirements are overly complex to begin with, and there are some that you can roll

07:18.390 --> 07:20.280
back to make the design more simple.

07:20.310 --> 07:24.160
Always push them to develop the simplest solution to a problem that you can.

07:24.180 --> 07:27.660
Engineers are rewarded for building complex systems.

07:27.660 --> 07:29.250
That's what they're promoted for doing.

07:29.250 --> 07:29.820
Right.

07:29.820 --> 07:31.500
But it's not the right thing for the business.

07:31.500 --> 07:35.970
If you can simplify a system, make sure that it's only doing the bare minimum for what it needs to

07:35.970 --> 07:39.240
do, that will make everybody more effective in the long run.

07:39.270 --> 07:42.570
Leverage existing systems before you build new ones too as well.

07:42.570 --> 07:47.250
So if there's already a system in production that you can take advantage of, maybe extend it a little

07:47.250 --> 07:52.200
bit or expand its capacity a little bit, that's always the right thing to do as well.

07:52.800 --> 07:53.310
A little story.

07:53.310 --> 07:57.720
Back when I worked at Amazon, we used to have a very general purpose database solution.

07:57.720 --> 07:59.100
They were called Berkeley Databases.

07:59.100 --> 08:04.140
This is before we had big distributed cloud based databases, but we used that thing for everything.

08:04.620 --> 08:09.960
It turns out that a simple concept of a key value store to this day solves a whole lot of problems if

08:09.960 --> 08:10.820
it's scalable.

08:10.830 --> 08:15.300
So a lot of times there's some existing system out there that maybe you can just repurpose or extend

08:15.300 --> 08:17.870
or expand upon to meet what you need to do.

08:17.880 --> 08:23.070
If you just frame the problem in the right way, you don't always have to build a new system to have

08:23.070 --> 08:24.180
a new project.

08:24.840 --> 08:28.860
And if you need to simplify your requirements to make that possible, do so.

08:29.100 --> 08:34.200
If there's one little thing that you want that makes it not possible to use an existing system, maybe

08:34.200 --> 08:38.670
you should rethink that requirement because you're going to get things done a whole lot faster if you

08:38.670 --> 08:41.970
can leverage existing technology versus building new technology.

08:41.970 --> 08:46.170
And again, it takes communication with your engineers to realize that's an option.

08:46.470 --> 08:51.870
Some key phrases when you're talking to your engineers about technical debt, ask them how much time

08:51.900 --> 08:53.220
are you spending on maintenance today?

08:53.220 --> 08:57.600
Make sure you understand the cost of the existing technical debt, because that will help you make better

08:57.600 --> 09:00.750
estimates of how long it will take them to get new things done.

09:00.870 --> 09:05.700
Ask them how do our existing frameworks limit how you approach this problem?

09:05.700 --> 09:10.620
Sometimes the technology they have at hand is really hobbling them and it might be time to go back and

09:10.620 --> 09:13.020
expand those frameworks or move to new ones.

09:13.350 --> 09:18.870
Ask them how are there specific requirements of this project that are making the long term maintenance

09:18.870 --> 09:19.950
of it costly?

09:19.980 --> 09:24.510
Are there certain things that we've built into this project that make it hard to scale, that make it

09:24.510 --> 09:26.280
hard to maintain going forward?

09:26.310 --> 09:31.620
If so, maybe we should question those requirements or at least change them to be a little bit less

09:31.620 --> 09:33.540
costly from a long term standpoint.

09:33.570 --> 09:38.310
Again, you need to talk to your engineers to figure that out because as a project manager or even as

09:38.310 --> 09:41.730
a technical manager, it's going to be hard to figure that out on your own.

09:41.850 --> 09:47.700
Ask them how can we simplify this system To make it more maintainable, you need to preach simplicity.

09:47.730 --> 09:52.620
Push your engineers towards simple solutions and make sure you communicate that the reason you're doing

09:52.620 --> 09:56.060
this is to make the maintainability of the system better in the long run.

09:56.070 --> 09:59.430
You're trying to reduce technical debt by keeping a system simple.

09:59.430 --> 10:01.560
There are few fewer things that can break, right?

10:01.560 --> 10:06.720
So if you have a system that's made of 100 different components all talking to each other across different

10:06.750 --> 10:11.610
networks and different parts of the world and whatnot, that's a lot of things that can go wrong and

10:11.610 --> 10:12.780
they will go wrong.

10:12.780 --> 10:17.640
Whereas if you have a very simple system that's just made of maybe one layer of database hosts and maybe

10:17.640 --> 10:22.470
a thin cache above it or something like that, that's going to be a lot more maintainable, a lot more

10:22.470 --> 10:23.670
easy to keep up and running.

10:23.670 --> 10:30.420
So push them toward the simplest possible solution to achieve your business objectives and bonus that

10:30.420 --> 10:31.890
will shorten your schedule as well.

10:32.770 --> 10:36.790
Ask them how can we leverage existing systems to simplify development?

10:36.850 --> 10:38.690
Engineers love building new things.

10:38.710 --> 10:39.760
That's what they're paid to do.

10:39.760 --> 10:41.330
That's what you promote them for.

10:41.350 --> 10:43.690
But it's not always the right thing for the business.

10:43.690 --> 10:48.280
If there's an existing system out there that almost does what you need it to do, maybe it makes sense

10:48.280 --> 10:52.510
to just build on top of that existing system than building a whole new one from scratch and having this

10:52.510 --> 10:55.510
whole new system that you're going to have to maintain forever.

10:55.540 --> 10:58.600
That's going to eat into your team's productivity forever.

10:58.630 --> 11:03.910
So keep these phrases in mind when you're talking to your engineers about new projects and understanding

11:03.910 --> 11:06.010
the impact they have on technical debt.
