Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 增加redis,将follow_and_follower_list改造成redis,这个表弃用 #95

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gtoo8888
Copy link
Contributor

数据库表follow_and_follower_list已弃用,用redis来保存
FollowAndFollowerList:follower_id:3 // 标识ID为3的用户的粉丝set
FollowAndFollowerList:user_id:3 // 标识ID为3的用户的关注set

影响的接口:
/douyin/relation/action
/douyin/relation/follow/list
/douyin/relation/follower/list

将来user_info中的follw_count和follower_count也可以删除,通过读取redis,set中的数量来确定

@gtoo8888 gtoo8888 changed the title feat: 将follow_and_follower_list改造成redis,这个表弃用 feat: 增加redis,将follow_and_follower_list改造成redis,这个表弃用 Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant