Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Things I learned when working on a small startup

Things I learned when working on a small startup

Lightning talk presented in the Ruby User Group in November 2015.
Some lessons I learned while working on a small startup.

José Tomás Albornoz

November 05, 2015
Tweet

More Decks by José Tomás Albornoz

Other Decks in Programming

Transcript

  1. POSTGRES UPGRADE CONVERSATION ➤ Jojo: How do we proceed? ➤

    Arik: Why don't you just go and upgrade it?
  2. POSTGRES UPGRADE CONVERSATION ➤ Jojo: How do we proceed? ➤

    Arik: Why don't you just go and upgrade it? ➤ Jojo: WHAT? Are you NUTS?!! You cannot just go and upgrade your database without testing it first.
  3. POSTGRES UPGRADE CONVERSATION ➤ Jojo: How do we proceed? ➤

    Arik: Why don't you just go and upgrade it? ➤ Jojo: WHAT? Are you NUTS?!! You cannot just go and upgrade your database without testing it first. ➤ Arik: Why not?
  4. POSTGRES UPGRADE CONVERSATION ➤ Jojo: How do we proceed? ➤

    Arik: Why don't you just go and upgrade it? ➤ Jojo: WHAT? Are you NUTS?!! You cannot just go and upgrade your database without testing it first. ➤ Arik: Why not? ➤ Jojo: You just don't do that!
  5. POSTGRES UPGRADE CONVERSATION ➤ Jojo: How do we proceed? ➤

    Arik: Why don't you just go and upgrade it? ➤ Jojo: WHAT? Are you NUTS?!! You cannot just go and upgrade your database without testing it first. ➤ Arik: Why not? ➤ Jojo: You just don't do that! ➤ Arik: Why is that?
  6. POSTGRES UPGRADE CONVERSATION ➤ Jojo: How do we proceed? ➤

    Arik: Why don't you just go and upgrade it? ➤ Jojo: WHAT? Are you NUTS?!! You cannot just go and upgrade your database without testing it first. ➤ Arik: Why not? ➤ Jojo: You just don't do that! ➤ Arik: Why is that? ➤ Jojo: We could have DOWNTIME.
  7. POSTGRES UPGRADE CONVERSATION ➤ Jojo: How do we proceed? ➤

    Arik: Why don't you just go and upgrade it? ➤ Jojo: WHAT? Are you NUTS?!! You cannot just go and upgrade your database without testing it first. ➤ Arik: Why not? ➤ Jojo: You just don't do that! ➤ Arik: Why is that? ➤ Jojo: We could have DOWNTIME. ➤ Arik: So what's the problem with that?
  8. POSTGRES UPGRADE CONVERSATION ➤ Jojo: We could have DOWNTIME. ➤

    Arik: So what's the problem with that? ➤ Jojo: Well, our users wouldn't be able to visit our website for about half an hour, maybe an hour at most.
  9. POSTGRES UPGRADE CONVERSATION ➤ Jojo: We could have DOWNTIME. ➤

    Arik: So what's the problem with that? ➤ Jojo: Well, our users wouldn't be able to visit our website for about half an hour, maybe an hour at most. ➤ Arik: How would we proceed if we wanted to ensure that there's no downtime?
  10. POSTGRES UPGRADE CONVERSATION ➤ Jojo: We could have DOWNTIME. ➤

    Arik: So what's the problem with that? ➤ Jojo: Well, our users wouldn't be able to visit our website for about half an hour, maybe an hour at most. ➤ Arik: How would we proceed if we wanted to ensure that there's no downtime? ➤ Jojo: I'd probably spend a day preparing an upgrade strategy, testing it and ensuring everything's goes fine.
  11. PRAGMATISM: WEIGHTING-IN PROS AND CONS ➤Your fears might have horrible

    consequences 
 in other contexts. ➤If you're Amazon and have one minute of downtime, you loose thousands of dollars.
  12. PRAGMATISM: WEIGHTING-IN PROS AND CONS ➤Your fears might have horrible

    consequences 
 in other contexts. ➤If you're Amazon and have one minute of downtime, you loose thousands of dollars. ➤If we have one hour downtime at non-peak hours,
 we might only loose a couple customers,
 but gain one or more days of work.
  13. THE PROBLEM Because we discover how users use our product

    every day, it's not uncommon that features take 180 degrees turns.
  14. DEFENSIVE PROGRAMMING ➤How will this feature evolve? ➤What's the craziest

    turn this could take? ➤Will my architecture stand such changes?
  15. “ I don't want programming to be the thing that

    slows us down as a company. - jojo