Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
The State of Serverless (PCUG)
mthenw
June 08, 2017
Technology
0
110
The State of Serverless (PCUG)
Public Cloud User Group #009 - Warszawa
mthenw
June 08, 2017
Tweet
Share
More Decks by mthenw
See All by mthenw
How to make better technical decisions
mthenw
0
25
Globally distributed applications with Serverless Framework
mthenw
1
77
The State of Serverless
mthenw
0
510
Apex: The Holy Grail of AWS Lambda
mthenw
0
95
Microservices on AWS ECS
mthenw
8
720
Practical React in Marionette application
mthenw
2
560
Working with single-threaded event loop
mthenw
1
150
Bingo Bango Mongo
mthenw
6
330
Are you Redis? Introduction to Redis.
mthenw
2
660
Other Decks in Technology
See All in Technology
ドキュメントの翻訳に必要なこと
mayukosawai
0
140
AWS CLI入門_20220513
suzakiyoshito
0
3.7k
Learning from AWS Customer Security Incidents [2022]
ramimac
0
500
Devに力を授けたいSREのあゆみ / SRE that wants to empower developers
tocyuki
3
460
僕の Microsoft Teams (+α) 便利技紹介 2022年春
taichinakamura
0
2.7k
目と耳を持った自然言語処理 - スタートアップにおける価値創出のために
yag_ays
PRO
0
520
ZOZOTOWNのProduction Readiness Checklistと信頼性向上の取り組み / Improvement the reliability of ZOZOTOWN with Production Readiness Checklist
akitok_
5
1.5k
一人から始めるプロダクトSRE / How to start SRE in a product team, all by yourself
vtryo
4
2.4k
AWS CloudShellという推しサービスについて / lt-20220502-jawsug-cli
becominn
0
650
組織でPower Virtual Agentsを導入するために知っておきたいこと
miyakemito
0
1.6k
CADDi HCMC Technology Center
caddi_eng
0
250
Who owns the Service Level?
chaspy
5
800
Featured
See All Featured
Robots, Beer and Maslow
schacon
152
7.1k
Why Our Code Smells
bkeepers
PRO
324
54k
Build your cross-platform service in a week with App Engine
jlugia
219
17k
KATA
mclloyd
7
8.6k
How STYLIGHT went responsive
nonsquared
85
3.9k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
7
1k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
268
11k
Fantastic passwords and where to find them - at NoRuKo
philnash
25
1.5k
Clear Off the Table
cherdarchuk
79
280k
Building Better People: How to give real-time feedback that sticks.
wjessup
343
17k
Building Your Own Lightsaber
phodgson
94
4.6k
A better future with KSS
kneath
225
15k
Transcript
the state of serverless
Maciej Winnicki Principal Software Engineer Serverless, Inc.
@mthenw
1973
None
None
None
None
https://blog.prismalytics.io/serverless-frenzy-a29fefc1514f |
“ The next day saw an unforgettable orgy of one-liners
as everybody joined in the excitement of plumbing http://www.cs.dartmouth.edu/~doug/reader.pdf
tail -f syslog | grep error | tee errors
None
unix philosophy
“ Doug McIlroy, E. N. Pinson, B. A. Tague (8
July 1978). "Unix Time-Sharing System: Foreword". pp. 1902–1903. Design and build software, even operating systems, to be tried early, ideally within weeks. Don't hesitate to throw away the clumsy parts and rebuild them.
MAKE PROGRAMMERS MORE PRODUCTIVE
https://medium.com/apex-serverless/introducing-apex-800824ffaa70
what is serverless
(re)evolution of the cloud
focus on business logic less concerns about stack implementation https://medium.com/openwhisk/five-minute-intro-to-open-source-serverless-development-with-openwhisk-328b0ebfa160
bare metal IaaS PaaS functions hardware abstraction OS abstraction runtime abstraction
Function-as-a-Service
Function-as-a-Service Backend-as-a-Service +
no server/container/process management http://blog.rowanudell.com/the-serverless-compute-manifesto/ costs scale with usage / never
pay for idle auto-scale / auto-provision
global availability
Function-as-a-Service is event-driven
use cases
back-end services / web apps https://www.youtube.com/watch?v=b1t78P_1FT4 data processing infrastructure automation
and more…
challenges
functions are like microservices but smaller
monitoring & logging debugging & diagnostics local development
vendor lock-in
latency
providers
None
None
None
• Node.js • Java • Python • C# Runtimes
• Amazon S3 • Amazon DynamoDB • Amazon Kinesis Streams
• Amazon Simple Notification Service • Amazon Simple Email Service • Amazon Cognito • AWS CloudFormation • Amazon CloudWatch Logs • Amazon CloudWatch Events • AWS CodeCommit • Scheduled Events (powered by Amazon CloudWatch Events) • AWS Config • Amazon Echo • Amazon Lex Amazon • API Gateway Events http://docs.aws.amazon.com/lambda/latest/dg/invoking-lambda-function.html#supported-event-source-cloudformation
Monitoring & Logging • Logs and metrics pushed to CloudWatch
• Available metrics: • Invocations • Errors • Duration • Throttles
Debugging & Diagnostics • X-Ray - distributed tracing system •
Support for: • Java • Node.js
X-Ray Demo
Local Development • no official tools
Local Development
Local Development • API Gateway • Kinesis • DynamoDB •
DynamoDB Streams • Elasticsearch • S3 • Firehose • Lambda • SNS • SQS • Redshift • ES (Elasticsearch Service) • SES • Route53 • CloudFormation • CloudWatch
Ecosystem • Step Functions • workflows • coordinate functions
None
Summary: AWS is a leader in serverless.
None
Google Cloud Functions
in beta
Runtimes • Node.js
Events • HTTP request • Cloud Pub/Sub • Cloud Storage
Monitoring & Logging • Logs and metrics pushed to Stackdriver
Logging • Errors captured by Stackdriver Error Reporting • Available metrics: • execution time • execution count • memory usage
• Debugging via Stackdriver Debugger Debugging & Diagnostics
Stackdriver Debugger Demo
• Cloud Functions Local Emulator Local Development
• Cloud Functions For Firebase • Events: • Realtime Database
Triggers • Firebase Authentication Triggers • Google Analytics for Firebase Triggers Ecosystem
Summary: GCP offers very basic serverless features.
None
Runtimes • Node.js • C# • F# • Python •
PHP
Events • HTTP request • Schedule • Azure Storage blob
storage and queues • Azure Event Hubs events • Azure Service Bus queues and topics
Monitoring & Logging • Logs and metrics pushed to Application
Insights • Metrics available per server: • response time • requests • failed requests
Debugging & Diagnostics • Debugging via local development
Local Development • Azure Functions Core Tools
Ecosystem • Logic Apps • business processes • workflows •
integration with SaaS products
Summary: Decent serverless offering. Logic Apps look promising.
None
Runtimes • Node.js • Swift • Python • Java •
anything via Docker
Events • HTTP request • Schedule (Alarms) • GitHub events
• IBM Cloudant DB changes • IBM Message Hub events • IBM Push Notifications events • custom events via triggers
Monitoring & Logging • Logs available via dashboard and CLI
• Metrics: • number of invocations • number of failed invocations • completion time
Debugging & Diagnostics • no official tools
Local Development • no official tools
Ecosystem
Summary: Open-source FaaS project built with extensibility in mind.
other projects
Kubeless
Fission
Funktion
FaaS
the company
None
A CLI tool that manages the lifecycle of you serverless
application.
Features • application lifecycle management • manage code & infrastructure
• scaffolding & automation • multi-provider (AWS, GCloud, Azure, IBM OpenWhisk) • local development • extensibility • community
None
None
We are hiring! serverless.com/company/jobs
Thanks!