GOTO Copenhagen 2016 - Scaling IoT

34
Scaling IoT Michiel Fokke, Freek van Gool @javafreekNL @twoxey

Transcript of GOTO Copenhagen 2016 - Scaling IoT

Page 1: GOTO Copenhagen 2016 - Scaling IoT

Scaling IoTMichiel Fokke, Freek van Gool

@javafreekNL @twoxey

Page 2: GOTO Copenhagen 2016 - Scaling IoT

AgendaA little bit about us & QubyWhat is Toon?Scaling IoTFinal thoughtsQuestions

@javafreekNL @twoxey

Page 3: GOTO Copenhagen 2016 - Scaling IoT

Who we are?

Freek Michiel

@javafreekNL @twoxey

Page 4: GOTO Copenhagen 2016 - Scaling IoT

Why are we here?

Share our experiencesLearn from others

@javafreekNL @twoxey

Page 5: GOTO Copenhagen 2016 - Scaling IoT

@javafreekNL @twoxey

Page 6: GOTO Copenhagen 2016 - Scaling IoT

First attemptHome control box

@javafreekNL @twoxey

Page 7: GOTO Copenhagen 2016 - Scaling IoT

PivotEnergy stick

@javafreekNL @twoxey

Page 8: GOTO Copenhagen 2016 - Scaling IoT

What is Toon?

11 @javafreekNL @twoxey

Page 9: GOTO Copenhagen 2016 - Scaling IoT

Setup in homes

Electricity sensor

Gas sensorMeter adapter Quby Energy

Display

Boiler adapter

Central heatingboiler

Smart plugs and smoke detectors

WiFi router

Z-Wave

Z-Wave

Philips Hue

@javafreekNL @twoxey

Page 10: GOTO Copenhagen 2016 - Scaling IoT

The service center

Service Center

Toon Displays

Mobile devicesProduct

Applications

Back Office

Applications

Mobile Backend

Internet

Internet

VPNAccess

@javafreekNL @twoxey

Page 11: GOTO Copenhagen 2016 - Scaling IoT

Firstpartnership

@javafreekNL @twoxey

Page 12: GOTO Copenhagen 2016 - Scaling IoT

Exponential growth2013 30.0002014 65.0002015 175.0002016 350.0002017 1.000.000

2013 2014 2015 2016 2017

@javafreekNL @twoxey

Page 13: GOTO Copenhagen 2016 - Scaling IoT

What Steve Blank didn’t tell you about scaling up a company

Scalable startup Transition Company

https://steveblank.com/2010/01/14/a-startup-is-not-a-smaller-version-of-a-large-company/

@javafreekNL @twoxey

Page 14: GOTO Copenhagen 2016 - Scaling IoT

Success kills technology@javafreekNL @twoxey

Page 16: GOTO Copenhagen 2016 - Scaling IoT

Current infrastructure does not scale:Time to marketLack of predictability

Problem

@javafreekNL @twoxey

Page 17: GOTO Copenhagen 2016 - Scaling IoT

Solution

MARATHON

@javafreekNL @twoxey

Page 18: GOTO Copenhagen 2016 - Scaling IoT

Challenge 2

@javafreekNL @twoxey

Page 19: GOTO Copenhagen 2016 - Scaling IoT

ProblemCurrent team structure does not scale:Operation team bottleneckKnowledge gap between dev & ops

@javafreekNL @twoxey

Page 20: GOTO Copenhagen 2016 - Scaling IoT

SolutionBuild and run by developer teamsOperations team only manages the platformMonitoring using SaaS (sysdig)Logging (ELK) SaaS problematic (privacy)CI/CD Tooling

@javafreekNL @twoxey

Page 21: GOTO Copenhagen 2016 - Scaling IoT

Challenge 3

@javafreekNL @twoxey

Page 22: GOTO Copenhagen 2016 - Scaling IoT

ProblemEneco specific solutionNo tenant agnostic data modelDiverging code-base

@javafreekNL @twoxey

Page 24: GOTO Copenhagen 2016 - Scaling IoT

Tenancy NXT

SCM repo

SCM repo

SCM repo

component

component

component

NXT Service center

NXT Service center

NXT Service center

NXT Service center

NXTService Center

@javafreekNL @twoxey

Page 25: GOTO Copenhagen 2016 - Scaling IoT

Tenancy NXTNXT Service Center

Core Product

Premium Services(through provisioning)

Configuration

Business Rules

Styling

@javafreekNL @twoxey

Page 26: GOTO Copenhagen 2016 - Scaling IoT

Challenge 4Communicationwith the devices

Toon

Commands

Events

Requests

@javafreekNL @twoxey

VPN

Page 27: GOTO Copenhagen 2016 - Scaling IoT

Problem

>50% of our platform dedicated to VPN serviceCascading failures

Page 28: GOTO Copenhagen 2016 - Scaling IoT

SolutionNo silver bullet

Mix http & message broker (MQTT)

Cloud IoT pricing models too expensive

ToonCommands EventsRequests

@javafreekNL @twoxey

Page 29: GOTO Copenhagen 2016 - Scaling IoT

HiveMQ vs AWS IoTHiveMQ

@javafreekNL @twoxey

Page 30: GOTO Copenhagen 2016 - Scaling IoT

HiveMQ vs AWS IoTAWS IoT

@javafreekNL @twoxey

Page 31: GOTO Copenhagen 2016 - Scaling IoT

What makes IoT different?

Device managementFocus on economicsLots of technologies and protocols

@javafreekNL @twoxey

Page 32: GOTO Copenhagen 2016 - Scaling IoT

Prepare for change:IoT is not fully solved yet

@javafreekNL @twoxey

Page 33: GOTO Copenhagen 2016 - Scaling IoT

@javafreekNL @twoxey

Page 34: GOTO Copenhagen 2016 - Scaling IoT

@javafreekNL @twoxey