Slide 1

Slide 1 text

DAY 1 “技” Developer Day Do More with Less Leveraging The Power of Serverless Ji Wu ABEJA.Inc

Slide 2

Slide 2 text

• Self-introduction • What is serverless? • Why we went serverless? • Serverless at Abeja • Serverless lesson learned • What does serverless mean to Abeja? Contents

Slide 3

Slide 3 text

Self-Introduction Ji Wu https://github.com/slashbit • Web Developer @ABEJA, Inc • Interest in building web applications on serverless stacks

Slide 4

Slide 4 text

What is serverless?

Slide 5

Slide 5 text

What is serverless? • Functions-as-a-Service • Developers ship code • Platforms provide runtime environments in containers

Slide 6

Slide 6 text

Function execution model HTTP Request Storage Change Message Queue Database Change Scheduled Event

Slide 7

Slide 7 text

Common use cases • Web application • Mobile & IoT back-end • Data processing • Chatbots

Slide 8

Slide 8 text

Why we went serverless? Image source: google images

Slide 9

Slide 9 text

Why we went serverless? • Load balancing • Auto scaling • OS management • Managing utilization Image source: iloveimg.com • Scales with usage • No servers to provision • Never pay for idle • Availability and fault tolerance

Slide 10

Slide 10 text

Serverless at Abeja

Slide 11

Slide 11 text

Serverless at Abeja Image source: imgflip.com

Slide 12

Slide 12 text

It all started with the data

Slide 13

Slide 13 text

Here comes the first function

Slide 14

Slide 14 text

API Gateway opens the door to outside world

Slide 15

Slide 15 text

Meanwhile at the front-end

Slide 16

Slide 16 text

Find our front-end a home

Slide 17

Slide 17 text

Alpha released!

Slide 18

Slide 18 text

The 3-tier architecture

Slide 19

Slide 19 text

Take care business internally

Slide 20

Slide 20 text

Connect the best of both world

Slide 21

Slide 21 text

Finish things up with authentication

Slide 22

Slide 22 text

Serverless lesson learned • Each function should do only one thing • Functions don't call other functions • Use as few libraries in your functions as possible • Always architect your serverless application around event patterns

Slide 23

Slide 23 text

Serverless lesson learned • Be mindful of using reserved concurrency • Keep containers warm • Use frameworks to streamline your development process • Use CI/CD tools

Slide 24

Slide 24 text

What does serverless mean to Abeja? • Less code • Less servers • Less expensive • Less time to ship

Slide 25

Slide 25 text

After the lecture is over, we are waiting at the Ask the Speaker section of the exhibition area. If you have any questions, please come to this corner after the session ends. See you Ask the Speaker !! ABEJA 17 6 5 4 3 1 2 9 10 11 12 7 8 16 15 ABEJA Ask the Speaker 14 3F Hall ABEJAծ ABEJA Deep Learning ABEJA

Slide 26

Slide 26 text

The contents introduced today and the products and services that support the backside of these, We have prepared a booth at the 3F exhibition hall and tell it. Please drop by during the session. GO EXPO 2F 3F Room A Room B Room C Room D Hall ٖؒك٦ة٦ WC ㉀锑 ٕ٦ي ㉀锑 ٕ٦ي ㉀锑 ٕ٦ي ㉀锑 ٕ٦ي Room E ٖؒك٦ة٦ WC ♧菙勻㜥罏「➰ ٝ؟٦ أؙ 闌怴罏 「➰ 1F 2F 3F Floor Maps Room A Room B Room C Room D Hall ٖؒك٦ة٦ WC ㉀锑 ٕ٦ي ㉀锑 ٕ٦ي ㉀锑 ٕ٦ي ㉀锑 ٕ٦ي Room E ٖؒك٦ة٦ WC Room W ♧菙勻㜥罏「➰ أهٝ؟٦ رأؙ 闌怴罏 「➰ WC ٖؒك٦ة٦ Here

Slide 27

Slide 27 text

GO Day2 !! - for Retail Tomorrow will be announced in many sessions how the technology introduced today is actually used by clients. Please come tomorrow by all means

Slide 28

Slide 28 text

Please give us feedback on this session if you like ID of this session dev/dev-e-3 Do More with Less Leveraging The Power of Serverless Feedback will be used to develop products and deliver more information https://goo.gl/forms/erEBAsrQK4XKEv352

Slide 29

Slide 29 text

Thank you.