Using AWS Lambdas
in the Real World
Hi! My name is Eliot.
Are you a backend, frontend engineer, or some other cool
specialization?
Do you have any cloud experience?
Has anyone worked with Lambdas before?
2
Before We Start
Tell you about myself
Tell you about Oath
Tell you what I do at Oath
Explain Function as a Service
Challenges at Oath
Challenges others are facing
3
Goals
I’m a husband and a dad from Baltimore
I’m a Principal Architect at Oath
I’ve been with Ad.com, Aol, and Verizon for 11 years
I’m an inventor
After hours: Board Member, Advisor, Volunteer, and Mentor
4
About Me
Twitter: @eliotpearson
LinkedIn: eliotpearson
Email: eliot.pearson@gmail.com
Github: eliotpearson
Medium: @eliotpearson
5
About Me
6
About Oath
Source
7
About Oath
Did you know Yahoo created Hadoop in 2006?
Need to process a big data set
efficiently?
You should take a look at Vespa!
8
About Oath
Here are some
cool projects
worth checking
out!
9
What I do at Oath
{{Advertising}}
&
{{API}}
10
*AAS Models
Source: Abstracting the Back-end with FaaS by John McKim
11
FaaS or Serverless Computing
You may hear people refer to Function as a Service or FAAS as Serverless. The core idea is that you are
not concerned about the hosting infrastructure. You only care about the function.
Source: https://blog.alexellis.io/introducing-functions-as-a-service/
A perspective of a thought leader on the topic.
12
Lambdas @ Oath
12
How Painful Are Your
Scheduled Jobs?
13
14
Use Case - Scheduled Jobs
15
Use Case - Scheduled Jobs
16
Use Case - Scheduled Jobs
17
Use Case - Scheduled Jobs
A Pain Point - We had a lot idle hardware not being fully utilized
A Pro - Solution is cheaper than previous incarnation
A Con - This solution only worked on our cloud components
How Are You Dealing
with External Data?
18
19
Use Case - External Data
20
Use Case - External Data
21
Use Case - External Data
A Pain Point - Trouble communicating arrival of external data
A Pro - Didn’t touch the existing flow to increase communication
A Con - Easily becomes a one-off
Can I have a lookup
API?
22
23
Use Case - Looking API
Coding Example
24
Use Case - Lookup API
A Pain Point - A customer needs data we don’t manage
A Pro - Very flexible and easy to setup
A Con - Becomes more infrastructure to manage
Before moving on,
a few things...
25
26
Potential Pitfalls
We have many one-off Lambdas
Don’t treat a Lambda like a long lived process
Dependencies aren’t updated as much as other code
Security can be a challenge
27
External Lambdas
27
It’s November 1971, and
it’s a snow day.
How do you let
everyone know school
is closed?
28
29
29Source: Flickr
30
Use Case - Phone Tree
Who has the most work and who has the least?
31
Use Case - Phone Tree
Who has the most work?
32
Use Case - Phone Tree
Does this cost less than other solutions?
33
Use Case - Phone Tree
Source: http://www.costowl.com/b2b/call-center-autodialer-cost.html
Why is education so expensive? Stuff like this!
34
Use Case - Phone Tree
A Pain Point - Some schools are plagued with this problem
A Pro - Alert parents on multiple channels with ease
A Con - A very custom solution
Will Lambdas Work for
Advertising?
35
36
Use Case - Vidroll
37
Use Case - Vidroll
Source: https://aws.amazon.com/solutions/case-studies/vidroll/
Did You Know Accepting
Payments Can Be Expensive?
38
39
39
Source: https://www.highsnobiety.com/2015/07/27/most-expensive-sneakers-2015-q2/
This is the second most expensive. Do you know the most expensive?
40
Use Case - Dirt Cheap
Recurring Payments
41
Use Case - Dirt Cheap
Recurring Payments
Source: http://normal-extensions.com/2017/05/05/simple-recurring/
{{LAMBDA}} +
Wait, we only talked about
cloud based solutions. What if
I run my own data center?
42
Use Case - Running
Functions in O & O DCs
Use Case - Running
Functions in O & O DCs
Open FAAS give you an abstraction layer
You can run on existing hardware, public, or private cloud
I’m looking into this one in the future
45
Cool Stuff to Check Out
Code in the Schools - Teaching Computer Science to kids
through gaming
Digital Harbor Foundation - Dedicated to fostering learning,
creativity, productivity, and community through education
Baltimore Robotics Center - Robots+Kids+STEM=Cool
Code for the Demo - Examples I walked through
46
Thank you for your time!
I really do appreciate you taking the time to listen me. Do you
have any questions?

More Related Content

PPTX
JakartaJS: Serverless in production
PPTX
AWS Lambda Tutorial For Beginners | What is AWS Lambda? | AWS Tutorial For Be...
PPTX
2016 Utah Cloud Summit: AWS Lambda and API Gateway
PDF
Serverless / FaaS / Lambda and how it relates to Microservices
PPTX
AWS Serverless Workshop.pptx
PDF
AWS Lambda: Best Practices and Common Mistakes - DevOps East 2019
PPTX
AWS Serverless patterns & best-practices in AWS
JakartaJS: Serverless in production
AWS Lambda Tutorial For Beginners | What is AWS Lambda? | AWS Tutorial For Be...
2016 Utah Cloud Summit: AWS Lambda and API Gateway
Serverless / FaaS / Lambda and how it relates to Microservices
AWS Serverless Workshop.pptx
AWS Lambda: Best Practices and Common Mistakes - DevOps East 2019
AWS Serverless patterns & best-practices in AWS

Similar to Using AWS Lambdas in the Real World (20)

PPTX
Lambda land: Running a serverless ticketing platform for less than $2 a month
PPTX
Running a serverless ticketing platform for less than $2 a month
PDF
Getting Started with AWS Lambda & Serverless Cloud
PDF
A Practical Introduction to Functions-as-a-Service
PDF
Augury and Omens Aside, Part 1:
 The Business Case for Apache Mesos
PDF
AWS Community Day - Derek C. Ashmore - AWS Lambda: Best Practices
PDF
AWS Lambda: Best Practices and Common Mistakes - AWS Community Days 2019
PDF
Getting Started with AWS Lambda and Serverless Computing
PPTX
Serverless Architectures
PPTX
Serverless design considerations for Cloud Native workloads
PPTX
Building serverless app_using_aws_lambda_b4usolution
PPTX
Going serverless with aws lambda
PDF
AWS Lambda Presentation (Tech Talk DC)
PDF
AWSomeDay Zurich 2018 - How to go serverless
PDF
Lambda architecture for real time big data
PPTX
The world is not black and white – Impact of decisions over the lifetime of a...
PDF
Serverless on AWS: Architectural Patterns and Best Practices
ODP
Path dependent-development (PyCon India)
PDF
From the Boardroom to the Terminal_ Adapting to the Future - DevOpsBCN - Apr ...
ODP
Path Dependent Development (PyCon AU)
Lambda land: Running a serverless ticketing platform for less than $2 a month
Running a serverless ticketing platform for less than $2 a month
Getting Started with AWS Lambda & Serverless Cloud
A Practical Introduction to Functions-as-a-Service
Augury and Omens Aside, Part 1:
 The Business Case for Apache Mesos
AWS Community Day - Derek C. Ashmore - AWS Lambda: Best Practices
AWS Lambda: Best Practices and Common Mistakes - AWS Community Days 2019
Getting Started with AWS Lambda and Serverless Computing
Serverless Architectures
Serverless design considerations for Cloud Native workloads
Building serverless app_using_aws_lambda_b4usolution
Going serverless with aws lambda
AWS Lambda Presentation (Tech Talk DC)
AWSomeDay Zurich 2018 - How to go serverless
Lambda architecture for real time big data
The world is not black and white – Impact of decisions over the lifetime of a...
Serverless on AWS: Architectural Patterns and Best Practices
Path dependent-development (PyCon India)
From the Boardroom to the Terminal_ Adapting to the Future - DevOpsBCN - Apr ...
Path Dependent Development (PyCon AU)
Ad

Recently uploaded (20)

PPT
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
PDF
A proposed approach for plagiarism detection in Myanmar Unicode text
PDF
Convolutional neural network based encoder-decoder for efficient real-time ob...
PPTX
Custom Battery Pack Design Considerations for Performance and Safety
PPTX
TEXTILE technology diploma scope and career opportunities
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PPTX
The various Industrial Revolutions .pptx
PDF
Improvisation in detection of pomegranate leaf disease using transfer learni...
PDF
sustainability-14-14877-v2.pddhzftheheeeee
PDF
Flame analysis and combustion estimation using large language and vision assi...
PDF
Credit Without Borders: AI and Financial Inclusion in Bangladesh
PPTX
Benefits of Physical activity for teenagers.pptx
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
sbt 2.0: go big (Scala Days 2025 edition)
PDF
Five Habits of High-Impact Board Members
PPT
What is a Computer? Input Devices /output devices
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
1 - Historical Antecedents, Social Consideration.pdf
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
A proposed approach for plagiarism detection in Myanmar Unicode text
Convolutional neural network based encoder-decoder for efficient real-time ob...
Custom Battery Pack Design Considerations for Performance and Safety
TEXTILE technology diploma scope and career opportunities
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
The various Industrial Revolutions .pptx
Improvisation in detection of pomegranate leaf disease using transfer learni...
sustainability-14-14877-v2.pddhzftheheeeee
Flame analysis and combustion estimation using large language and vision assi...
Credit Without Borders: AI and Financial Inclusion in Bangladesh
Benefits of Physical activity for teenagers.pptx
Taming the Chaos: How to Turn Unstructured Data into Decisions
Zenith AI: Advanced Artificial Intelligence
sbt 2.0: go big (Scala Days 2025 edition)
Five Habits of High-Impact Board Members
What is a Computer? Input Devices /output devices
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
1 - Historical Antecedents, Social Consideration.pdf
Final SEM Unit 1 for mit wpu at pune .pptx
Ad

Using AWS Lambdas in the Real World

  • 1. Using AWS Lambdas in the Real World
  • 2. Hi! My name is Eliot. Are you a backend, frontend engineer, or some other cool specialization? Do you have any cloud experience? Has anyone worked with Lambdas before? 2 Before We Start
  • 3. Tell you about myself Tell you about Oath Tell you what I do at Oath Explain Function as a Service Challenges at Oath Challenges others are facing 3 Goals
  • 4. I’m a husband and a dad from Baltimore I’m a Principal Architect at Oath I’ve been with Ad.com, Aol, and Verizon for 11 years I’m an inventor After hours: Board Member, Advisor, Volunteer, and Mentor 4 About Me
  • 5. Twitter: @eliotpearson LinkedIn: eliotpearson Email: eliot.pearson@gmail.com Github: eliotpearson Medium: @eliotpearson 5 About Me
  • 7. 7 About Oath Did you know Yahoo created Hadoop in 2006? Need to process a big data set efficiently? You should take a look at Vespa!
  • 8. 8 About Oath Here are some cool projects worth checking out!
  • 9. 9 What I do at Oath {{Advertising}} & {{API}}
  • 10. 10 *AAS Models Source: Abstracting the Back-end with FaaS by John McKim
  • 11. 11 FaaS or Serverless Computing You may hear people refer to Function as a Service or FAAS as Serverless. The core idea is that you are not concerned about the hosting infrastructure. You only care about the function. Source: https://blog.alexellis.io/introducing-functions-as-a-service/ A perspective of a thought leader on the topic.
  • 13. How Painful Are Your Scheduled Jobs? 13
  • 14. 14 Use Case - Scheduled Jobs
  • 15. 15 Use Case - Scheduled Jobs
  • 16. 16 Use Case - Scheduled Jobs
  • 17. 17 Use Case - Scheduled Jobs A Pain Point - We had a lot idle hardware not being fully utilized A Pro - Solution is cheaper than previous incarnation A Con - This solution only worked on our cloud components
  • 18. How Are You Dealing with External Data? 18
  • 19. 19 Use Case - External Data
  • 20. 20 Use Case - External Data
  • 21. 21 Use Case - External Data A Pain Point - Trouble communicating arrival of external data A Pro - Didn’t touch the existing flow to increase communication A Con - Easily becomes a one-off
  • 22. Can I have a lookup API? 22
  • 23. 23 Use Case - Looking API Coding Example
  • 24. 24 Use Case - Lookup API A Pain Point - A customer needs data we don’t manage A Pro - Very flexible and easy to setup A Con - Becomes more infrastructure to manage
  • 25. Before moving on, a few things... 25
  • 26. 26 Potential Pitfalls We have many one-off Lambdas Don’t treat a Lambda like a long lived process Dependencies aren’t updated as much as other code Security can be a challenge
  • 28. It’s November 1971, and it’s a snow day. How do you let everyone know school is closed? 28
  • 30. 30 Use Case - Phone Tree Who has the most work and who has the least?
  • 31. 31 Use Case - Phone Tree Who has the most work?
  • 32. 32 Use Case - Phone Tree Does this cost less than other solutions?
  • 33. 33 Use Case - Phone Tree Source: http://www.costowl.com/b2b/call-center-autodialer-cost.html Why is education so expensive? Stuff like this!
  • 34. 34 Use Case - Phone Tree A Pain Point - Some schools are plagued with this problem A Pro - Alert parents on multiple channels with ease A Con - A very custom solution
  • 35. Will Lambdas Work for Advertising? 35
  • 36. 36 Use Case - Vidroll
  • 37. 37 Use Case - Vidroll Source: https://aws.amazon.com/solutions/case-studies/vidroll/
  • 38. Did You Know Accepting Payments Can Be Expensive? 38
  • 40. 40 Use Case - Dirt Cheap Recurring Payments
  • 41. 41 Use Case - Dirt Cheap Recurring Payments Source: http://normal-extensions.com/2017/05/05/simple-recurring/ {{LAMBDA}} +
  • 42. Wait, we only talked about cloud based solutions. What if I run my own data center? 42
  • 43. Use Case - Running Functions in O & O DCs
  • 44. Use Case - Running Functions in O & O DCs Open FAAS give you an abstraction layer You can run on existing hardware, public, or private cloud I’m looking into this one in the future
  • 45. 45 Cool Stuff to Check Out Code in the Schools - Teaching Computer Science to kids through gaming Digital Harbor Foundation - Dedicated to fostering learning, creativity, productivity, and community through education Baltimore Robotics Center - Robots+Kids+STEM=Cool Code for the Demo - Examples I walked through
  • 46. 46 Thank you for your time! I really do appreciate you taking the time to listen me. Do you have any questions?