Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
哪个是实现访问者逻辑的最佳方法?
任何其他想法
不确定我是否在回答,但我不会自己实现,而是看看现有的解决方案。对于基本计数:
关于每个用户所做的更详细的指标,我会去群组。
一个完全其他的选择可能是只使用日志和类似lograge的东西来记录每个请求。添加字段(例如IP)非常容易。然后,您可以从日志中提取所有信息。