google-site-verification=ELxx8BxZxh0FRvrpsz3X3djO2LXa4N0xnq_ADRpt8wA Getting your Evenings and Weekends Back - Loving Legacy

Episode 14

Getting your Evenings and Weekends Back

Making software is fun. Running software can be less fun. How do you do both and not go insane? How do you make sure you're not working all the time to keep your (virtual) baby up in the air?

The same rules apply whether you're a startup, a scale-up, a corporate, an individual, an open source project contributor. You're part of your own support problem.

This time I discuss what it's like to be a coder who wants to have it all - the good times and the bad times - but wants to limit the bad times to working hours only. I hope you enjoy it as much as I made recording it.

NOTES

XKCD 242 - The Difference:

https://xkcd.com/242/

Brian Scanlan about Intercom's approach to on call.

https://www.intercom.com/blog/rapid-response-how-we-developed-an-on-call-team-at-intercom/

And he talked about this recently on Adventures in DevOps:

https://topenddevs.com/podcasts/adventures-in-devops/episodes/reducing-on-call-engineer-burnout-with-a-volunteer-management-infrastructure-devops-121

Inspiring music that helped me write this:

https://en.wikipedia.org/wiki/Milk_%26_Kisses

https://en.wikipedia.org/wiki/Reading,_Writing_and_Arithmetic

QUOTES

01:25 - How did it feel the first time you wrote something in a computer language that maybe you just learned and it worked perhaps first time

02:50 - We're in that space where creation is flowing. But at some point reality bites. Then we need to do something with this thing that we've created.

5:05 - What is happening tonight? Mummy, why can't we go out to the zoo this weekend? I know guilt right. The point I'm really laboring here is that one should be proud of your creations.

05:18 - All of our creations need us. All of these things are calling for our time.

06:48 - Some of the most successful systems on the planet have been built on a knife edge of functional validity.

07:43 - Your job is therefore to minimize that risk and ensure that you can roll back or fix forward with the least possible effort.

09:21 - Be aware of your legacy as a coder. Think carefully about how your persisted data will be managed.

Transcript
Speaker:

Welcome to the software delivery club.

Speaker:

Every week, I explore different aspects of the business of delivering

Speaker:

software, into production, talking about subjects that I find crucial to

Speaker:

good software delivery, as well as to industry experts about how they get to

Speaker:

keep their production software running.

Speaker:

I want to know whether they build or buy, how they cope with new

Speaker:

features and product changes.

Speaker:

How they keep the customer satisfied while also making that engineers happy.

Speaker:

I'll also talk about what tools we like to use, which ones we don't as

Speaker:

well as tales from the front line, when it comes to delivering and

Speaker:

supporting production grade software.

Speaker:

Thanks for joining me.

Speaker:

I'm Richard Bown, your host.

Speaker:

And I'm struggling with a post COVID brain and getting anything together has been a

Speaker:

bit of a struggle last couple of weeks.

Speaker:

However, with the help of my friends, I think I'm getting there.

Speaker:

So this is episode 14 of the software delivery club.

Speaker:

All about getting your evenings and weekends back.

Speaker:

So what's the most important thing about building software?

Speaker:

Is it the process we follow?

Speaker:

Is it the tools we use?

Speaker:

Is it the IDE we have to agree on, is it the command line

Speaker:

versus the click to click?

Speaker:

Do we all have a favorite infrastructure provider?

Speaker:

Do we have a favorite tool?

Speaker:

What about CD?

Speaker:

Did we do it?

Speaker:

Do we like it.

Speaker:

Does any of this actually matter?

Speaker:

Are we all caught up on too many details.

Speaker:

Think about something for a second.

Speaker:

How did it feel the first time you wrote something in a computer language

Speaker:

that maybe you just learned and it worked perhaps first time, perhaps not.

Speaker:

And it worked.

Speaker:

And just for a moment, she took a look at it and thought, huh?

Speaker:

Yeah.

Speaker:

I remember that moment.

Speaker:

It didn't last long.

Speaker:

Did it?

Speaker:

Because you were already onto the next thing.

Speaker:

How can I make the next thing work?

Speaker:

Challenge, fixed.

Speaker:

Move on.

Speaker:

Next challenge.

Speaker:

As computer nerds are software developers or engineers or testers or dev ops or

Speaker:

whatever we call ourselves these days.

Speaker:

We are not satisfied with just fixing it once or doing one thing.

Speaker:

We want to do it again, but different.

Speaker:

We are that XKCD cartoon 2 42.

Speaker:

It's called the difference.

Speaker:

You know, the one.

Speaker:

It shows how a normal person thinks versus how a scientist thinks.

Speaker:

The normal person thinks that's bad.

Speaker:

When they get electrocuted and the scientist or the engineer

Speaker:

or the wanderer wants to know if that's always going to happen.

Speaker:

We the software types are that wanderer.

Speaker:

We are that person.

Speaker:

The one who wants to know if that will always happen when you

Speaker:

do that and what happens next?

Speaker:

When you push things, when you break things.

Speaker:

Because inventing is breaking.

Speaker:

There's a world of difference between that feeling when we're

Speaker:

discovering and exploring and trying, and the world of reality.

Speaker:

When we are searching.

Speaker:

We are finding out we are creating.

Speaker:

And often making it up as we go along.

Speaker:

We're in that space where creation is flowing.

Speaker:

But at some point reality bites.

Speaker:

Then we need to do something with this thing that we've created.

Speaker:

It doesn't matter if we're a soloist or if we're an open source contributor, or if

Speaker:

we get paid for our code and our effort.

Speaker:

We want to do something with it.

Speaker:

It needs to find a life beyond what is found so far with just ourselves.

Speaker:

So we share it.

Speaker:

And we show it off.

Speaker:

And we let others play.

Speaker:

At that moment, our creation becomes someone else's.

Speaker:

So how do we make sure that the creation lives in a way that we want it to?

Speaker:

How do we ensure that the delivery of our idea.

Speaker:

As fully formed as our imagining of it.

Speaker:

It's time to get serious.

Speaker:

We put tests in.

Speaker:

We make CI pipelines.

Speaker:

We struggle with more tools.

Speaker:

We put change process in place we deliver, we fix, we deliver, we add.

Speaker:

The thing that we've created almost changes completely, before our eyes.

Speaker:

New features.

Speaker:

New bug fixes.

Speaker:

New opportunities.

Speaker:

New users, new requirements, the software that we once thought about

Speaker:

as ours is now fully someone else's.

Speaker:

How do we then prevent disaster?

Speaker:

When we make a change, we put more tests in, we do more integration testing.

Speaker:

We add a UAT phase.

Speaker:

We add more environments, more people, more complexity, more planning.

Speaker:

We get burned by bad deployments, perhaps.

Speaker:

So we invest in more automation.

Speaker:

We learned the limitations of our existing infrastructure.

Speaker:

We regret not building in a more scalable manner.

Speaker:

We try to integrate a microservice or two and get bogged down

Speaker:

in Kubernetes management.

Speaker:

Above all.

Speaker:

We work with more people.

Speaker:

Our creativity is not our own anymore.

Speaker:

We have to learn to share.

Speaker:

So to sum up life becomes more complicated.

Speaker:

And bear in mind, we don't live in a bubble.

Speaker:

This is only our worklife.

Speaker:

Our time is spent in front of a screen giving virtual birth to a new creation.

Speaker:

But other things happen to us.

Speaker:

During the time we work on our software.

Speaker:

We meet people.

Speaker:

Children are born and grow older.

Speaker:

Where are you?

Speaker:

Daddy?

Speaker:

What is happening tonight?

Speaker:

Mummy, why can't we go out to the zoo this weekend?

Speaker:

I know guilt right.

Speaker:

The point I'm really laboring here is that one should be proud of your creations.

Speaker:

Your code your product, your children.

Speaker:

If you have them.

Speaker:

All of our creations need us.

Speaker:

All of these things are calling for our time.

Speaker:

It's up to you to prioritize what that means to you.

Speaker:

These dependents should all have priority.

Speaker:

And the right priority that they deserve.

Speaker:

So let's get back to the subject.

Speaker:

How can you make delivering into production as simple as you can.

Speaker:

How can you get your evenings and weekends back without deployment hell?

Speaker:

When it comes to delivering software into production.

Speaker:

It's better to do it during the daytime, right?.

Speaker:

It's better to do it not on a weekend or on an evening.

Speaker:

We can lavish some of our precious work time on those needy dependents, but

Speaker:

don't let them take your sleep too.

Speaker:

So can we do this for all software situations?

Speaker:

For everything you betcha.

Speaker:

It's just a simple case of prioritizing this way of work.

Speaker:

Acknowledging that it won't be something you might be able to solve perhaps this

Speaker:

week or next week, or even next month.

Speaker:

But like anything else in your backlog of work, you can prioritize

Speaker:

downtime, free production releases.

Speaker:

If you truly value them.

Speaker:

But this will take investment of time and energy.

Speaker:

So let's, take a look at a few examples.

Speaker:

A SaaS is simple to instruments and automate, right.

Speaker:

Wrong.

Speaker:

A billing system or a back office system, like a general ledger might be simpler

Speaker:

still at first glance, but then there's environment management, data management.

Speaker:

It gets complicated.

Speaker:

An OLTP system is already architected in such a way that new

Speaker:

deployments are trivial, right?

Speaker:

No.

Speaker:

All wrong.

Speaker:

One thing you learn is that you never stopped learning.

Speaker:

Some of the most successful systems on the planet have been built on a

Speaker:

knife edge of functional validity.

Speaker:

And by functional validity, I mean the classic minimal viable product.

Speaker:

This is the knife edge upon which so many fortunes are made.

Speaker:

We are teetering on the edge of usability , scaling as we go.

Speaker:

Reinventing as we grow.

Speaker:

Perhaps it's just limited in functionality.

Speaker:

And when we have only certain behaviors that we can perform,

Speaker:

perhaps performance really sucks.

Speaker:

Now, perhaps we made some crucial decisions that we can't undo.

Speaker:

Systems are all complex.

Speaker:

How do we deploy them without running out of time?

Speaker:

How do we validate that our deployment will work in production every time.

Speaker:

Well, the simple truth is that we can't ever know for sure.

Speaker:

You can never know for sure.

Speaker:

I repeat.

Speaker:

You can't ever know for sure that a deployment is going to work.

Speaker:

There is always a risk with a change.

Speaker:

Your job is therefore to minimize that risk and ensure that you

Speaker:

can roll back or fix forward with the least possible effort.

Speaker:

As the system gets more complicated and groves, this becomes a more difficult

Speaker:

task in our rush to add more features.

Speaker:

We cut corners.

Speaker:

We do things that we might not want to.

Speaker:

We ended up making delivery more complicated for the future.

Speaker:

If we look ahead to our deployment story, some of it comes down to original

Speaker:

design and architectural decisions.

Speaker:

Is our system transactional.

Speaker:

Can you replay them?

Speaker:

Can you back up restore all or part of your data.

Speaker:

Are we tightly coupled, are we paying attention to availability during upgrades?

Speaker:

Can we undo everything and stand up a new system if it all goes to shit.

Speaker:

Some of it comes down to how we have grown.

Speaker:

How we have handled the changing requirements from our users,

Speaker:

from ourselves, from our support department, our product management.

Speaker:

How we've been managed, how the team has evolved, how the

Speaker:

company is growing or not growing.

Speaker:

Financial pressures or people pressures , personal lives , stories.

Speaker:

All intermingled.

Speaker:

Writing software is complex enough as it is.

Speaker:

Doing it in a group of people is more complex still.

Speaker:

Doing it for a product, which is evolving is also an extra layer of complexity.

Speaker:

This stuff is hard.

Speaker:

If you ever want to get your weekends and evenings back.

Speaker:

You'll need to make some tough decisions about how your app, your

Speaker:

system, your deployments will go.

Speaker:

You will need to prioritize the architecture that will enable

Speaker:

you to navigate change easily.

Speaker:

And deploy simply when you need it.

Speaker:

My summary of this discussion or monologue or rant, is as follows.

Speaker:

Be aware of your legacy as a coder.

Speaker:

Think carefully about how your persisted data will be managed.

Speaker:

Not just how easy it is to read and write.

Speaker:

How will your systems scale from UI, comms, backend?

Speaker:

Think of the implications of your eminent design decisions and how they

Speaker:

would look at 3:00 AM in the morning.

Speaker:

Always be mindful of the technology.

Speaker:

And the architectural choices that you make when it comes to

Speaker:

supportability and extendability.

Speaker:

How are you going to scale?

Speaker:

When will that be based on current estimate?

Speaker:

How will you support that?

Speaker:

When will you need help testing, building, deploying this thing?

Speaker:

This is really next level, thinking.

Speaker:

This is senior engineer, engineering manager, director, VP, CTO.

Speaker:

You won't be able to do this all of the time.

Speaker:

But you will need to be able to see the future.

Speaker:

A little.

Speaker:

Only then will you be able to plan.

Speaker:

To get your weekends back.

Speaker:

Like a pro.

Speaker:

Talking of which.

Speaker:

I listened to a wonderful podcast the other week.

Speaker:

It's with Brian Scanlon of Intercom and how they've turned that organization

Speaker:

into an on-call paradise with people actually wanting to do it.

Speaker:

I will link the blog and the podcast in the show notes.

Speaker:

TLDR.

Speaker:

Pay people well, Make it clear what your expectations are.

Speaker:

Consistent architecture, logging and monitoring for the win.

Speaker:

Until next time.

Speaker:

I wish you well.

Speaker:

Today's podcast has been powered by the Cocteau twins, "Milk and Kisses".

Speaker:

Plus the Sunday's first album.

Speaker:

Plus BBC six music.

Speaker:

And the drilling in our little office and Amstelveen.

About the Podcast

Show artwork for Loving Legacy
Loving Legacy
What are legacy software systems and why are they so fascinating?

About your host

Profile picture for Richard Bown

Richard Bown

DevOps Engineer | Software Designer | Writer