turms-im / turms

🕊️ The world's most advanced open source instant messaging engine for 100K~10M concurrent users https://turms-im.github.io/docs
Apache License 2.0
1.76k stars 275 forks source link

Support user behavior analysis #394

Open JamesChenX opened 4 years ago

JamesChenX commented 4 years ago

We won't complete this ticket in the near future because

  1. It should be a really big project that needs to integrate with the big data stack projects.
  2. It's just the icing in the cake for turms and developers can do this job by themselves.

But there are two things that we should be ready in the release of v1.0.

  1. We should add a properties group for developers to control whether to log different kinds of users' behavior (so that developers can use these logs to analyze users' behavior in any way).
  2. We need to document the current implementation of statistics so that developers should notice the risk of the default implementation.