Slide 1

Slide 1 text

DevOps & the Evolution of the Runtastic Backend - Red Hat Forum Österreich 2018 SLIDE NO. 1 Simon Lasselsberger @lasssim DevOps & the Evolution of the Runtastic Backend Red Hat Forum Österreich 2018 Lead System Architect Runtastic Simon Lasselsberger @lister @lasssim @lasssim

Slide 2

Slide 2 text

DevOps & the Evolution of the Runtastic Backend - Red Hat Forum Österreich 2018 SLIDE NO. 2 Simon Lasselsberger @lasssim Vision Through sport, we have the power to change lives

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

DevOps & the Evolution of the Runtastic Backend - Red Hat Forum Österreich 2018 SLIDE NO. 4 Simon Lasselsberger @lasssim 4 We are Founders 8 We are Years Old 20 We were profitable after just Months 235 We are Employees 38+ We come from Countries 3 We have Offices in Linz, Vienna And Salzburg 15 Our products are available in Languages 1 We are Team with a single vision RUNTASTIC BY THE NUMBERS

Slide 5

Slide 5 text

DevOps & the Evolution of the Runtastic Backend - Red Hat Forum Österreich 2018 SLIDE NO. 5 Simon Lasselsberger @lasssim EACH DAY WE HAVE 150,000 NEW DOWNLOADS WE BOAST OVER 230 MILLION TOTAL APP DOWNLOADS WE HAVE MORE THAN 3,472,757 FANS AND FOLLOWERS WE HAVE MORE THAN 120 MILLION REGISTERED USERS 24h

Slide 6

Slide 6 text

DevOps & the Evolution of the Runtastic Backend - Red Hat Forum Österreich 2018 SLIDE NO. 6 Simon Lasselsberger @lasssim 2010 Mobile Gateway Web Page

Slide 7

Slide 7 text

DevOps & the Evolution of the Runtastic Backend - Red Hat Forum Österreich 2018 SLIDE NO. 7 Simon Lasselsberger @lasssim Environment Hosting ● 4 Servers ○ Ali, Senna, Lauda, Agassi ● Desktop hardware ○ 4GB RAM, 2 CPUs ○ dolby surround sound ● Cheap and uncomplicated ● Helped us to grow in the early days ● Mixed responsibilities ● Manual setup of machines Source: https://www.youtube.com/watch?v=PLyQcpXDci4

Slide 8

Slide 8 text

DevOps & the Evolution of the Runtastic Backend - Red Hat Forum Österreich 2018 SLIDE NO. 8 Simon Lasselsberger @lasssim Team Startup mode ● 2-3 people for backend and operations ● Sitting next to each other ● Scripted deployments done by developer ● Everybody was doing everything

Slide 9

Slide 9 text

DevOps & the Evolution of the Runtastic Backend - Red Hat Forum Österreich 2018 SLIDE NO. 9 Simon Lasselsberger @lasssim 2010 Mobile Gateway Web Page

Slide 10

Slide 10 text

DevOps & the Evolution of the Runtastic Backend - Red Hat Forum Österreich 2018 SLIDE NO. 10 Simon Lasselsberger @lasssim 2011 Mobile Gateway Web Page

Slide 11

Slide 11 text

DevOps & the Evolution of the Runtastic Backend - Red Hat Forum Österreich 2018 SLIDE NO. 11 Simon Lasselsberger @lasssim 2010 Restore Mobile Gateway Web Page

Slide 12

Slide 12 text

DevOps & the Evolution of the Runtastic Backend - Red Hat Forum Österreich 2018 SLIDE NO. 12 Simon Lasselsberger @lasssim 2011 - 2014 Mobile Gateway Restore Routes KPI Appendix Gamification Users Live Tracking Samples Abilities Products Payment Web Page

Slide 13

Slide 13 text

DevOps & the Evolution of the Runtastic Backend - Red Hat Forum Österreich 2018 SLIDE NO. 13 Simon Lasselsberger @lasssim Environment Hosting ● Switch from Hetzner to T-Systems ○ Not stable enough ○ Couldn’t offer the hardware we needed ○ Cassandra cluster migration (6 months) ● Own hardware ○ Virtualization OpenNebula ○ Dedicated machines for DBs ○ 2 Cells in Data Center Restore Restore

Slide 14

Slide 14 text

DevOps & the Evolution of the Runtastic Backend - Red Hat Forum Österreich 2018 SLIDE NO. 14 Simon Lasselsberger @lasssim Team Backend Department ● Dedicated Backend Team (9 People) ● Focus on development ● Close collaboration with operations team ○ Thought alike ○ Mutual understanding ● Scripted deployments done by developers Operations Department ● Dedicated Infrastructure Team (2 People) ● Taking care of infrastructure ● Close collaboration with backend team

Slide 15

Slide 15 text

DevOps & the Evolution of the Runtastic Backend - Red Hat Forum Österreich 2018 SLIDE NO. 15 Simon Lasselsberger @lasssim 2015 - 2016 Mobile Gateway Restore Routes KPI Appendix Gamification Users Live Tracking Samples Abilities Products Payment Web Page Other Services Hub

Slide 16

Slide 16 text

DevOps & the Evolution of the Runtastic Backend - Red Hat Forum Österreich 2018 SLIDE NO. 16 Simon Lasselsberger @lasssim 2015 - 2017 Mobile Gateway Restore Routes KPI Appendix Gamification Users Live Tracking Samples Abilities Products Payment Web Page ~15 other Services Hub Push Service

Slide 17

Slide 17 text

DevOps & the Evolution of the Runtastic Backend - Red Hat Forum Österreich 2018 SLIDE NO. 17 Simon Lasselsberger @lasssim Restore Environment Hosting ● Switch from T-Systems to Linz AG ○ Not enough space ○ 2 Cell strategy doesn’t fit quorum technologies (MongoDB, Cassandra) ○ Network bottleneck ● Room to grow ● More standardized setup ● More automation ○ Software defined network (Cisco ACI) ○ Software defined storage (Ceph) Team ● Agile Transition (Backend and Client) ● Dedicated Infrastructure Team (6 People) ● Spread across offices ● Scripted deployments done by developers

Slide 18

Slide 18 text

DevOps & the Evolution of the Runtastic Backend - Red Hat Forum Österreich 2018 SLIDE NO. 18 Simon Lasselsberger @lasssim Agile Setup

Slide 19

Slide 19 text

DevOps & the Evolution of the Runtastic Backend - Red Hat Forum Österreich 2018 SLIDE NO. 19 Simon Lasselsberger @lasssim Conway's Law Organizations which design systems ... are constrained to produce designs which are copies of the communication structures of these organizations. M. Conway Organization Architecture

Slide 20

Slide 20 text

DevOps & the Evolution of the Runtastic Backend - Red Hat Forum Österreich 2018 SLIDE NO. 20 Simon Lasselsberger @lasssim Team assignment Mobile Gateway Restore Routes KPI Appendix Gamification Users Live Tracking Samples Abilities Products Payment Web Page ~15 other Services Hub Backend Core Squad 1 Squad 2 Other Squads Infrastructure Team

Slide 21

Slide 21 text

DevOps & the Evolution of the Runtastic Backend - Red Hat Forum Österreich 2018 SLIDE NO. 21 Simon Lasselsberger @lasssim Deployment Current state ● 7 different setups ● Initial developer machine setup is a pain ● Chef not consistent over environments ● All-in-one machines need to be huge ● Manual deployments ● Single datacenter Development Jenkins Experimental Jenkins Staging Pre-Production RENO Production All-in-one Machine

Slide 22

Slide 22 text

DevOps & the Evolution of the Runtastic Backend - Red Hat Forum Österreich 2018 SLIDE NO. 22 Simon Lasselsberger @lasssim Deployment Future plans ● Provide one way to deploy services in any environment ● More flexibility and responsibilities for squads ● Better fit for Agile process ● Less maintenance overhead ● Proper automation ● CI/CD ● Multi data-center Development Jenkins Experimental Jenkins Staging Pre-Production RENO Production

Slide 23

Slide 23 text

DevOps & the Evolution of the Runtastic Backend - Red Hat Forum Österreich 2018 SLIDE NO. 23 Simon Lasselsberger @lasssim Deployment 1 1 1 1 Development Jenkins Staging Production 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 2 2 N N N N

Slide 24

Slide 24 text

DevOps & the Evolution of the Runtastic Backend - Red Hat Forum Österreich 2018 SLIDE NO. 24 Simon Lasselsberger @lasssim Deployment Orchestration Service 1 1 1 1

Slide 25

Slide 25 text

DevOps & the Evolution of the Runtastic Backend - Red Hat Forum Österreich 2018 SLIDE NO. 25 Simon Lasselsberger @lasssim Conclusion Values ● Work well together ● Think alike ● Avoid silos ● Clearly defined and shared responsibilities ● Automation is key to scale ● Measure application performance Startup Departments Agile Containerization

Slide 26

Slide 26 text

DevOps & the Evolution of the Runtastic Backend - Red Hat Forum Österreich 2018 SLIDE NO. 26 Simon Lasselsberger @lasssim THANK YOU techblog.runtastic.com @lister @lasssim @lasssim