20160512 goto night pragmatic micro services

20
Monoliths, services and microservices @ bol.com Peter Paul van de Beek May 12, 2016 1

Upload: peter-paul-van-de-beek

Post on 12-Apr-2017

981 views

Category:

Software


0 download

TRANSCRIPT

Page 1: 20160512 GOTO night pragmatic micro services

Monoliths, services and microservices @ bol.com

Peter Paul van de Beek

May 12, 2016

1

Page 2: 20160512 GOTO night pragmatic micro services

The shop for everyone

2

Page 3: 20160512 GOTO night pragmatic micro services

3

Multi-channel approach

Mobile website / Mobile weblog / Mobile marketing

eBook apps External apps

Page 4: 20160512 GOTO night pragmatic micro services

Bol.com from online bookshop to portal for specialised online channels serving the entire Dutch-language region

4

Books Entertainment

Electronics Toys

Preloved sales eReading

Small Appliances

White Goods

Marketing via bol.com

Baby

Cooking & Tableware

Health & Beauty Home & BedroomPets

Garden & DIY

2004-2007 2010

Sports & Leisure

1999-2003 2010 2011 2012 2013 2014 2015

Jewellery & Watches

Bags & Accessories

SECOND-HANDePRODUCTSCOMMERCIAL MARKETING

NEW SPECIALISED CHANNELS

ALSO WORTH KNOWING

Startup in a portacabin Active in Belgium Takeover by Ahold

2008-2009

Page 5: 20160512 GOTO night pragmatic micro services

Picture

•Over 6 million active customers

•Virtual footfall of almost 1 million per day

•Over 11 million products

•More then a 1.000 employees in Utrecht

•1 in 2 Dutch and Belgian customers who shop online, do so on bol.com

•Ranked among top 10 businesses for customer satisfaction 5

Where is bol.com now? > 95% > 75%

Brand awareness

Page 6: 20160512 GOTO night pragmatic micro services

6

Page 7: 20160512 GOTO night pragmatic micro services

7

IT has a high pace

Page 8: 20160512 GOTO night pragmatic micro services

8

10 to 50 scrum teams in 3 years

Page 9: 20160512 GOTO night pragmatic micro services

9

Space – Fleet – Team

Retail Platform

Fulfillment Network

Shopping Experience

Technical Platform

Page 10: 20160512 GOTO night pragmatic micro services

10

Page 11: 20160512 GOTO night pragmatic micro services

• A few monoliths

• Expose services on the monolith

• Carve out functionality

• Create new functionality as services

• Split “older” services

11

History of services @ bol.com

Page 12: 20160512 GOTO night pragmatic micro services

• Catalogue

• Web shop

• Sourcing / Fulfillment

What do you need as an online retailer…

12

The early ages

Page 13: 20160512 GOTO night pragmatic micro services

“The many things that you would like to see happening in a good software environment couldn’t be done anymore; there were many complex pieces of software combined into

a single system. It couldn’t evolve anymore. The parts that needed to scale independently were tied into sharing resources with other unknown code paths. There was no

isolation and, as a result, no clear ownership.”

Werner Vogels

13

Page 14: 20160512 GOTO night pragmatic micro services

• The shop stays open

• Technical innovation is enabled by business value• Scalability is a business thing

• The hard thing: define boundaries• One purpose

• Some how stuff• Start with a good API• Use mappers where we can’t change the environment

14

Carve out services

Page 15: 20160512 GOTO night pragmatic micro services

Software Parade

15

Services

Page 16: 20160512 GOTO night pragmatic micro services

• Choose the path of the least hurt

• Decisions matter not paper

16

Architecture is always a trade off

Page 17: 20160512 GOTO night pragmatic micro services

• Rest• Or queueing (async)

• Swagger

• CI / CD• Mayfly

17

Technical stuff

Page 18: 20160512 GOTO night pragmatic micro services

18

How many service are involved?

Page 19: 20160512 GOTO night pragmatic micro services

Thanks!till next bol.com

Page 20: 20160512 GOTO night pragmatic micro services

20

Ravioli oriented architecture