新闻提要技术
我已经阅读了很多文章来为我的数据库进行良好的设计,这样我就可以通过执行一种复杂的查询来获取每个用户的最新更新,然后使用 ajax 将数据作为 JSON 发送到 JS 文件对记录进行适当的编辑。
看起来很快,但不知道如果网站有大量用户,是否会那么快。
所以我开始寻找替代品。我发现了一个叫做 NodeJS
的东西,我真的不明白它代表什么,希望你能帮助我。
另一方面,如果 facebook 不使用正常
数据库来完成他所做的任何事情,那么我认为没有办法做到这一点。
有用的链接:实施社交活动的最佳方式是什么流?
等待您的评论。
最诚挚的问候
I have been read a lot of articles to make a good design for my database so I can get the most recent updates for every single user by executing a - kind of - complex query then I send the data using ajax as a JSON to JS file that makes an appropriate edits for the records.
It seems fast but I don't know if it will be as much as fast if the site has a large number of users .
so iv'e started looking for an alternatives . and I found something called NodeJS
, I really didn't understand what it is stand for and hope that you can help me with that.
from another hand if the facebook doesn't use a normal
db to do whatever he does , then I think there is no way to do it .
useful link: What's the best manner of implementing a social activity stream?
waiting for your comments.
best regards
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我推荐:
I recommend: