多个聊天室、技术和服务器负载,

发布于 2024-10-30 13:54:19 字数 624 浏览 3 评论 0原文

我正在开发一个需要多个聊天室的网站。每个房间都会生成并与用户刚刚生成的内容/事件相关联,并且将持续大约 15 分钟,然后自动销毁。一间房间将包含大约。 15 个用户。许多事件将同时并存。

我最近一直在谷歌上搜索很多东西,寻找最合适但仍然易于实施的解决方案。我遇到的是三个主要路径:

  1. 使用 mysql-php 现成脚本(即 phpfreechat、x7 chat)
  2. 使用通过 ajax 或 flash Web 前端嵌入为 iframe(lightirc、qwebirc、mibbit、 (如果你想要的话,请提供更多建议))
  3. 使用一些活跃生成的托管聊天室(即,Everywherechat.com,gabbly(我真的需要了解更多这些内容,如果可以的话,再次提供建议)。

我仍然对这一切有很多疑问:irc另一方面,前端无法根据我的需要进行定制(即禁用踢或禁止功能),这让我认为如此大的用户群会带来很多服务器负载问题。 我使用

的是付费但非专用的托管计划,该计划可以同时容纳多少个用户?只需传递一些参数即可即时创建?(无需注册,只是一个快速轻松的聊天室)

我知道其中许多问题与严格的编程无关,而是与技术相关。但与编程相关的答案仍然可以帮助我找出正确的方向。所以我们非常感谢您的贡献。谢谢 !抱歉长了

I am working on a website where I need multiple chat rooms. Each room will be generated and tied to the content/event just generated by the user and will aproximately last 15 minutes and then autodestroyed. One room will contain aprox. 15 users. Many events will co-exist at the same time.

I have been googling around a lot recently looking for the most appropriate but still easily implementable solution. What I came across are three main paths:

  1. using a mysql-php ready made script (ie. phpfreechat, x7 chat)
  2. using irc channels created on the fly through an ajax or flash web frontend embeded as an iframe (lightirc, qwebirc, mibbit, (advice more if u want))
  3. using some lively generated hosted chatrooms (ie. everywherechat.com, gabbly (i really need to know more of those, again, advice if you can).

Still I have many doubts on all this: irc frontends cant be customized as much as I'd need (ie. disable kick or ban functionalities). Php-mysql solutions, on the other hand, make me think there will be a lot of server load concerns with such a big user-base.

I am on a paid but non dedicated hosting plan. Php memory limit set to 64mb kind of stuff. How many users at the same time would that hold? Hosted solutions are the easiest ones, but can you recommend one that allows rooms to be created on the fly by just passing in some parameters? (no registration, just a quick-easy-flying chatroom).

I know many of these questions are not strictly programming related but more technology related. But still a programming related answer could help me sort out the right direction. So your contribution is really appreciated. Thanks ! Sorry for being long

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文