Architecture design of distributed real-time recommendation system

In the past few days, I have learned the relevant knowledge of distributed real-time recommendation systems, and learned that Douyin and Alibaba have relatively good systems in this regard. The following are a few sketches I designed after some study, recorded and kept for reference.

1 Overall Architecture Figure
insert image description here
2 Use MyCat to realize database partition and sub-table, and read-write separation.
insert image description here
3 Use Redis to implement query data caching.
insert image description here
4 When the amount of database data is large, the database is split into a real-time database cluster and a historical database cluster.
insert image description here

Guess you like

Origin blog.csdn.net/helloworldchina/article/details/108965129