Learn how to trace requests across multiple requests and correlate their log entries by passing a X-Request-Id header between applications.
- [Instructor] The problem of correlating logs for a request…is compounded when working with multiple services.…A single request can potentially call multiple…microservices in order to build a single response.…How can you track a single request…without having each service create unique identifiers?…This solution is known as cross-application…request correlation.…It sounds complex, but, honestly,…it's more about extending what we've already been doing.…When making your request to another…application or system, include the request ID.…
Practically, this means setting…an X-Request-Id header in any requests made.…The system receiving the request…with the request ID then uses the provided…request ID it's given for its logging.…This is a great technique, but it does…have some practical drawbacks.…To fully take advantage of this technique…can take a lot of work, especially if the application…wasn't designed to include them from the beginning.…Every system needs to be able to generate…and/or receive request IDs.…Every request needs to include the request ID.…
- Building a troubleshooting mindset
- Why measure performance?
- What's a microservice architecture?
- Managing microservices with PM2
- Effective logging strategies
- Debugging Node.js applications
- Benchmarking performance
- Profiling code execution
- Knowing what to optimize
Skill Level Intermediate
1. Build a Troubleshooting Mindset
2. Introducing Microservices
3. Effective Logging Strategies
4. Debugging Node.js Applications
Debugging isn't just logging3m 51s
5. Measuring Performance
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.