Elaborate Microservice async example with FastAPI, RabbitMQ, MongoDB and Redis — part2.

Anders Wiklund
18 min readMar 30, 2023
Image created by the author

Introduction

This is part2 in the series. This part talks about the OrderService architecture and design patterns that are used and the resulting directory structure of the implementation.

Here’s a brief outline of the article parts:

  1. Introduction and installation of required components.
  2. OrderService Architecture and Design patterns (this article).
  3. OrderService usage of RabbitMQ.
  4. PaymentService Architecture and Design patterns.
  5. FastAPI enhancements.
  6. Putting it all together.

I will mention the the architectural and software design patterns that I have used, but not go into any detail of how they work. That is outside the scope of this article.

Architecture and design patterns

I will mention the architectural and software design patterns that I have used, but not go into any detail of how they work. That is outside the scope of this article.

--

--