Skip to content

Tech Architecture

johnny.liu edited this page Jan 26, 2022 · 1 revision

The whole system in the Django-Rest will split into several sub-services, such as Admin Service, Customer Service, Catalog Service, Order Service, Product Service, and Shopping Cart Service. The detailed functions of each service are shown below.

Service Name Functions Connected DBs
Admin Service

Admin user login / register

Admin user management

...

PostgreSQL
Customer Service

Customer user login / register

Customer user management

...

PostgreSQL
Catalog Service

Catalog management

...

PostgreSQL
Order Service

Order creating

Order fulfillment

Order management

...

MongoDB (for redundant product info)

PostgreSQL (ACID transaction)

Product Service

Product management

Product publish / recover

Product searching

Product recommendation

...

MongoDB (schema-less)

ES (product searching)

Neo4j (product recommendation)

Shopping Cart Service

Shopping display

Add / Remove products

Change amounts of items

Submitting shopping cart

...

Redis (HA shopping cart)

RabbitMQ (asynchronous process)

PostgreSQL (persistence)

Clone this wiki locally