For example, I know the design of a table userid, topicid, and act, but if a topic likes hundreds or thousands of likes, the data volume will not be too large, how to Design likes for a general big station. Can mysql be used, for example, a table named userid, topicid, and act? I know the design. But if a topic likes hundreds or thousands of likes, the data volume will not be too large, how to Design likes for a general big station. Is mysql okay?
Reply content:
For example, I know the design of a table userid, topicid, and act, but if a topic likes hundreds or thousands of likes, the data volume will not be too large, how to Design likes for a general big station. Is mysql okay?
Our Segmentfault process is as follows:
- The topic information in the database, including the total number of liked topics.
- Redis puts like-related data, for example, who likes the topic.