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
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
Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 1 Simon Lasselsberger @lasssim
Velocity Europe 2018
Lead System Architect
Simon Lasselsberger
@lister @lasssim @lasssim
Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 2 Simon Lasselsberger @lasssim
Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 4 Simon Lasselsberger @lasssim
We are Founders
We are Years Old
We were profitable after just Months
We are Employees
We come from Countries
We have Offices in Linz, Vienna And Salzburg
Our products are available in Languages
We are Team with a single vision
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.
Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 6 Simon Lasselsberger @lasssim
EACH DAY WE HAVE
NEW DOWNLOADS
WE BOAST OVER
TOTAL APP DOWNLOADS
WE HAVE MORE THAN
FANS AND FOLLOWERS
WE HAVE MORE THAN
REGISTERED USERS
24h
Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 7 Simon Lasselsberger @lasssim
2010
Mobile Gateway Web Page
Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 8 Simon Lasselsberger @lasssim
Environment
Hosting
○ Ali, Senna, Lauda, Agassi
○ 4GB RAM, 2 CPUs ○ dolby surround sound
Team
Source: https://www.youtube.com/watch?v=PLyQcpXDci4
Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 9 Simon Lasselsberger @lasssim
2010
Mobile Gateway Web Page
Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 10 Simon Lasselsberger @lasssim
2011
Mobile Gateway Web Page
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
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
Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 13 Simon Lasselsberger @lasssim
2010
Restore
Mobile Gateway Web Page
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
Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 15 Simon Lasselsberger @lasssim
Environment
Hosting
○ Not stable enough ○ Couldn’t offer the hardware we needed ○ Cassandra cluster migration (6 months)
○ Virtualization OpenNebula ○ Dedicated machines for DBs ○ 2 Cells in Data Center Team
Restore Restore
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
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
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
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
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
Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 22 Simon Lasselsberger @lasssim
Restore
Environment
Hosting
○ Not enough space ○ 2 Cell strategy doesn’t fit quorum technologies (MongoDB, Cassandra) ○ Network bottleneck
○ Software defined network (Cisco ACI) ○ Software defined storage (Ceph) Team
Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 23 Simon Lasselsberger @lasssim
Agile Setup
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
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 ?
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
Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 27 Simon Lasselsberger @lasssim
Deployment
Current state
Development Jenkins Experimental Jenkins Staging Pre-Production RENO Production
All-in-one Machine
Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 28 Simon Lasselsberger @lasssim
Deployment
Future plans
environment
Development Jenkins Experimental Jenkins Staging Pre-Production RENO Production
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
Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 30 Simon Lasselsberger @lasssim
Future Plans
Orchestration Service 1 1 1 1
Evolution of the Runtastic Backend - Velocity Europe 2018 SLIDE NO. 31 Simon Lasselsberger @lasssim
techblog.runtastic.com