Evolution of the @lasssim Runtastic Backend @lister @lasssim - - PowerPoint PPT Presentation

evolution of the
SMART_READER_LITE
LIVE PREVIEW

Evolution of the @lasssim Runtastic Backend @lister @lasssim - - PowerPoint PPT Presentation

Simon Lasselsberger Lead System Architect Evolution of the @lasssim Runtastic Backend @lister @lasssim Velocity Europe 2018 Evolution of the Runtastic Backend - Velocity Europe 2018 Simon Lasselsberger @lasssim SLIDE NO. 1 Evolution of


slide-1
SLIDE 1

Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 1 Simon Lasselsberger @lasssim

Evolution of the Runtastic Backend

Velocity Europe 2018

Lead System Architect

Simon Lasselsberger

@lister @lasssim @lasssim

slide-2
SLIDE 2

Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 2 Simon Lasselsberger @lasssim

slide-3
SLIDE 3
slide-4
SLIDE 4

Evolution of the Runtastic Backend - Velocity Europe 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

Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 5 Simon Lasselsberger @lasssim

Our 2017 Priority Markets

Dedicated in-house marketing & communication resources for Central & Southern Europe (GER, FRA, ESP, ITA, AUT, SUI), UK, United States, Japan, China & Brazil.

TOP MARKETS ADDITIONAL MARKETS

Dedicated communication resources for Holland, Turkey, Russia, Poland, India, Korea, South & Central America, Canada and Australia.

slide-6
SLIDE 6

Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 6 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-7
SLIDE 7

Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 7 Simon Lasselsberger @lasssim

2010

Mobile Gateway Web Page

slide-8
SLIDE 8

Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 8 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

Team

  • 2-3 people for backend and operations

Source: https://www.youtube.com/watch?v=PLyQcpXDci4

slide-9
SLIDE 9

Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 9 Simon Lasselsberger @lasssim

2010

Mobile Gateway Web Page

slide-10
SLIDE 10

Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 10 Simon Lasselsberger @lasssim

2011

Mobile Gateway Web Page

slide-11
SLIDE 11

Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 11 Simon Lasselsberger @lasssim

2011

Binary

Mobile Gateway Web Page

GPS Point Sport Activity

n 1

slide-12
SLIDE 12

Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 12 Simon Lasselsberger @lasssim

2011

Binary

Mobile Gateway Web Page

Sport Activity Binary

1 1

slide-13
SLIDE 13

Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 13 Simon Lasselsberger @lasssim

2010

Restore

Mobile Gateway Web Page

slide-14
SLIDE 14

Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 14 Simon Lasselsberger @lasssim

2011 - 2014

Mobile Gateway

Restore Routes KPI Appendix Gamification Users Live Tracking Samples Abilities Products Payment

Web Page

slide-15
SLIDE 15

Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 15 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 Team

  • Dedicated Backend Team (9 People)
  • Dedicated Infrastructure Team (2 People)

Restore Restore

slide-16
SLIDE 16

Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 16 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-17
SLIDE 17
slide-18
SLIDE 18

Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 18 Simon Lasselsberger @lasssim

2015 - 2016

Mobile Gateway

Restore Routes KPI Appendix Gamification Users Live Tracking Samples Abilities Products Payment

Web Page

~15 other Services

Hub

slide-19
SLIDE 19

Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 19 Simon Lasselsberger @lasssim

Hexagonal Architecture

Allow an application to equally be driven by users, programs, automated test or batch scripts, and to be developed and tested in isolation from its eventual run-time devices and databases. Alistair Cockburn

F a k e

Business Logic

API Repository R e a l Routing

Authentication

API Repository F a k e R e a l

Hub

Samples

slide-20
SLIDE 20

Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 20 Simon Lasselsberger @lasssim

Technologies

Mobile Gateway

Restore Routes KPI Appendix Gamification Users Live Tracking Samples Abilities Products Payment

Web Page

~15 other Services

Hub Hub

slide-21
SLIDE 21

Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 21 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-22
SLIDE 22

Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 22 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)
slide-23
SLIDE 23

Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 23 Simon Lasselsberger @lasssim

Agile Setup

slide-24
SLIDE 24

Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 24 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-25
SLIDE 25

Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 25 Simon Lasselsberger @lasssim

Future Plans

Mobile Gateway

Restore Routes KPI Appendix Gamification Users Live Tracking Samples Abilities Products Payment

Web Page

~15 other Services

Hub ?

slide-26
SLIDE 26

Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 26 Simon Lasselsberger @lasssim

Future Plans

Restore Routes KPI Appendix Gamification Users Live Tracking Samples Abilities Products Payment ~15 other Services

Hub

slide-27
SLIDE 27

Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 27 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

Development Jenkins Experimental Jenkins Staging Pre-Production RENO Production

All-in-one Machine

slide-28
SLIDE 28

Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 28 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

Development Jenkins Experimental Jenkins Staging Pre-Production RENO Production

slide-29
SLIDE 29

Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 29 Simon Lasselsberger @lasssim

Future Plans

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-30
SLIDE 30

Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 30 Simon Lasselsberger @lasssim

Future Plans

Orchestration Service 1 1 1 1

slide-31
SLIDE 31

Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 31 Simon Lasselsberger @lasssim

THANK YOU

techblog.runtastic.com

@lister @lasssim @lasssim