This document discusses lessons learned from using serverless functions in production. It begins by defining serverless computing and describing some serverless technologies like AWS Lambda and Backend as a Service. It then details four use cases the author implemented with serverless functions, including video transcoding, data calculations, data fetching, and communication between services. Several issues encountered are explained, such as function timeout errors, database connection problems, and network latency between functions. The document concludes by noting that while some workloads were moved to ECS, most functions remain on AWS Lambda, and that the author continues improving their serverless implementation.
Jets: The Ruby Serverless Framework Nashville Tennessee 2019 AugustTung Nguyen
The presentation I gave at Southeast Ruby 2019 in Nashville, Tennessee. It covers serverless technologies and provides a essentials baseline for Lambda, API Gateway, CloudWatch.
Then it covers Jets code and how the framework helps you deploy Ruby applications onto Serverless.
* https://southeastruby.com/
* http://rubyonjets.com/
Check out: https://www.boltops.com/
Jets: The Ruby Serverless Framework Balkan Ruby Bulgaria 2019 MayTung Nguyen
The presentation I gave at Balkan Ruby 2019 in Sofia, Bulgaria. It covers serverless technologies and provides a essentials baseline for Lambda, API Gateway, CloudWatch.
Then it covers Jets code and how the framework helps you deploy Ruby applications onto Serverless.
* https://balkanruby.com/
* http://rubyonjets.com/
How and why test Azure Front Door with AWS Lambda & PowerShell? | Osman Sahin...UK DevOps Collective
Osman Sahin, a regular attendee of our events, explains how and why he is using AWS Lambda & PowerShell to test the new Azure Front Door service.
Presented Wednesday 28th July 2019 at the London PowerShell User Group Meetup hosted by dotdigital Group.
Connect with Osman Sahin:
- LinkedIn: https://www.linkedin.com/in/osmanysahin/
Thanks to dotdigital Group (https://dotdigital.com / https://twitter.com/dotdigital) for providing the venue, food and drinks. We very much appreciate your continued support of our community of PowerShell & DevOps tech enthusiasts.
Join our next event at https://www.meetup.com/PowerShell-London-UK/. We are running at least one Meetup every month.
#PowerShell #Azure #AWS #DevOps
Why your next serverless project should use AWS AppSyncYan Cui
In this webinar, Yan Cui and Lumigo Software Engineer Guy Moses will discuss some of the power of GraphQL and AppSync and why AppSync + Lambda + DynamoDB should be your stack of choice in 2021 and beyond!
Jets: The Ruby Serverless Framework Ruby Kaigi Japan 2019 AprilTung Nguyen
The presentation I gave at Ruby Kaigi 2019 in Japan. It covers serverless technologies and provides a essentials baseline for Lambda, API Gateway, CloudWatch.
Then it covers Jets code and how the framework helps you deploy Ruby applications onto Serverless.
* https://rubykaigi.org/2019/presentations/tongueroo.html#apr20
* http://rubyonjets.com/
Building Automated Control Systems for Your AWS InfrastructureAmazon Web Services
Defining infrastructure resource policies in an organized manner can help your company better manage its infrastructure resources.
This session will familiarize you with using AWS Lambda to process data and provide control logic for your infrastructure. You can use Amazon CloudWatch Events to monitor infrastructure resources in real-time, and you can use AWS Lambda to react to events based on a set of rules. We will demonstrate how you can build a rules engine for creating, monitoring, and managing policies.
Jets: The Ruby Serverless Framework Nashville Tennessee 2019 AugustTung Nguyen
The presentation I gave at Southeast Ruby 2019 in Nashville, Tennessee. It covers serverless technologies and provides a essentials baseline for Lambda, API Gateway, CloudWatch.
Then it covers Jets code and how the framework helps you deploy Ruby applications onto Serverless.
* https://southeastruby.com/
* http://rubyonjets.com/
Check out: https://www.boltops.com/
Jets: The Ruby Serverless Framework Balkan Ruby Bulgaria 2019 MayTung Nguyen
The presentation I gave at Balkan Ruby 2019 in Sofia, Bulgaria. It covers serverless technologies and provides a essentials baseline for Lambda, API Gateway, CloudWatch.
Then it covers Jets code and how the framework helps you deploy Ruby applications onto Serverless.
* https://balkanruby.com/
* http://rubyonjets.com/
How and why test Azure Front Door with AWS Lambda & PowerShell? | Osman Sahin...UK DevOps Collective
Osman Sahin, a regular attendee of our events, explains how and why he is using AWS Lambda & PowerShell to test the new Azure Front Door service.
Presented Wednesday 28th July 2019 at the London PowerShell User Group Meetup hosted by dotdigital Group.
Connect with Osman Sahin:
- LinkedIn: https://www.linkedin.com/in/osmanysahin/
Thanks to dotdigital Group (https://dotdigital.com / https://twitter.com/dotdigital) for providing the venue, food and drinks. We very much appreciate your continued support of our community of PowerShell & DevOps tech enthusiasts.
Join our next event at https://www.meetup.com/PowerShell-London-UK/. We are running at least one Meetup every month.
#PowerShell #Azure #AWS #DevOps
Why your next serverless project should use AWS AppSyncYan Cui
In this webinar, Yan Cui and Lumigo Software Engineer Guy Moses will discuss some of the power of GraphQL and AppSync and why AppSync + Lambda + DynamoDB should be your stack of choice in 2021 and beyond!
Jets: The Ruby Serverless Framework Ruby Kaigi Japan 2019 AprilTung Nguyen
The presentation I gave at Ruby Kaigi 2019 in Japan. It covers serverless technologies and provides a essentials baseline for Lambda, API Gateway, CloudWatch.
Then it covers Jets code and how the framework helps you deploy Ruby applications onto Serverless.
* https://rubykaigi.org/2019/presentations/tongueroo.html#apr20
* http://rubyonjets.com/
Building Automated Control Systems for Your AWS InfrastructureAmazon Web Services
Defining infrastructure resource policies in an organized manner can help your company better manage its infrastructure resources.
This session will familiarize you with using AWS Lambda to process data and provide control logic for your infrastructure. You can use Amazon CloudWatch Events to monitor infrastructure resources in real-time, and you can use AWS Lambda to react to events based on a set of rules. We will demonstrate how you can build a rules engine for creating, monitoring, and managing policies.
An introductory presentation on Chatbots with Serverless (AWS Lambda). It covers AWS Lez, its terminologies and AWS Lambda in detail. It also showcases on how to connect your Lex bot to Facebook Messenger.
Building Serverless Backends with AWS Lambda and Amazon API GatewayAmazon Web Services
AWS Lambda is a compute service that runs your code without provisioning or managing servers. Amazon API Gateway is a fully managed service that makes it easy for developers to publish, maintain, monitor, and secure APIs at any scale.
This session will familiarize you with the basics of AWS Lambda and Amazon API Gateway and demonstrate how to build web, mobile, and IoT backends using these services. You will learn how to setup API endpoints that trigger AWS Lambda functions to handle mobile, web, IoT, and 3rd party API requests. You will also learn how to use Lambda to read and write to Amazon DynamoDB. We will run through a demo of setting up a simple serverless blogging web application that allows user authentication and the ability to create posts and comments.
How to build observability into a serverless applicationYan Cui
Serverless introduces a number of challenges to existing tools for observability, we need to adapt our practices to fit this new paradigm. In this talk, we will discuss how we can build observability into a serverless application. We will see how you can implement log aggregation, distributed tracing and correlation IDs through both synchronous as well as asynchronous events.
Frail & Cast Iron tools - a Postman Case StudyPostman
Postman supercharges my testing efforts everyday. In this presentation, I will paint a portrait of my experience with Postman (and Newman) from the perspective of craftsman software tester. I'll share what I've reaped from daily, hardcore usage of the tool, with plenty of victories, a few frustrations, a couple of workarounds to show and tell.
With the introduction of Amazon Lambda, we can build JavaScript back-ends without having to worry about scaling them when there is an increase in traffic. If, like me, you have a background in functional programming, you may not have tried it yet because you love having a strong type system and a compiler to help you avoid errors. But... worry not! You can use PureScript, a Haskell-inspired language that compiles to JavaScript, to build your Amazon Lambda functions.
AWS Fargate AWS UG Dormund 2019 Kazulkin JungVadym Kazulkin
With AWS Fargate, Amazon has released a service that is a mix of container orchestration and serverless. One benefits from common container orchestration features, such as horizontal scaling, self-healing, and service discovery. Fargate fulfills also the characteristics of the serverless applications, since one does not have to administer the containers themselves and thus has a low operational effort. In addition, containers in Fargate scale automatically and are priced according to the actual resources consumption (CPU and memory). In this talk, we dive into the world of Elastic Container Service (ECS) and Fargate based on the "real world" example. We will also talk briefly about Firecracker, which allows us to provision the Fargate runtime layer faster and more efficiently and about integration possibilities with other AWS services like Step Functions and Cloud Map. At the end we talk about the future of Fargate in conjunction with Elastic Kubernetes Service (EKS).
In this talk, we’ll dive deep the best practices for developing Serverless applications. This session will cover local development, testing, debugging, followed by deployment best practices (CI/CD).
Managing the deployment of code to multiple AWS Lambda functions and updating your API Gateway methods can be manual and time consuming.
In this session, we will show you how to build a deployment pipeline to AWS Lambda using AWS CodePipeline, a continuous delivery service based on Amazon’s internal release automation tooling. We will discuss how to use versioning, which enables you to better manage the different variations of your Lambda functions and API Gateway methods in your development workflow (e.g., development, staging, and production). We will walk through how to automate the entire release process of your application from development, to staging, and finally to production; performing automated integration tests at each stage.
AWS DevDay San Francisco, June 21, 2016.
Presenter: Andrew Baird, Solutions Architecture
How to build a social network on serverlessYan Cui
Many people are building different workloads using serverless technologies these days, but how would a non-trivial system such as a social network look like on serverless?
In this talk Yan will discuss his journey of migrating a social network startup to serverless, and how his team was able to improve performance, scalability and feature delivery using serverless technologies.
Yan will discuss how serverless technologies such as Lambda are used to implement each part of their system, including search, push notifications, timeline, user recommendations, and business intelligence. If you're wondering how serverless can be used to solve a wide variety of challenges in your business, this is the talk for you.
While there are many Cloud design patterns for infrastructure, there are also many Cloud design patterns for developers. Come and learn how you can take your software design patterns and apply them to the next generation of cloud applications, or simply modernise your existing software architectures.
Speaker: Arden Packeer, Solutions Architect, Amazon Web Services
In this talk, we will discuss some tips for alerting around your serverless application, and different approaches to troubleshooting issues in your serverless application: using first-party tools from AWS; using custom-built solutions; or using a serverless monitoring solution.
C# Async on iOS and Android - Miguel de Icaza, CTO of XamarinXamarin
Fast, fluid, instant-gratification apps are a must for mobile and C# async makes this much easier to accomplish.
Slides are from the Xamarin CTO and cofounder Miguel de Icaza to understand how and why you should use async for your mobile apps.
API310 - How to refactor a monolith to serverless in 8 stepsYan Cui
Refactoring a monolith to serverless can be intimidating, but there are discrete steps that you can take to simplify the process. In this chalk talk, we outline eight steps for successfully refactoring your monolith and highlight key decision points such as language and tooling choices. Through real-world examples of successful migrations, we uncover common mistakes, useful techniques for identifying components for migration and service boundaries, and processes for migrating large amounts of data without downtime. Bring your refactoring challenges to this interactive session to see how these techniques can be applied in the context of your own application.
One of the most common performance issues in serverless architectures is elevated latencies from external services, such as DynamoDB, ElasticSearch or Stripe. In this webinar, we will focus on how to monitor, detect and fix latency issues that arise when our Lambda functions need to talk to other services.
(DVO203) The Life of a Netflix Engineer Using 37% of the InternetAmazon Web Services
Netflix is a large and ever-changing ecosystem made up of: hundreds of production changes every hour, thousands of micro services, tens of thousands of instances, millions of concurrent customers, billions of metrics every minute. And I'm the guy with the pager. This is an in-the-trenches look at what operating at Netflix scale in the cloud is really like. It covers how Netflix views the velocity of innovation, expected failures, high availability, engineer responsibility, and obsessing over the quality of the customer experience. It also explains why freedom and responsibility are key, trust is required, and chaos is your friend.
(DVO202) DevOps at Amazon: A Look At Our Tools & ProcessesAmazon Web Services
As software teams transition to cloud-based architectures and adopt more agile processes, the tools they need to support their development cycles will change. In this session, we'll take you through the transition that Amazon made to a service-oriented architecture over a decade ago. We will share the lessons we learned, the processes we adopted, and the tools we built to increase both our agility and reliability. We will also introduce you to AWS CodeCommit, AWS CodePipeline, and AWS CodeDeploy, three new services born out of Amazon's internal DevOps experience.
With AWS Lambda, you can easily build scalable microservices for mobile, web, and IoT applications or respond to events from other AWS services without managing infrastructure. In this session, you’ll see demonstrations and hear more about newly launched features. We’ll show you how to use Lambda to build web, mobile, or IoT backends and voice-enabled apps, and we'll show you how to extend both AWS and third party services by triggering Lambda functions. We’ll also provide productivity and performance tips for getting the most out of your Lambda functions and show how cloud native architectures use Lambda to eliminate “cold servers” and excess capacity without sacrificing scalability or responsiveness.
An introductory presentation on Chatbots with Serverless (AWS Lambda). It covers AWS Lez, its terminologies and AWS Lambda in detail. It also showcases on how to connect your Lex bot to Facebook Messenger.
Building Serverless Backends with AWS Lambda and Amazon API GatewayAmazon Web Services
AWS Lambda is a compute service that runs your code without provisioning or managing servers. Amazon API Gateway is a fully managed service that makes it easy for developers to publish, maintain, monitor, and secure APIs at any scale.
This session will familiarize you with the basics of AWS Lambda and Amazon API Gateway and demonstrate how to build web, mobile, and IoT backends using these services. You will learn how to setup API endpoints that trigger AWS Lambda functions to handle mobile, web, IoT, and 3rd party API requests. You will also learn how to use Lambda to read and write to Amazon DynamoDB. We will run through a demo of setting up a simple serverless blogging web application that allows user authentication and the ability to create posts and comments.
How to build observability into a serverless applicationYan Cui
Serverless introduces a number of challenges to existing tools for observability, we need to adapt our practices to fit this new paradigm. In this talk, we will discuss how we can build observability into a serverless application. We will see how you can implement log aggregation, distributed tracing and correlation IDs through both synchronous as well as asynchronous events.
Frail & Cast Iron tools - a Postman Case StudyPostman
Postman supercharges my testing efforts everyday. In this presentation, I will paint a portrait of my experience with Postman (and Newman) from the perspective of craftsman software tester. I'll share what I've reaped from daily, hardcore usage of the tool, with plenty of victories, a few frustrations, a couple of workarounds to show and tell.
With the introduction of Amazon Lambda, we can build JavaScript back-ends without having to worry about scaling them when there is an increase in traffic. If, like me, you have a background in functional programming, you may not have tried it yet because you love having a strong type system and a compiler to help you avoid errors. But... worry not! You can use PureScript, a Haskell-inspired language that compiles to JavaScript, to build your Amazon Lambda functions.
AWS Fargate AWS UG Dormund 2019 Kazulkin JungVadym Kazulkin
With AWS Fargate, Amazon has released a service that is a mix of container orchestration and serverless. One benefits from common container orchestration features, such as horizontal scaling, self-healing, and service discovery. Fargate fulfills also the characteristics of the serverless applications, since one does not have to administer the containers themselves and thus has a low operational effort. In addition, containers in Fargate scale automatically and are priced according to the actual resources consumption (CPU and memory). In this talk, we dive into the world of Elastic Container Service (ECS) and Fargate based on the "real world" example. We will also talk briefly about Firecracker, which allows us to provision the Fargate runtime layer faster and more efficiently and about integration possibilities with other AWS services like Step Functions and Cloud Map. At the end we talk about the future of Fargate in conjunction with Elastic Kubernetes Service (EKS).
In this talk, we’ll dive deep the best practices for developing Serverless applications. This session will cover local development, testing, debugging, followed by deployment best practices (CI/CD).
Managing the deployment of code to multiple AWS Lambda functions and updating your API Gateway methods can be manual and time consuming.
In this session, we will show you how to build a deployment pipeline to AWS Lambda using AWS CodePipeline, a continuous delivery service based on Amazon’s internal release automation tooling. We will discuss how to use versioning, which enables you to better manage the different variations of your Lambda functions and API Gateway methods in your development workflow (e.g., development, staging, and production). We will walk through how to automate the entire release process of your application from development, to staging, and finally to production; performing automated integration tests at each stage.
AWS DevDay San Francisco, June 21, 2016.
Presenter: Andrew Baird, Solutions Architecture
How to build a social network on serverlessYan Cui
Many people are building different workloads using serverless technologies these days, but how would a non-trivial system such as a social network look like on serverless?
In this talk Yan will discuss his journey of migrating a social network startup to serverless, and how his team was able to improve performance, scalability and feature delivery using serverless technologies.
Yan will discuss how serverless technologies such as Lambda are used to implement each part of their system, including search, push notifications, timeline, user recommendations, and business intelligence. If you're wondering how serverless can be used to solve a wide variety of challenges in your business, this is the talk for you.
While there are many Cloud design patterns for infrastructure, there are also many Cloud design patterns for developers. Come and learn how you can take your software design patterns and apply them to the next generation of cloud applications, or simply modernise your existing software architectures.
Speaker: Arden Packeer, Solutions Architect, Amazon Web Services
In this talk, we will discuss some tips for alerting around your serverless application, and different approaches to troubleshooting issues in your serverless application: using first-party tools from AWS; using custom-built solutions; or using a serverless monitoring solution.
C# Async on iOS and Android - Miguel de Icaza, CTO of XamarinXamarin
Fast, fluid, instant-gratification apps are a must for mobile and C# async makes this much easier to accomplish.
Slides are from the Xamarin CTO and cofounder Miguel de Icaza to understand how and why you should use async for your mobile apps.
API310 - How to refactor a monolith to serverless in 8 stepsYan Cui
Refactoring a monolith to serverless can be intimidating, but there are discrete steps that you can take to simplify the process. In this chalk talk, we outline eight steps for successfully refactoring your monolith and highlight key decision points such as language and tooling choices. Through real-world examples of successful migrations, we uncover common mistakes, useful techniques for identifying components for migration and service boundaries, and processes for migrating large amounts of data without downtime. Bring your refactoring challenges to this interactive session to see how these techniques can be applied in the context of your own application.
One of the most common performance issues in serverless architectures is elevated latencies from external services, such as DynamoDB, ElasticSearch or Stripe. In this webinar, we will focus on how to monitor, detect and fix latency issues that arise when our Lambda functions need to talk to other services.
(DVO203) The Life of a Netflix Engineer Using 37% of the InternetAmazon Web Services
Netflix is a large and ever-changing ecosystem made up of: hundreds of production changes every hour, thousands of micro services, tens of thousands of instances, millions of concurrent customers, billions of metrics every minute. And I'm the guy with the pager. This is an in-the-trenches look at what operating at Netflix scale in the cloud is really like. It covers how Netflix views the velocity of innovation, expected failures, high availability, engineer responsibility, and obsessing over the quality of the customer experience. It also explains why freedom and responsibility are key, trust is required, and chaos is your friend.
(DVO202) DevOps at Amazon: A Look At Our Tools & ProcessesAmazon Web Services
As software teams transition to cloud-based architectures and adopt more agile processes, the tools they need to support their development cycles will change. In this session, we'll take you through the transition that Amazon made to a service-oriented architecture over a decade ago. We will share the lessons we learned, the processes we adopted, and the tools we built to increase both our agility and reliability. We will also introduce you to AWS CodeCommit, AWS CodePipeline, and AWS CodeDeploy, three new services born out of Amazon's internal DevOps experience.
With AWS Lambda, you can easily build scalable microservices for mobile, web, and IoT applications or respond to events from other AWS services without managing infrastructure. In this session, you’ll see demonstrations and hear more about newly launched features. We’ll show you how to use Lambda to build web, mobile, or IoT backends and voice-enabled apps, and we'll show you how to extend both AWS and third party services by triggering Lambda functions. We’ll also provide productivity and performance tips for getting the most out of your Lambda functions and show how cloud native architectures use Lambda to eliminate “cold servers” and excess capacity without sacrificing scalability or responsiveness.
AWS Lambda allows any Node.js app to be run at scale in a massively parallel environment with no up-front costs or planning. This session shows how to use Lambda to build dynamic analytic data flows that can be tuned as they execute, based on initial results, to provide real-time output streamed to web clients. This process enables a cost-effective and responsive user experience for ad hoc big data jobs and lets developers focus on how data is consumed and presented, instead of how it is obtained.
With AWS Lambda, you can easily build scalable microservices for mobile, web, and IoT applications or respond to events from other AWS services without managing infrastructure. In this session, you’ll see demonstrations and hear more about newly launched features. We’ll show you how to use Lambda to build web, mobile, or IoT backends and voice-enabled apps, and we'll show you how to extend both AWS and third party services by triggering Lambda functions. We’ll also provide productivity and performance tips for getting the most out of your Lambda functions and show how cloud native architectures use Lambda to eliminate “cold servers” and excess capacity without sacrificing scalability or responsiveness.
"Плюси та мінуси впровадження AWS Lambda в проєкт" Віталій ГригоришинFwdays
Розглянемо невелику історію впровадження AWS Lambda в існуючий (живий) проєкт. Визначимо причини вибору “безсерверної” архітектури. Розберемо цікаві нюанси, з якими зіштовхнулась наша команда.
План:
- Що таке AWS Lambda?
- Навіщо нам була потрібна AWS Lambda?
- Плюси впровадження AWS Lambda
- Мінуси впровадження AWS Lambda
- Результати впровадження AWS Lambda
Serverless Architectural Patterns & Best PracticesDaniel Zivkovic
This ServerlessTO meetup covered various Serverless design patterns and best practices for building apps using the full #AWS #Serverless stack - not just Lambda. Event recording (including 25min long Q&A!) is at https://youtu.be/gsILTMXPUeU
Serverless design considerations for Cloud Native workloadsTensult
We have built a news website with more than a billion views per month and we are sharing the learnings from that experience covering Serverless architectures, Design considerations, and Gotchas.
AWS October Webinar Series - AWS Lambda Best Practices: Python, Scheduled Job...Amazon Web Services
AWS Lambda lets you run code without provisioning or managing servers. We have introduced a few new features this year at re:Invent and would like to share with you some of the best practices.
This webinar will introduce you to scheduled AWS Lambda functions and how to use long running functions to handle large volume data ingestion and processing jobs. We will demonstrate how to use versioning to control which Lambda function version is being executed in your development, testing, and production environments. We will also show you how to run your Python code in AWS Lambda.
With AWS Lambda, you can easily build scalable microservices for mobile, web, and IoT applications or respond to events from other AWS services without managing infrastructure. In this session, you’ll see demonstrations and hear more about newly launched features. We’ll show you how to use Lambda to build web, mobile, or IoT backends and voice-enabled apps, and we'll show you how to extend both AWS and third party services by triggering Lambda functions. We’ll also provide productivity and performance tips for getting the most out of your Lambda functions and show how cloud native architectures use Lambda to eliminate “cold servers” and excess capacity without sacrificing scalability or responsiveness.
Do you want to run your code without the cost and effort of provisioning and managing servers? Find out how in this deep dive session on AWS Lambda, which allows you to run code for virtually any type of application or back end service – all with zero administration. During the session, we’ll look at a number of key AWS Lambda features and benefits, including automated application scaling with high availability; pay-as-you-consume billing; and the ability to automatically trigger your code from other AWS services or from any web or mobile app.
AWS August Webinar Series - Building Serverless Backends with AWS Lambda and ...Amazon Web Services
AWS Lambda is a compute service that runs your code in response to triggers and automatically manages the compute resources for you. Amazon API Gateway is a fully managed service that makes it easy for developers to publish, maintain, monitor, and secure APIs at any scale.
This webinar will familiarize you with the basics of AWS Lambda and Amazon API Gateway and demonstrate how to build web, mobile, and IoT backends using these services. You will learn how to setup API endpoints that trigger AWS Lambda functions to handle mobile, web, IoT, and 3rd party API requests. You will also learn how to use Lambda to read and write to DynamoDB.
Learning Objectives:
Understand key AWS Lambda and Amazon API Gateway features
Learn how to set up a serverless backend using Amazon API Gateway and AWS Lambda
Explore sample use cases, best practices and tips on using AWS Lambda with Amazon API Gateway
Compute Without Servers – Building Applications with AWS Lambda - Technical 301Amazon Web Services
AWS Lambda enables developers to build scalable applications without managing servers. Come learn how Lambda's event driven approach helps build backend ingestion systems, real time stream processing, and scalable API backends. We will deep dive into the different approaches that customers have taken to building applications with Lambda, typical architectures that customers use Lambda for, and best practices for authoring, deploying, and managing Lambda functions.
Speaker: Ajay Nair, Sr Product Manager Lambda, Amazon Web Services
Presentation from the developer track at I Love APIs London 2016 featuring Matt McClean, Amazon Web Services.
Developers have been jumping on the microservices bandwagon because of the obvious benefits of faster release cycles and innovation. However, microservices' downside is the increased server costs, operational costs, and performance costs. To reduce this complexity, Amazon Web Services created AWS Lambda - a compute platform that lets you build microservices with no provisioning and servers.
Matt McClean, Solution Architect from AWS, presents how to use AWS Lambda to build your microservices. He covers various architectural patterns and anti-patterns for using AWS Lambda.
¿Qué es eso del desarrollo sin servidores? ¿Qué lenguajes puedo utilizar? ¿Cómo hago cosas como autenticación, o guardar en base de datos, o enviar notificaciones? ¿Esto escala? A todas estas preguntas, y a alguna más, intentaré dar respuesta en esta sesión, donde haré una pequeña demo de montar una app muy sencilla y desplegarla en la nube sin preocuparnos de gestionar infraestructura. Charla realizada por primera vez para AlcarriaConf 2021
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
The publishing industry has been selling digital audiobooks and ebooks for over a decade and has found its groove. What’s changed? What has stayed the same? Where do we go from here? Join a group of leading sales peers from across the industry for a conversation about the lessons learned since the popularization of digital books, best practices, digital book supply chain management, and more.
Link to video recording: https://bnctechforum.ca/sessions/selling-digital-books-in-2024-insights-from-industry-leaders/
Presented by BookNet Canada on May 28, 2024, with support from the Department of Canadian Heritage.
UiPath Test Automation using UiPath Test Suite series, part 4DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 4. In this session, we will cover Test Manager overview along with SAP heatmap.
The UiPath Test Manager overview with SAP heatmap webinar offers a concise yet comprehensive exploration of the role of a Test Manager within SAP environments, coupled with the utilization of heatmaps for effective testing strategies.
Participants will gain insights into the responsibilities, challenges, and best practices associated with test management in SAP projects. Additionally, the webinar delves into the significance of heatmaps as a visual aid for identifying testing priorities, areas of risk, and resource allocation within SAP landscapes. Through this session, attendees can expect to enhance their understanding of test management principles while learning practical approaches to optimize testing processes in SAP environments using heatmap visualization techniques
What will you get from this session?
1. Insights into SAP testing best practices
2. Heatmap utilization for testing
3. Optimization of testing processes
4. Demo
Topics covered:
Execution from the test manager
Orchestrator execution result
Defect reporting
SAP heatmap example with demo
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Albert Hoitingh
In this session I delve into the encryption technology used in Microsoft 365 and Microsoft Purview. Including the concepts of Customer Key and Double Key Encryption.
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
💥 Speed, accuracy, and scaling – discover the superpowers of GenAI in action with UiPath Document Understanding and Communications Mining™:
See how to accelerate model training and optimize model performance with active learning
Learn about the latest enhancements to out-of-the-box document processing – with little to no training required
Get an exclusive demo of the new family of UiPath LLMs – GenAI models specialized for processing different types of documents and messages
This is a hands-on session specifically designed for automation developers and AI enthusiasts seeking to enhance their knowledge in leveraging the latest intelligent document processing capabilities offered by UiPath.
Speakers:
👨🏫 Andras Palfi, Senior Product Manager, UiPath
👩🏫 Lenka Dulovicova, Product Program Manager, UiPath
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfPaige Cruz
Monitoring and observability aren’t traditionally found in software curriculums and many of us cobble this knowledge together from whatever vendor or ecosystem we were first introduced to and whatever is a part of your current company’s observability stack.
While the dev and ops silo continues to crumble….many organizations still relegate monitoring & observability as the purview of ops, infra and SRE teams. This is a mistake - achieving a highly observable system requires collaboration up and down the stack.
I, a former op, would like to extend an invitation to all application developers to join the observability party will share these foundational concepts to build on:
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
Keynote at DIGIT West Expo, Glasgow on 29 May 2024.
Cheryl Hung, ochery.com
Sr Director, Infrastructure Ecosystem, Arm.
The key trends across hardware, cloud and open-source; exploring how these areas are likely to mature and develop over the short and long-term, and then considering how organisations can position themselves to adapt and thrive.
Elevating Tactical DDD Patterns Through Object CalisthenicsDorra BARTAGUIZ
After immersing yourself in the blue book and its red counterpart, attending DDD-focused conferences, and applying tactical patterns, you're left with a crucial question: How do I ensure my design is effective? Tactical patterns within Domain-Driven Design (DDD) serve as guiding principles for creating clear and manageable domain models. However, achieving success with these patterns requires additional guidance. Interestingly, we've observed that a set of constraints initially designed for training purposes remarkably aligns with effective pattern implementation, offering a more ‘mechanical’ approach. Let's explore together how Object Calisthenics can elevate the design of your tactical DDD patterns, offering concrete help for those venturing into DDD for the first time!
4. WHAT
And Why Serverless ?
Serverless computing is a cloud-computing execution
model in which the cloud provider runs the server, and
dynamically manages the allocation of machine resources.
Pricing is based on the actual amount of resources
consumed by an application, rather than on pre-purchased
units of capacity. It can be a form of utility computing.
*stolen shamelessly from wikipedia.
15. WHAT
And Why Why AWS Lambda ?
Zero Provisioning Effort. Minimal ops and fully managed!
16. WHAT
And Why Why AWS Lambda ?
Zero Provisioning Effort. Minimal ops and fully managed!
Pay per Use, Infinitely Scalable.
17. WHAT
And Why Why AWS Lambda ?
Zero Provisioning Effort. Minimal ops and fully managed!
Pay per Use, Infinitely Scalable. Your budget.. Most likely
not.
18. WHAT
And Why Why AWS Lambda ?
Zero Provisioning Effort. Minimal ops and fully managed!
Pay per Use, Infinitely Scalable. Your budget.. Most likely
not.
Deliver values faster.
19. WHAT
And Why Why AWS Lambda ?
Zero Provisioning Effort. Minimal ops and fully managed!
Pay per Use, Infinitely Scalable. Your budget.. Most likely
not.
Deliver values faster. Only care for the implementation
code*.
* Baca aturan pakai. Jika pusing berlanjut, jangan hubungi saya.
20. WHAT
And Why Why AWS Lambda ?
Zero Provisioning Effort. Minimal ops and fully managed!
Pay per Use, Infinitely Scalable. Your budget.. Most likely
not.
Deliver values faster. Only care for the implementation
code*.
Sleep.
* Baca aturan pakai. Jika pusing berlanjut, jangan hubungi saya.
26. WHAT
Limitations
15 Minutes invocation time
30 Seconds API Gateway response
250 MB package size
No Persistence, such as DB pooling
Cold Starts (~0.5seconds in Js)
And Why
32. Case #1: Video Transcoding
1. Admin is able to upload raw video
2. Service will transcode to multiple
resolutions
3. Notify the admin when transcoding
process finished
EXP
Our Cases
33. Case #1: Video Transcoding
EXP
Our Cases
S3 Bucket (Raw)
User Uploads
to S3
1 2
34. Case #1: Video Transcoding
EXP
Our Cases
S3 Bucket (Raw) Lambda Function
User Uploads
to S3
1 2 3
35. Case #1: Video Transcoding
EXP
Our Cases
S3 Bucket (Raw)
Media Convert
Lambda Function
User Uploads
to S3
1 2 3
4
36. Case #1: Video Transcoding
EXP
Our Cases
S3 Bucket (Raw)
S3 Bucket
Media Convert
Lambda Function
User Uploads
to S3
1 2 3
45
37. Case #1: Video Transcoding
EXP
Our Cases
S3 Bucket (Raw)
S3 Bucket
Media Convert
Lambda Function
User Uploads
to S3
Lambda Function
For Notifications
1 2 3
45
6
38. Case #2: Data Calculation
1. A scheduler which regularly fetches data
from a certain data source
2. A service will do some data calculation
based on the data source and write to
another data store
EXP
Our Cases
39. Case #2: Data Calculation
EXP
Our Cases
Cloudwatch Event
1
40. Case #2: Data Calculation
EXP
Our Cases
Lambda FunctionCloudwatch Event
1 2
41. Case #2: Data Calculation
EXP
Our Cases
Lambda Function PostgreSQL on RDSCloudwatch Event
1 2 3
42. Case #2: Data Calculation
EXP
Our Cases
Lambda Function PostgreSQL on RDSCloudwatch Event
1 2 3
TIMEOUT!
43. Case #2: Data Calculation
Well, we can actually use a recursive for long
running task, but we haven’t tried that method
EXP
Our Cases
Lambda Function PostgreSQL on RDSCloudwatch Event
1 2 3
TIMEOUT!
44. Case #3: Data Fetching
1. Front-End requests a data from API
(REST or GraphQL)
2. Service will connect to database and
return the data as response
EXP
Our Cases
45. Case #3: Data Fetching
EXP
Our Cases
Lambda Function
2
API Gateway
1
46. Case #3: Data Fetching
EXP
Our Cases
Lambda Function
2
API Gateway
1
PostgreSQL on RDS
3
47. Case #3: Data Fetching
EXP
Our Cases
Lambda Function
2
API Gateway
1
PostgreSQL on RDS
3
Cold Start!
DB connections issue
48. Case #4: Comms Between
Services
1. Front End requests data to Service A
2. Service A will do a process, then calls
Service B
3. Service B will be invoked and fetch data
from Database
4. Return the response to Front End
EXP
Our Cases
49. Case #4: Comms Between
Services
EXP
Our Cases
Lambda Function
2
API Gateway
1
50. Case #4: Comms Between
Services
EXP
Our Cases
Lambda Function
2
API Gateway
1
API Gateway
3
51. Case #4: Comms Between
Services
EXP
Our Cases
Lambda Function
2
API Gateway
1
API Gateway
3
Lambda Function
4
52. Case #4: Comms Between
Services
EXP
Our Cases
Lambda Function
2
API Gateway
1
PostgreSQL on RDS
5
API Gateway
3
Lambda Function
4
53. Case #4: Comms Between
Services
EXP
Our Cases
Lambda Function
2
API Gateway
1
PostgreSQL on RDS
5
API Gateway
3
Lambda Function
4
Network Latency!
54. Cost
Pay for API gateway and lambda execution.
Slow functions = 💸🔥
EXP
Our Cases
API Gateway Lambda Function
55. Cost
Pay for API gateway and lambda execution.
Extra wait time for functions = 💸🔥🔥🔥
EXP
Our Cases
56. Code Reusability: Shared Library
We use shared library to reuse codes like utilities or helpers.
Issue: Redeploy functions for each new versions.
EXP
Our Cases
Lambda Function Lambda Function Lambda Function
Shared Code (Library)
57. Code Reusability: Service
We use service to reuse codes as service with synchronous
communication. Issue: network latency, obviously..
EXP
Our Cases
Lambda Function Lambda Function Lambda Function
Shared Code (Lambda Function)
58. Deployment
Using Serverless Framework. You can use SAM template or
Apex UP as well
Tip: Watch out for your deployment bucket. You’ll fill up
your S3 Bucket quickly if you do not set it.
EXP
Our Cases
62. SUM
Finally So, Are we still using
serverless functions ?
Yes, but not 100%.
We moved some of the heavier workloads to AWS ECS
(Elastic Container Service). Still serverless!
Majority of others still remain in AWS Lambda
63. SUM
Finally Lesson Learned.
We’re not the expert in Serverless technology,
in this case, AWS Lambda. So we did things
wrong in the past.
We’re still improving!
User uploads a file to AWS S3 using SDK. S3 then calls our lambda as trigger to start encoding queue. When the encoding ends, another lambda will send a notification email
User uploads a file to AWS S3 using SDK. S3 then calls our lambda as trigger to start encoding queue. When the encoding ends, another lambda will send a notification email
User uploads a file to AWS S3 using SDK. S3 then calls our lambda as trigger to start encoding queue. When the encoding ends, another lambda will send a notification email
User uploads a file to AWS S3 using SDK. S3 then calls our lambda as trigger to start encoding queue. When the encoding ends, another lambda will send a notification email
User uploads a file to AWS S3 using SDK. S3 then calls our lambda as trigger to start encoding queue. When the encoding ends, another lambda will send a notification email
User uploads a file to AWS S3 using SDK. S3 then calls our lambda as trigger to start encoding queue. When the encoding ends, another lambda will send a notification email
User uploads a file to AWS S3 using SDK. S3 then calls our lambda as trigger to start encoding queue. When the encoding ends, another lambda will send a notification email
Do a SQS queue to do a calculation on a lambda, which lastest for more than its limit.
Do a SQS queue to do a calculation on a lambda, which lastest for more than its limit.
Do a SQS queue to do a calculation on a lambda, which lastest for more than its limit.
Do a SQS queue to do a calculation on a lambda, which lastest for more than its limit.
Do a SQS queue to do a calculation on a lambda, which lastest for more than its limit.
User uploads a file to AWS S3 using SDK. S3 then calls our lambda as trigger to start encoding queue. When the encoding ends, another lambda will send a notification email
User uploads a file to AWS S3 using SDK. S3 then calls our lambda as trigger to start encoding queue. When the encoding ends, another lambda will send a notification email