Slide 1

Slide 1 text

@Jan_de_V

Slide 2

Slide 2 text

@Jan_de_V

Slide 3

Slide 3 text

@Jan_de_V

Slide 4

Slide 4 text

@Jan_de_V

Slide 5

Slide 5 text

@Jan_de_V

Slide 6

Slide 6 text

@Jan_de_V

Slide 7

Slide 7 text

@Jan_de_V

Slide 8

Slide 8 text

@Jan_de_V “If your PaaS can efficiently start instances in 20ms that run for half a second, then call it serverless.” Adrian Cockcroft - VP Cloud Architecture Strategy AWS

Slide 9

Slide 9 text

@Jan_de_V

Slide 10

Slide 10 text

@Jan_de_V

Slide 11

Slide 11 text

@Jan_de_V De echte belofte van de Cloud

Slide 12

Slide 12 text

@Jan_de_V https://www.troyhunt.com/serverless-to-the-max-doing-big-things-for-small-dollars-with-cloudflare-workers-and-azure-functions/

Slide 13

Slide 13 text

@Jan_de_V Solution design

Slide 14

Slide 14 text

@Jan_de_V

Slide 15

Slide 15 text

@Jan_de_V

Slide 16

Slide 16 text

@Jan_de_V

Slide 17

Slide 17 text

@Jan_de_V Event based

Slide 18

Slide 18 text

@Jan_de_V Best Practices

Slide 19

Slide 19 text

@Jan_de_V 1. One func, one thing

Slide 20

Slide 20 text

@Jan_de_V 2. Avoid funcs calling funcs

Slide 21

Slide 21 text

@Jan_de_V 3. Zero libs if possible

Slide 22

Slide 22 text

@Jan_de_V 4. Avoid RDBMS

Slide 23

Slide 23 text

@Jan_de_V 5. One func per route

Slide 24

Slide 24 text

@Jan_de_V 6. Async (queues)

Slide 25

Slide 25 text

@Jan_de_V 7. Data flows not data lakes

Slide 26

Slide 26 text

@Jan_de_V 8. Know how it will scale

Slide 27

Slide 27 text

@Jan_de_V Paul Johnston • https://twitter.com/PaulDJohnston • https://medium.com/@PaulDJohnston/serverless-best-practices- b3c97d551535 • ServerlessDays CoFounder (Jeff) • ex AWS Serverless Senior Developer Advocate

Slide 28

Slide 28 text

@Jan_de_V Cosmos DB

Slide 29

Slide 29 text

@Jan_de_V

Slide 30

Slide 30 text

@Jan_de_V GET POST Azure cache UPDATE Queue TRIGGER Cosmos DB Change feed

Slide 31

Slide 31 text

@Jan_de_V Azure Functions Triggers Bindings

Slide 32

Slide 32 text

@Jan_de_V { "disabled": false, "bindings": [ { "type": "queueTrigger", "direction": "in", "name": "myQueueItem", "queueName": "myqueue-items", "connection": "MyStorageConnectionAppSetting" }, { "type": "httpTrigger", "name": "req", "direction": "in", "dataType": "binary" } ] }

Slide 33

Slide 33 text

@Jan_de_V • CFP Exchange • Service bus binding • Imperative binding met Blob storage • FunctionsWithAuthentication • Http triggers met authenticatie • Minifier • Volledig serverless oplossing

Slide 34

Slide 34 text

@Jan_de_V V2 > V1

Slide 35

Slide 35 text

@Jan_de_V https://github.com/Jandev @Jan_de_V [email protected] https://jan-v.nl

Slide 36

Slide 36 text

@Jan_de_V