how would you explain the huge difference related to the views by guests shown in the dashboard (ACP) in comparison to the views shown in Google Analytics?
Which number would you consider as trustworthier?
If you are only going to use mongodb definitely have multiple collections with indices that make sense. For example your users collection can have indices on username whereas your posts collection can have indices on content and userid etc.
Well, remember that NodeBB is firstly designed with redis in mind (a simple in-memory key/value store) so that might affect the document design decisions they made for their mongodb collection.
This is why we have one collection in our mongodb implementation. To make db.delete db.rename easy to implement. From the db perspective there is no difference between a post and user object they are both indexed by the _key field so finding them is easy. For sorting and querying we use sorted sets, they are implemented in mongo using indices on value and score.
if embedded documents in my collection persons is more efficient than saving them in the same collection with a different key.
I wouldn't suggest embedding lots of documents, mongodb has a document size limit of 16mb so it won't let you insert more users after some point.
Hi folks. Does any one know of any external tools or plugins for data analytics on nodeBB usage.
I am looking to calculate some engagement metrics of the forum members. For ex:
DAU, WAU, MAU
Average upvotes spread over a time period etc etc.
Do you need hosting for a production NodeBB or one for just testing and stuff like that? I could probably provide you with both, I've got unused resources that I could allocate for you. But I think for this I can only allocate 1 CPU and 4 threads, 2048MB mem and 100GB HDD space. But if you contact me with more details it will be easier to tailor the box.
Fire off a message with details and I'll help you out, I can be reached at i.am/@/k0nsl.org