Add speaker notes
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
3da7585df5
commit
d19fd2401c
Binary file not shown.
After Width: | Height: | Size: 160 KiB |
Binary file not shown.
After Width: | Height: | Size: 756 KiB |
1
conf.py
1
conf.py
|
@ -35,7 +35,6 @@ revealjs_script_conf = '''
|
||||||
history: true,
|
history: true,
|
||||||
center: true,
|
center: true,
|
||||||
transition: "slide",
|
transition: "slide",
|
||||||
showNotes: true,
|
|
||||||
}
|
}
|
||||||
'''
|
'''
|
||||||
revealjs_script_plugins = [
|
revealjs_script_plugins = [
|
||||||
|
|
36
index.rst
36
index.rst
|
@ -12,6 +12,13 @@ What does serverless mean?
|
||||||
|
|
||||||
.. image:: _static/empty_racks.jpg
|
.. image:: _static/empty_racks.jpg
|
||||||
|
|
||||||
|
.. Advantages of serverless:
|
||||||
|
- No management
|
||||||
|
- Faster startup times
|
||||||
|
- "Infinite scale"
|
||||||
|
- Business logic only
|
||||||
|
|
||||||
|
|
||||||
AWS Compute startup times
|
AWS Compute startup times
|
||||||
-------------------------
|
-------------------------
|
||||||
|
|
||||||
|
@ -37,6 +44,8 @@ The Lambda lifecycle
|
||||||
'message': 'done'
|
'message': 'done'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.. What is a cold start and the advantages of a warm lambda
|
||||||
|
|
||||||
Edifice Corb
|
Edifice Corb
|
||||||
============
|
============
|
||||||
|
|
||||||
|
@ -51,12 +60,18 @@ Rapid iteration
|
||||||
|
|
||||||
.. image:: _static/say_agile.jpg
|
.. image:: _static/say_agile.jpg
|
||||||
|
|
||||||
|
.. Constantly reworking the infrastructure and sometimes even the business logic
|
||||||
|
|
||||||
Person detection
|
Person detection
|
||||||
================
|
================
|
||||||
|
|
||||||
* Tensorflow model
|
|
||||||
* Inference on video frames is compute intensive
|
* 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
|
AWS to the rescue
|
||||||
-----------------
|
-----------------
|
||||||
|
@ -73,9 +88,10 @@ Still not serverless
|
||||||
The AWS SageMaker of six paths
|
The AWS SageMaker of six paths
|
||||||
------------------------------
|
------------------------------
|
||||||
|
|
||||||
* Managed end-to-end ML service
|
Managed end-to-end ML service
|
||||||
* Model training, deployment, and monitoring
|
|
||||||
* SageMaker studio, an "IDE for ML"
|
.. image:: _static/sagemaker_studio.jpg
|
||||||
|
:width: 80%
|
||||||
|
|
||||||
Processing pipeline
|
Processing pipeline
|
||||||
===================
|
===================
|
||||||
|
@ -95,6 +111,8 @@ Serverless framework
|
||||||
|
|
||||||
True yaml engineering
|
True yaml engineering
|
||||||
|
|
||||||
|
.. No manual zip files, less architecture management, but less flexible
|
||||||
|
|
||||||
Triggering events
|
Triggering events
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
|
@ -117,6 +135,8 @@ Other serverless goodies
|
||||||
* Easy additional permissions
|
* Easy additional permissions
|
||||||
* Lots of functionality for little code
|
* Lots of functionality for little code
|
||||||
|
|
||||||
|
.. show serverless.yaml
|
||||||
|
|
||||||
Other serverless badies
|
Other serverless badies
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
|
@ -124,17 +144,23 @@ Other serverless badies
|
||||||
* Multiple environments are harder to implement
|
* Multiple environments are harder to implement
|
||||||
* Hardcoding and code duplication
|
* Hardcoding and code duplication
|
||||||
|
|
||||||
|
.. show serverless.yaml
|
||||||
|
|
||||||
Messaging pipeline
|
Messaging pipeline
|
||||||
==================
|
==================
|
||||||
|
|
||||||
.. image:: _static/messaging_pipeline.png
|
.. image:: _static/messaging_pipeline.png
|
||||||
:width: 40%
|
:width: 40%
|
||||||
|
|
||||||
|
.. Current architecture. Will be more complex when we add alarms. Talk about sync/async lambda calls
|
||||||
|
|
||||||
Y tho?
|
Y tho?
|
||||||
------
|
------
|
||||||
|
|
||||||
.. image:: _static/why_few_lambda.jpg
|
.. image:: _static/why_few_lambda.jpg
|
||||||
|
|
||||||
|
.. Why microservices. Easier parallel development. Easier testing
|
||||||
|
|
||||||
|
|
||||||
More triggers and destinations
|
More triggers and destinations
|
||||||
------------------------------
|
------------------------------
|
||||||
|
|
Loading…
Reference in New Issue