SlideShare a Scribd company logo
1 of 11
Download to read offline
Serverless with Java on
AWS
Petru Flueras
March 2018
What’s new in Java ecosystem
● September 2017: Java 9 (non LTS - March 2018)
● September 2017: Java EE 8 (JAX-RS 2.1, Servlet 4.0, CDI 2.0, ...)
● August 2017: “We (Oracle) believe that moving Java EE technologies
including reference implementations and test compatibility kit to an open
source foundation may be the right next step, ...”
○ Oracle -> Eclipse Enterprise for Java (EE4J)
○ Java EE -> Jakarta EE
● March 2018: Java 10 (non LTS - September 2018)
What’s new in Java ecosystem #2
● September 2017: Spring Framework 5 - Reactive
● March 2018: Spring Boot 2
● January 2018: Eclipse MicroProfile 1.3
○ Optimizing Enterprise Java for a microservices architecture
○ Config 1.2, Metrics 1.1, OpenAPI 1.0, OpenTracing 1.0, ...
Serverless computing & FaaS
Serverless computing is a cloud computing execution model in which the cloud
provider dynamically manages the allocation of machine resources.
Web applications, Data (stream) processing, IoT, Chatbots, IT (Cloud) Automation
https://www.youtube.com/watch?v=aBcG57Gw9k0
Serverless - Advantages
● Horizontally scalable by design
● Pay for what you use
● Underlying infrastructure managed for you (no servers, no docker, no k8s)
● NoOps?
Serverless - Disadvantages
● Increased complexity
● Distributed traceability/logging
● Tough to debug!!!
● Not suitable for heavyweight functionality?!?
● Cold Start
Serverless - Design principles
Well Architected Framework lens whitepaper: Serverless Application
● Share nothing architecture (stateless!)
● Design for failures and duplicates
○ Idempotency
○ Retries
○ Throttling
AWS Lambda Pricing
https://aws.amazon.com/lambda/pricing/
Example 1 - Plain Java
AWS SDK for Java
https://docs.aws.amazon.com/lambda/latest/dg/java-programming-model-handler-types.html
Example 2 - aws-serverless-java-container
https://aws.amazon.com/blogs/opensource/java-apis-aws-lambda/
Thank you!

More Related Content

What's hot

OpenStack MagnetoDB. Atlanta Summit 2014
OpenStack MagnetoDB. Atlanta Summit 2014OpenStack MagnetoDB. Atlanta Summit 2014
OpenStack MagnetoDB. Atlanta Summit 2014
Ilya Sviridov
 

What's hot (9)

IP Clustering as Exploratory Data Analysis
IP Clustering as Exploratory Data AnalysisIP Clustering as Exploratory Data Analysis
IP Clustering as Exploratory Data Analysis
 
Third openCypher Implementers Group Meeting: Status Update
Third openCypher Implementers Group Meeting: Status UpdateThird openCypher Implementers Group Meeting: Status Update
Third openCypher Implementers Group Meeting: Status Update
 
Combining Logs, Metrics, and Traces for Unified Observability
Combining Logs, Metrics, and Traces for Unified ObservabilityCombining Logs, Metrics, and Traces for Unified Observability
Combining Logs, Metrics, and Traces for Unified Observability
 
When Our Serverless Team Chooses Containers
When Our Serverless Team Chooses ContainersWhen Our Serverless Team Chooses Containers
When Our Serverless Team Chooses Containers
 
Reactive Extensions - VTD11
Reactive Extensions - VTD11Reactive Extensions - VTD11
Reactive Extensions - VTD11
 
OpenStack MagnetoDB. Atlanta Summit 2014
OpenStack MagnetoDB. Atlanta Summit 2014OpenStack MagnetoDB. Atlanta Summit 2014
OpenStack MagnetoDB. Atlanta Summit 2014
 
Governing Elastic IoT Cloud Systems under Uncertainties
Governing Elastic IoT Cloud Systems under UncertaintiesGoverning Elastic IoT Cloud Systems under Uncertainties
Governing Elastic IoT Cloud Systems under Uncertainties
 
Datadog- Monitoring In Motion
Datadog- Monitoring In Motion Datadog- Monitoring In Motion
Datadog- Monitoring In Motion
 
Sharad openstack slides
Sharad openstack slidesSharad openstack slides
Sharad openstack slides
 

Similar to Serverless with Java on AWS

Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Mater
 

Similar to Serverless with Java on AWS (20)

Voxxed Athens 2018 - Java EE is dead Long live jakarta EE!
Voxxed Athens 2018 - Java EE is dead Long live jakarta EE!Voxxed Athens 2018 - Java EE is dead Long live jakarta EE!
Voxxed Athens 2018 - Java EE is dead Long live jakarta EE!
 
Machine Learning with JavaScript
Machine Learning with JavaScriptMachine Learning with JavaScript
Machine Learning with JavaScript
 
Introduction to OpenStack : Barcamp Bangkhen 2016
Introduction to OpenStack : Barcamp Bangkhen 2016Introduction to OpenStack : Barcamp Bangkhen 2016
Introduction to OpenStack : Barcamp Bangkhen 2016
 
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)
 
Arulraj gopalakrishnan java technical_lead (1)
Arulraj gopalakrishnan java technical_lead (1)Arulraj gopalakrishnan java technical_lead (1)
Arulraj gopalakrishnan java technical_lead (1)
 
Resume
ResumeResume
Resume
 
Bandwidth: Use Cases for Elastic Cloud on Kubernetes
Bandwidth: Use Cases for Elastic Cloud on Kubernetes Bandwidth: Use Cases for Elastic Cloud on Kubernetes
Bandwidth: Use Cases for Elastic Cloud on Kubernetes
 
Microsoft Azure News - 2018 May
Microsoft Azure News - 2018 MayMicrosoft Azure News - 2018 May
Microsoft Azure News - 2018 May
 
Productionalizing a spark application
Productionalizing a spark applicationProductionalizing a spark application
Productionalizing a spark application
 
How LogDNA Scaled Elasticsearch on Kubernetes
How LogDNA Scaled Elasticsearch on KubernetesHow LogDNA Scaled Elasticsearch on Kubernetes
How LogDNA Scaled Elasticsearch on Kubernetes
 
Pratyush Agarwal Net 6.5 Yrs
Pratyush Agarwal Net 6.5 YrsPratyush Agarwal Net 6.5 Yrs
Pratyush Agarwal Net 6.5 Yrs
 
Shubhangi Prasad
Shubhangi PrasadShubhangi Prasad
Shubhangi Prasad
 
Intro to creating kubernetes operators
Intro to creating kubernetes operators Intro to creating kubernetes operators
Intro to creating kubernetes operators
 
NestJS vs. Express The Ultimate Comparison of Node Frameworks.pdf
NestJS vs. Express The Ultimate Comparison of Node Frameworks.pdfNestJS vs. Express The Ultimate Comparison of Node Frameworks.pdf
NestJS vs. Express The Ultimate Comparison of Node Frameworks.pdf
 
Machine learning on kubernetes
Machine learning on kubernetesMachine learning on kubernetes
Machine learning on kubernetes
 
Microsoft Azure News - 2018 June
Microsoft Azure News - 2018 JuneMicrosoft Azure News - 2018 June
Microsoft Azure News - 2018 June
 
NestJS vs. Express The Ultimate Comparison of Node Frameworks.pdf
NestJS vs. Express The Ultimate Comparison of Node Frameworks.pdfNestJS vs. Express The Ultimate Comparison of Node Frameworks.pdf
NestJS vs. Express The Ultimate Comparison of Node Frameworks.pdf
 
Mayank Jarsaniya_Resume
Mayank Jarsaniya_ResumeMayank Jarsaniya_Resume
Mayank Jarsaniya_Resume
 
MySQL Day Paris 2018 - What’s New in MySQL 8.0 ?
MySQL Day Paris 2018 - What’s New in MySQL 8.0 ?MySQL Day Paris 2018 - What’s New in MySQL 8.0 ?
MySQL Day Paris 2018 - What’s New in MySQL 8.0 ?
 
Microprofile and EE4J update
Microprofile and EE4J updateMicroprofile and EE4J update
Microprofile and EE4J update
 

Recently uploaded

Recently uploaded (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 

Serverless with Java on AWS

  • 1. Serverless with Java on AWS Petru Flueras March 2018
  • 2. What’s new in Java ecosystem ● September 2017: Java 9 (non LTS - March 2018) ● September 2017: Java EE 8 (JAX-RS 2.1, Servlet 4.0, CDI 2.0, ...) ● August 2017: “We (Oracle) believe that moving Java EE technologies including reference implementations and test compatibility kit to an open source foundation may be the right next step, ...” ○ Oracle -> Eclipse Enterprise for Java (EE4J) ○ Java EE -> Jakarta EE ● March 2018: Java 10 (non LTS - September 2018)
  • 3. What’s new in Java ecosystem #2 ● September 2017: Spring Framework 5 - Reactive ● March 2018: Spring Boot 2 ● January 2018: Eclipse MicroProfile 1.3 ○ Optimizing Enterprise Java for a microservices architecture ○ Config 1.2, Metrics 1.1, OpenAPI 1.0, OpenTracing 1.0, ...
  • 4. Serverless computing & FaaS Serverless computing is a cloud computing execution model in which the cloud provider dynamically manages the allocation of machine resources. Web applications, Data (stream) processing, IoT, Chatbots, IT (Cloud) Automation https://www.youtube.com/watch?v=aBcG57Gw9k0
  • 5. Serverless - Advantages ● Horizontally scalable by design ● Pay for what you use ● Underlying infrastructure managed for you (no servers, no docker, no k8s) ● NoOps?
  • 6. Serverless - Disadvantages ● Increased complexity ● Distributed traceability/logging ● Tough to debug!!! ● Not suitable for heavyweight functionality?!? ● Cold Start
  • 7. Serverless - Design principles Well Architected Framework lens whitepaper: Serverless Application ● Share nothing architecture (stateless!) ● Design for failures and duplicates ○ Idempotency ○ Retries ○ Throttling
  • 9. Example 1 - Plain Java AWS SDK for Java https://docs.aws.amazon.com/lambda/latest/dg/java-programming-model-handler-types.html
  • 10. Example 2 - aws-serverless-java-container https://aws.amazon.com/blogs/opensource/java-apis-aws-lambda/