Simple REST Definition and Request Routing with Frameworks

In this chapter, we'll have a look at alternative frameworks for creating microservices. In the previous chapters, we used a hyper crate to handle HTTP interaction, but it required us to write asynchronous code. If you don't need low-level control, if a microservice you've created won't work with a high load, or if you need to write one simply and quickly, you can try using the following crates to create microservices:

  • rouille
  • nickel
  • rocket
  • gotham

In this chapter, we will create four microservices that use database interaction concepts from previous chapters.

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

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