don't fear failure

35
DON’T FEAR FAILURE A TALK ABOUT SOME OF MY MANY FAILURES

Upload: sean-kelly

Post on 15-Apr-2017

184 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Don't Fear Failure

DON’T FEAR FAILUREA TALK ABOUT SOME OF MY MANY FAILURES

Page 2: Don't Fear Failure

SOME THINGS ABOUT ME

• Most people call me Stabby (@StabbyCutyou)• I’ve never started my own company• I’ve never written any popular or even recognizable software• I am definitely not good at “Computer Science”• I almost dropped a live database once

Page 3: Don't Fear Failure

KEY TAKEAWAYS FOR THIS TALK

• I am a huge failure• Just have a plan• Own it• It’s OK to fail

Page 4: Don't Fear Failure

FAILURE“LACK OF SUCCESS”

Page 5: Don't Fear Failure

Set out to do a thing

Did it work?YES NO

Page 6: Don't Fear Failure

FAILURE LEVEL:

EXPERT

Page 7: Don't Fear Failure

OVER 12 YEARS OF MY LIFE

• .NET, Javascript, Ruby, SQL, Go• Love what I do• Screw up tons of stuff in all the time• Manage to get enough right to get by

Page 8: Don't Fear Failure

LESSONS TO LEARN

FROM FAILING

Page 9: Don't Fear Failure

LESSON ONE:

ITS OK IF YOU’RE NOT A SUCCESS STORY

Page 10: Don't Fear Failure

OUR CAREERS ARE DEFINED BY “SUCCESS”

• Large valuations• Perks• Bonuses• Exits• Renown

Page 11: Don't Fear Failure

Most of won’t have that kind of success

Page 12: Don't Fear Failure

I THOUGHT MY FIRST JOB WAS GOING TO BE “IT”

• Guess how that went• One day got an email my company sponsored gym

membership was cancelled• Next day, company was closing down• Had to tell a recent hire who just started two weeks ago that

no, this was not a joke.

Page 13: Don't Fear Failure

I LEARNED A LOT ON THE WAY DOWN

• Built a solid set of SQL skills• Learned a lot of ways you probably shouldn’t build a desktop

app• Exposed to running a dreadful meeting every week• First encounter with bizarre interoffice politics / relationships

Page 14: Don't Fear Failure

LESSON TWO:

NO MATTER HOW HARD YOU WORKYOU CAN’T ALWAYS STOP FAILURE

Page 15: Don't Fear Failure

FOR EXAMPLE… AWS

• AWS is great• Network can be unreliable• Resiliency / Durability in your stack only goes so far• Partitions happen

Page 16: Don't Fear Failure

ANOTHER JOB

• Built the worlds worst Foodler clone• Amongst the worst times in my life• Barely slept, constant rewrites, no guidance or design• It had no chance in the market

Page 17: Don't Fear Failure

There was no way to save it

It was simply destined to fail

I beat myself up over it for a long time

Page 18: Don't Fear Failure

LESSON THREE:

ASK FOR HELP

Page 19: Don't Fear Failure

IT’S OK TO NOT KNOW WHAT YOU’RE DOING

• No one really does at first• Many of us still don’t• Find someone who does

Page 20: Don't Fear Failure

FOR EXAMPLE… RIAK

• Built around the idea of replication• Writes get copied to 3 nodes (by default)• Highly Available - data always accessible• Conflict resolution: Siblings, Vector Clocks

Page 21: Don't Fear Failure

WE WERE CONVERTING TO A NEW JOB SYSTEM

• It kept hanging• I would wake up every few hours to check it• Worked with other engineers to solve the issue• Figured out how to predict it, put in mitigations• Realized no-one cared so long as it got fixed

Page 22: Don't Fear Failure

LESSON FOUR:

OWN YOUR MISTAKES

Page 23: Don't Fear Failure

FOR EXAMPLE… GO

• Writing a lot of Go• Lots of gripes• Fell in love with error handling in Go• Responsibility strictly delegated upward until you “care”

Page 24: Don't Fear Failure

WE TRIED TO BUILD OUR OWN QUEUE

• Sure was fun• But did not succeed like we hoped• Learned a lot of great information• But ultimately wasted a lot of time and effort

Page 25: Don't Fear Failure

LESSON FIVE (a):

IT’S OK TO FAIL…

Page 26: Don't Fear Failure

LESSON FIVE (b):

…SO LONG AS YOU HAVE A PLAN

Page 27: Don't Fear Failure

FOR EXAMPLE… TCP

• Built around the idea of missing data• User land VS Using your brain• Defends against problems in-depth

Page 28: Don't Fear Failure

I MOVED A BUNCH OF FINANCIAL DATA

• This was a big one• We moved some finance data into a more scalable system• During the migration some data was initially lost• We didn’t catch it• We paid out accounts based on incorrect data

Page 29: Don't Fear Failure

WELL

I’M DEFINITELY FIRED

Page 30: Don't Fear Failure

BACK TO MY MAJOR SCREWUP…

• Multiple copies of the missing data• We built scripts to compare datasets and find missing records• We repopulated the missing data• We worked with finance to fix the numbers• Did not get fired

Page 31: Don't Fear Failure

CULMINATION OF ALL LESSONS LEARNED

• We didn’t succeed like we hoped• We had multiple layers to verify, but not enough• We had a plan incase this happened• Asked for help from the right folks• Stepped up, personally accepted responsibility immediately

Page 32: Don't Fear Failure

Set out to do a thing

Did it work?YES NO Did you learn?

YES

NOTry Again

Page 33: Don't Fear Failure

IN THREE DAYS

I START A NEW JOB

Page 34: Don't Fear Failure

LESSONS

• Not everyone is a success story• Failure is inevitable• Ask for help• Own your failures• It’s ok to fail, just have a plan for it

Page 35: Don't Fear Failure

THANKS

@StabbyCutyou