experience and problem solving

13
Experience and Problem Solving

Upload: mohnish-jadwani

Post on 16-Apr-2017

126 views

Category:

Engineering


4 download

TRANSCRIPT

Page 1: Experience and problem solving

Experience and Problem Solving

Page 2: Experience and problem solving

Solving an Exercism exercise at a Ruby meetup via Pair Programming

Page 3: Experience and problem solving

Overview of how the meetup was organized

● People were grouped in pairs comprising of a senior and junior● The kata that people had to solve was only revealed on the day of meetup

○ People were asked to solve the Roman Numerals Kata● Format of the meetup

○ Two 45 min sessions for problem solving○ Two 30 min Breaks, one in between the sessions and towards the end

● Discussion format during the breaks similar to how it is at a code retreat○ How do you think it’s going so far?○ What do you think could have helped you doing it better?○ What are you going to do different in your approach for the second

half of the session?

Page 4: Experience and problem solving

Question to one of the teams that completely solved the exercise by the end of 2nd session

Page 5: Experience and problem solving

● Things that stood out for me(in terms of problem solving) from above answer○ Excited to solve the exercise○ Practicing TDD religiously

■ Passing one test a time○ Identifying Patterns along the way of solving the problem

Their Answer

Page 6: Experience and problem solving

The recommended way of problem solving on exercism

Page 7: Experience and problem solving

The correlation between things at the meetup and at work

● I currently work for Sephora Digital SEA - a company selling beauty products● Had an upcoming big sale for Sephora Australia● Some performance bottlenecks needed to be addressed before the sale

○ Shopping Cart Page - one of the bottlenecks● Few days(time constraint) before the sale to address these performance issues● Problem was identified at a high level through some load tests● My challenges

○ Narrow down to where exactly were redis hget calls were being misused○ Only a few months of experience into the codebase○ My domain knowledge was limited around samples tiers○ Using a part of redis that I hadn’t ever used before

Page 8: Experience and problem solving

Free Samples that are given to a customer as part of the cart checkout

Page 9: Experience and problem solving

Applying my meetup learnings at work

Before making some performance tweaks

Page 10: Experience and problem solving

After making some performance tweaks

Applying my meetup learnings at work(contd.)

Page 11: Experience and problem solving

Takeaways

● Don’t let your lesser experience with something get in your way when you’re problem solving

● Problem solving attitude and approach matters a lot

Page 12: Experience and problem solving

Thank You

● Credits ○ Katrina Owen - For Exercism and for the inspiration(via the

exercism newsletter) to share one’s story via a talk○ Everybody who has contributed to Exercism○ Everyone who were directly or indirectly involved with the April

2016 BRUG meetup on exercism● Related reading

○ For a detailed writeup of how the exercism related ruby meetup was organized, one can read this post I wrote on medium