create forum with xmpp pubsub

狂风中的少年 提交于 2019-12-11 10:39:42

问题


i just wanted to know if I want a collection node act as topic and this collection node has leaf nodes for different questions wouldn't it be highly inefficient to have a dedicated leaf nodes for each question (collection node-leaf1, leaf2, ..., leafN)? This will end up with thousands of different leaf nodes in the database for different questions and not just items (for questions and answers) in one leaf node per topic (collection node)... (collection node-leaf node (where Q&A with big chunk of logic assigning answers to questions))

Or are collection and leaf nodes just made for such cases (a lot of leafs for each question)?

Edit1: Shouldn't I use XMPP for that purpose?

来源:https://stackoverflow.com/questions/10650543/create-forum-with-xmpp-pubsub

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!