From the course: Java: Serverless Applications on AWS
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Trace, debug, and optimize Lambda applications
From the course: Java: Serverless Applications on AWS
Trace, debug, and optimize Lambda applications
- [Instructor] Identifying performance bottlenecks and troubleshooting requests that resulted in an error is always a challenge. Now we're going to learn how to customize trace data, debug and visualize requests to optimize Lambda applications with AWS X-Ray. X-Ray helps you analyze distributed applications by showing you an end to end view of requests as they travel through your application. X-Ray can be easily integrated with Lambda functions. Once enabled, Lambda trace data is sent to the X-Ray automatically. I have already done some invocations in order to generate some data for us to see. Let's open the X-Ray service and bring up our service map. What you can see is the path from the client to the application. Lambda records two segments which creates two nodes on the service map. The first node represents the Lambda service that receives the invocation request. The second node is recorded by the function's runtime.…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.