Summary

In this chapter, we discussed a lot of topics on testing and debugging microservices. First, we considered unit and integration tests, and also saw some examples of using these in Rust. After this, we explored tools that help us with debugging microservices, including curl and Postman, to send requests manually; mitmproxy to trace all incoming requests and outgoing responses of a microservice; LLDB to explore the running code of a microservice; and Visual Studio Code as a GUI frontend for the LLDB Debugger.

Lastly, we discussed two techniques that used for the largest applications, where you can't simply debug: structural logging and distributed tracing using OpenTracing API.

In the next chapter, you'll learn about some techniques with which you can optimize Rust microservices.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.7.131