Transcript
Page 1: Some thoughts on evolving  Edge Architectures

Phil Calçado - @pcalcado philcalcado.com

Some thoughts on evolving

Edge Architectures

Page 2: Some thoughts on evolving  Edge Architectures

Phil Calçado - @pcalcado philcalcado.com

Some thoughts on evolving

Edge Architectures

Page 3: Some thoughts on evolving  Edge Architectures

(disclaimer)

Page 4: Some thoughts on evolving  Edge Architectures

what’s this 'edge' anyway?

Page 5: Some thoughts on evolving  Edge Architectures

MobileWeb

Application Database

Internet

Page 6: Some thoughts on evolving  Edge Architectures

Application

Client-side

Page 7: Some thoughts on evolving  Edge Architectures

What about

• Authorisation • Authentication • Rate-limiting • Geo-location • Session handling

Page 8: Some thoughts on evolving  Edge Architectures

Application

Edge

Client-side

Page 9: Some thoughts on evolving  Edge Architectures

the 1st few iterations

Page 10: Some thoughts on evolving  Edge Architectures

from monoliths to microservices is a well-documented process

Page 11: Some thoughts on evolving  Edge Architectures
Page 12: Some thoughts on evolving  Edge Architectures

Public API

MobileWeb

Application Database

Internet

Page 13: Some thoughts on evolving  Edge Architectures

Application

Database

Mobile

Web

Page 14: Some thoughts on evolving  Edge Architectures

when if you hit a wall

Page 15: Some thoughts on evolving  Edge Architectures
Page 16: Some thoughts on evolving  Edge Architectures

start off by making sure no new code goes in

the monolith

Page 17: Some thoughts on evolving  Edge Architectures

Application

Database

Mobile

Web

Service A

Service C

Service B

Page 18: Some thoughts on evolving  Edge Architectures

then strangle the hell out of old stuff

Page 19: Some thoughts on evolving  Edge Architectures
Page 20: Some thoughts on evolving  Edge Architectures

Service A

Service BPublic API

Web

Mobile

Application

Database

Page 21: Some thoughts on evolving  Edge Architectures

when if you have edge performance

problems

Page 22: Some thoughts on evolving  Edge Architectures
Page 23: Some thoughts on evolving  Edge Architectures
Page 24: Some thoughts on evolving  Edge Architectures
Page 25: Some thoughts on evolving  Edge Architectures

Service A

Service C

Service BPublic API

Web

Mobile

Page 26: Some thoughts on evolving  Edge Architectures

GET /tracks/1234.json GET /tracks/1234/related.json GET /users/86762.json GET /users/me.json

Page 27: Some thoughts on evolving  Edge Architectures

Mobile

Service A

Service C

Service B

Mobile BFF

WebWeb BFF

Page 28: Some thoughts on evolving  Edge Architectures

GET /user-profile/123.json

Page 29: Some thoughts on evolving  Edge Architectures

be careful about duplicated logic

Page 30: Some thoughts on evolving  Edge Architectures

Mobile

Service A

Service C

Service B

Mobile BFF

WebWeb BFFUser Profile

Service

Page 31: Some thoughts on evolving  Edge Architectures

but if nothing else: do not start with an over-complicated

architecture!

Page 32: Some thoughts on evolving  Edge Architectures

?


Recommended