Add speaker notes
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Pavle Portic 2020-06-09 11:00:20 +02:00
parent 3da7585df5
commit d19fd2401c
Signed by: TheEdgeOfRage
GPG Key ID: 6758ACE46AA2A849
4 changed files with 64 additions and 39 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 756 KiB

View File

@ -35,7 +35,6 @@ revealjs_script_conf = '''
history: true,
center: true,
transition: "slide",
showNotes: true,
}
'''
revealjs_script_plugins = [

View File

@ -12,6 +12,13 @@ What does serverless mean?
.. image:: _static/empty_racks.jpg
.. Advantages of serverless:
- No management
- Faster startup times
- "Infinite scale"
- Business logic only
AWS Compute startup times
-------------------------
@ -37,6 +44,8 @@ The Lambda lifecycle
'message': 'done'
}
.. What is a cold start and the advantages of a warm lambda
Edifice Corb
============
@ -51,12 +60,18 @@ Rapid iteration
.. image:: _static/say_agile.jpg
.. Constantly reworking the infrastructure and sometimes even the business logic
Person detection
================
* Tensorflow model
* Inference on video frames is compute intensive
* EC2 GPU instances are neither serverless nor cheap
* GPU instances are neither serverless nor cheap
.. image:: _static/god_damn_aws_charges.jpg
:width: 60%
.. Don't use GPU for inference unless absolutely necessary
AWS to the rescue
-----------------
@ -73,9 +88,10 @@ Still not serverless
The AWS SageMaker of six paths
------------------------------
* Managed end-to-end ML service
* Model training, deployment, and monitoring
* SageMaker studio, an "IDE for ML"
Managed end-to-end ML service
.. image:: _static/sagemaker_studio.jpg
:width: 80%
Processing pipeline
===================
@ -95,6 +111,8 @@ Serverless framework
True yaml engineering
.. No manual zip files, less architecture management, but less flexible
Triggering events
-----------------
@ -117,6 +135,8 @@ Other serverless goodies
* Easy additional permissions
* Lots of functionality for little code
.. show serverless.yaml
Other serverless badies
-----------------------
@ -124,17 +144,23 @@ Other serverless badies
* Multiple environments are harder to implement
* Hardcoding and code duplication
.. show serverless.yaml
Messaging pipeline
==================
.. image:: _static/messaging_pipeline.png
:width: 40%
.. Current architecture. Will be more complex when we add alarms. Talk about sync/async lambda calls
Y tho?
------
.. image:: _static/why_few_lambda.jpg
.. Why microservices. Easier parallel development. Easier testing
More triggers and destinations
------------------------------