# redis-bit **Repository Path**: bryan31/redis-bit ## Basic Information - **Project Name**: redis-bit - **Description**: redis的bitmap和HyperLogLog的演示工程 - **Primary Language**: Java - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 12 - **Forks**: 11 - **Created**: 2020-03-18 - **Last Updated**: 2023-09-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 这是一个如何利用redis存储一亿用户活跃度的案例 ## 如何运行 **直接运行Runner** 生成模拟数据:http://127.0.0.1:8200/act/init 某一天的用户活跃数:http://127.0.0.1:8200/act/20190101 某一天的redis内存占用:http://127.0.0.1:8200/mem/20190101 某一天的某一个用户是否活跃:http://127.0.0.1:8200/act/user/20190101/10020 任意时间段内某一个用户是否活跃:http://127.0.0.1:8200/act/user/20190101/20190102/10020 任意时间段内用户活跃数:http://127.0.0.1:8200/act/20190101/20190102