Node-chat 使用什么样的技术

发布于 2024-09-11 12:16:02 字数 242 浏览 1 评论 0原文

这是我正在询问的节点聊天: http://github.com/scottgonzalez/node-chat

消息如何传递到服务器?

websocket彗星ajax?

它是如何运作的?

它所使用的东西是可扩展的吗?

谢谢。

This is the node-chat I'm inquiring about:
http://github.com/scottgonzalez/node-chat

How are the messages being passed to the server?

websocket comet ajax?

How does it work?

Is what it's using scalable?

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

旧竹 2024-09-18 12:16:03
  • 它使用 node.js 作为 专门的 http-server,通过类似 REST 的 API 对请求做出反应,传递 json。
  • 客户端是一个jquery增强的“网站”,它 从以下位置轮询其信息服务器通过jquery.ajax()(json-chunks也可以通过jQuery.getJSON()获取[只是正常的http获取])。
  • 因为这只是一个小小的炫耀,我怀疑它是否具有“可扩展性”,即“将其分发到数千台机器上以处理数百万用户”。
  • it uses node.js running as a specialized http-server, reacting via a REST-like API to requests, delivering json.
  • the client is a jquery enhanced "website" which polls its information from the server via jquery.ajax() (the json-chunks could be fetched via jQuery.getJSON() as well [just normal http fetch]).
  • since it is just a little show-off i doubt it is "scalable" in terms of "distribute this like hell over thousands of machines to handle millions of users".
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文