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

基于redis计数器实现的pv/uv相关信息统计实现 #64

Merged
merged 2 commits into from
Aug 23, 2023

Conversation

liuyueyi
Copy link
Collaborator

基于redis计数器实现pv/uv统计:

  • 站点统计hash:
      • visit_info:
    • ---- pv: 站点的总pv
    • ---- uv: 站点的总uv
    • ---- pv_path: 站点某个资源的总访问pv
    • ---- uv_path: 站点某个资源的总访问uv
      • visit_info_ip:
    • ---- pv: 用户访问的站点总次数
    • ---- path_pv: 用户访问的路径总次数
      • visit_info_20230822每日记录, 一个月一条记录
    • ---- pv: 12 # field = 月日_pv, pv的计数
    • ---- uv: 5 # field = 月日_uv, uv的计数
    • ---- pv_path: 2 # 资源的当前访问计数
    • ---- uv_path: # 资源的当天访问uv
    • ---- pv_ip: # 用户当天的访问次数
    • ---- pv_path_ip: # 用户对资源的当天访问次数

@liuyueyi liuyueyi merged commit 248a145 into main Aug 23, 2023
@liuyueyi liuyueyi deleted the feature/site_cnt branch December 7, 2023 09:52
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