SlideShare a Scribd company logo
1 of 20
Download to read offline
Imagine this:
● Developer of something
technical
● Domain expert, but developing
in isolation.
● Not data-driven
● Little feedback
Operations
● Need to make it run smoothly
● But everything is reactive not
proactive.
● Only know when things go
wrong
● Deep understanding of how
things really work
Sound familiar?
● In case you didn't spot the
title, I'm actually talking about
Bus Companies
● Disclaimer: I may have
exaggerated a little!
● I’m going to work through an
analogy between buses and
software
Buses Software
Scheduler Developer
Operations Operations
Schedule Software
Buses/Stops Servers, Containers
GPS pings, etc Instrumentation
Passengers Users
Reliability Uptime
Efficiency Latency
● Great they’re the same, let’s
do DevOps!
● The analogy breaks down
when it comes to tools
● No bus equivalent for Git,
Kubernetes, Terraform, Cloud
etc
One view of what we’re doing is Devops for Buses.
Creating a toolbox with DevOps in my mind,
rather than tools that match the current process.
Devops
for Buses
Cityswift create more efficient and reliable bus timetables
using:
● Lots of Data
● Machine learning
● Mathematical optimisation
For instance, how can we avoid
all the buses arriving at once?
Let’s look at 3 of our tools and
their software equivalents.
3 tools and their analogues
SWIFT INSIGHTS
● View historical and
predicted data on journey
times and passengers
● Schedulers get detailed
feedback on the impact of
their changes
● Datadog to view latency
and throughput
● A/B Testing
BUS SOFTWARE
3 tools and their analogues
SWIFT SCHEDULE
● Automated creation of bus
schedules
● Version controlled
● Terraform, Ansible to
provision infrastructure
● Git
● Jenkins
BUS SOFTWARE
3 tools and their analogues
SWIFT OPS (Coming Soon!)
● Dashboard for Operations
● Solve issues before they
happen
● Log incidents
● Datadog alerts, OpsGenie
● No blame post-mortems
BUS SOFTWARE
Motivation for Bus Companies
We’ve all been on a bus when things went wrong
● Weather
● Break down
● Bus full at a football match
● Its bad for passengers and what's bad for
passengers is bad for bus companies
Benefit to Bus Companies
● Add more buses for reliability?
● But running a very reliable service is expensive
and inefficient, need a happy balance
● Think # servers vs response times
● Bus companies can get fined by regulators for not
hitting KPIs (not nine-nines though!)
13
Aren’t we doing it the
wrong way around?
● Should be People before Process
before Tools
● Bus companies have the right
people, they're specialists in a
difficult domain.
14
● We didn't dive headlong into tools
● We talked with them and worked out
a process collaboratively
● From seeing how they work, we
know that the existing tools don’t
create the right process
Aren’t we doing it the
wrong way around?
Process
15
Data-driven
All the data is
available rather than a
subset
Automation
Automating the
boring parts, free
up the experts
Continuous Delivery
Automation allows
more frequent
schedule changes
Process
16
Version control of
Schedules
Treating the schedule
as you would treat
code
Monitoring and
Feedback
Correlate
schedules, KPIs and
incidents
Collaboration
No strict split in
tools for Dev and
Ops.
In Praise of Tools
● We shouldn't dive headlong into creating tools to
solve problems
● But we should create tools that encourage the
process we want.
● I think that tools help create the de facto process,
whatever the de jure process is
Where does the Analogy
Breakdown?
● Timeframes are much longer, and
feedback is slower. Think months
not minutes
● And you can't just run
kubectl make more buses
(But, if you know how to solve
that, you're hired! )
What can Software Engineers
learn from
Bus Companies?
● Tools shouldn't automate everything
● But should make it easier for the expert to make
decisions.
● Experts will spot the patterns and apply some
tricks (E.g. anomaly detection is hard!)
Thank You!
Check us out at cityswift.com
whoami
Frank Farrell
Lead Developer and Cloud Architect
@CitySwift
github.com/frankfarrell
linkedin.com/in/frank-farrell-44529a93
ofearghp@gmail.com

More Related Content

Similar to Devops for buses(1)(1)

Csa Summit 2017 - Managing multicloud environments
Csa Summit 2017 - Managing multicloud environmentsCsa Summit 2017 - Managing multicloud environments
Csa Summit 2017 - Managing multicloud environments
CSA Argentina
 
Webinar: Demonstrating Business Value for DevOps & Continuous Delivery
Webinar: Demonstrating Business Value for DevOps & Continuous DeliveryWebinar: Demonstrating Business Value for DevOps & Continuous Delivery
Webinar: Demonstrating Business Value for DevOps & Continuous Delivery
XebiaLabs
 

Similar to Devops for buses(1)(1) (20)

NTC17 For the Love of Volunteers.pptx
NTC17   For the Love of Volunteers.pptxNTC17   For the Love of Volunteers.pptx
NTC17 For the Love of Volunteers.pptx
 
MuleSoft Composer | Patna MuleSoft Meetup #14
MuleSoft Composer | Patna MuleSoft Meetup #14MuleSoft Composer | Patna MuleSoft Meetup #14
MuleSoft Composer | Patna MuleSoft Meetup #14
 
Measure everything you can
Measure everything you canMeasure everything you can
Measure everything you can
 
Metrics driven development 10.09.2014
Metrics driven development   10.09.2014Metrics driven development   10.09.2014
Metrics driven development 10.09.2014
 
Data for Good Regina - 7shifts Presentation
Data for Good Regina - 7shifts PresentationData for Good Regina - 7shifts Presentation
Data for Good Regina - 7shifts Presentation
 
Csa Summit 2017 - Managing multicloud environments
Csa Summit 2017 - Managing multicloud environmentsCsa Summit 2017 - Managing multicloud environments
Csa Summit 2017 - Managing multicloud environments
 
Architecting for analytics
Architecting for analyticsArchitecting for analytics
Architecting for analytics
 
Government and software as-a-service
Government and software as-a-serviceGovernment and software as-a-service
Government and software as-a-service
 
Indix Engineering Culture Code (2015)
Indix Engineering Culture Code (2015)Indix Engineering Culture Code (2015)
Indix Engineering Culture Code (2015)
 
INTERFACE by apidays 2023 - System Migration Lifecycle, Nitish Agarwal,GoDaddy
INTERFACE by apidays 2023 - System Migration Lifecycle, Nitish Agarwal,GoDaddyINTERFACE by apidays 2023 - System Migration Lifecycle, Nitish Agarwal,GoDaddy
INTERFACE by apidays 2023 - System Migration Lifecycle, Nitish Agarwal,GoDaddy
 
Webinar: Demonstrating Business Value for DevOps & Continuous Delivery
Webinar: Demonstrating Business Value for DevOps & Continuous DeliveryWebinar: Demonstrating Business Value for DevOps & Continuous Delivery
Webinar: Demonstrating Business Value for DevOps & Continuous Delivery
 
Open Day October 2016
Open Day October 2016Open Day October 2016
Open Day October 2016
 
Laptop Devops: Putting Modern Infrastructure Automation to Work For Local Dev...
Laptop Devops: Putting Modern Infrastructure Automation to Work For Local Dev...Laptop Devops: Putting Modern Infrastructure Automation to Work For Local Dev...
Laptop Devops: Putting Modern Infrastructure Automation to Work For Local Dev...
 
Data Science Presentation.pdf
Data Science Presentation.pdfData Science Presentation.pdf
Data Science Presentation.pdf
 
Route Optimization - Behind The Scenes
Route Optimization - Behind The ScenesRoute Optimization - Behind The Scenes
Route Optimization - Behind The Scenes
 
ACC - How first-class agencies run their daily operations with Teamleader Orb...
ACC - How first-class agencies run their daily operations with Teamleader Orb...ACC - How first-class agencies run their daily operations with Teamleader Orb...
ACC - How first-class agencies run their daily operations with Teamleader Orb...
 
SOASTA Office Depot Case Study
SOASTA Office Depot Case StudySOASTA Office Depot Case Study
SOASTA Office Depot Case Study
 
DevOps make teamwork great.
DevOps make teamwork great.DevOps make teamwork great.
DevOps make teamwork great.
 
Proses E-Peruncit oleh Takatack
Proses E-Peruncit oleh TakatackProses E-Peruncit oleh Takatack
Proses E-Peruncit oleh Takatack
 
Simply Business' Data Platform
Simply Business' Data PlatformSimply Business' Data Platform
Simply Business' Data Platform
 

Recently uploaded

VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
rknatarajan
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Christo Ananth
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Dr.Costas Sachpazis
 

Recently uploaded (20)

(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 

Devops for buses(1)(1)

  • 1. Imagine this: ● Developer of something technical ● Domain expert, but developing in isolation. ● Not data-driven ● Little feedback
  • 2. Operations ● Need to make it run smoothly ● But everything is reactive not proactive. ● Only know when things go wrong ● Deep understanding of how things really work
  • 3. Sound familiar? ● In case you didn't spot the title, I'm actually talking about Bus Companies ● Disclaimer: I may have exaggerated a little! ● I’m going to work through an analogy between buses and software
  • 4. Buses Software Scheduler Developer Operations Operations Schedule Software Buses/Stops Servers, Containers GPS pings, etc Instrumentation Passengers Users Reliability Uptime Efficiency Latency
  • 5. ● Great they’re the same, let’s do DevOps! ● The analogy breaks down when it comes to tools ● No bus equivalent for Git, Kubernetes, Terraform, Cloud etc
  • 6. One view of what we’re doing is Devops for Buses. Creating a toolbox with DevOps in my mind, rather than tools that match the current process. Devops for Buses
  • 7. Cityswift create more efficient and reliable bus timetables using: ● Lots of Data ● Machine learning ● Mathematical optimisation For instance, how can we avoid all the buses arriving at once? Let’s look at 3 of our tools and their software equivalents.
  • 8. 3 tools and their analogues SWIFT INSIGHTS ● View historical and predicted data on journey times and passengers ● Schedulers get detailed feedback on the impact of their changes ● Datadog to view latency and throughput ● A/B Testing BUS SOFTWARE
  • 9. 3 tools and their analogues SWIFT SCHEDULE ● Automated creation of bus schedules ● Version controlled ● Terraform, Ansible to provision infrastructure ● Git ● Jenkins BUS SOFTWARE
  • 10. 3 tools and their analogues SWIFT OPS (Coming Soon!) ● Dashboard for Operations ● Solve issues before they happen ● Log incidents ● Datadog alerts, OpsGenie ● No blame post-mortems BUS SOFTWARE
  • 11. Motivation for Bus Companies We’ve all been on a bus when things went wrong ● Weather ● Break down ● Bus full at a football match ● Its bad for passengers and what's bad for passengers is bad for bus companies
  • 12. Benefit to Bus Companies ● Add more buses for reliability? ● But running a very reliable service is expensive and inefficient, need a happy balance ● Think # servers vs response times ● Bus companies can get fined by regulators for not hitting KPIs (not nine-nines though!)
  • 13. 13 Aren’t we doing it the wrong way around? ● Should be People before Process before Tools ● Bus companies have the right people, they're specialists in a difficult domain.
  • 14. 14 ● We didn't dive headlong into tools ● We talked with them and worked out a process collaboratively ● From seeing how they work, we know that the existing tools don’t create the right process Aren’t we doing it the wrong way around?
  • 15. Process 15 Data-driven All the data is available rather than a subset Automation Automating the boring parts, free up the experts Continuous Delivery Automation allows more frequent schedule changes
  • 16. Process 16 Version control of Schedules Treating the schedule as you would treat code Monitoring and Feedback Correlate schedules, KPIs and incidents Collaboration No strict split in tools for Dev and Ops.
  • 17. In Praise of Tools ● We shouldn't dive headlong into creating tools to solve problems ● But we should create tools that encourage the process we want. ● I think that tools help create the de facto process, whatever the de jure process is
  • 18. Where does the Analogy Breakdown? ● Timeframes are much longer, and feedback is slower. Think months not minutes ● And you can't just run kubectl make more buses (But, if you know how to solve that, you're hired! )
  • 19. What can Software Engineers learn from Bus Companies? ● Tools shouldn't automate everything ● But should make it easier for the expert to make decisions. ● Experts will spot the patterns and apply some tricks (E.g. anomaly detection is hard!)
  • 20. Thank You! Check us out at cityswift.com whoami Frank Farrell Lead Developer and Cloud Architect @CitySwift github.com/frankfarrell linkedin.com/in/frank-farrell-44529a93 ofearghp@gmail.com