网络聊天应用程序的最佳实践
我需要创建中间点应用程序,该应用程序将像聊天服务器一样工作,用于网站聊天和移动应用程序。您能帮助我了解这种情况下的最佳实践吗? 我想使用 .NET 技术作为聊天服务器
I need to create middle point application which will work like chat server for web site chat and for mobile applications as well. Could you help me with the best practices in this case?
I want to use .NET technologies for the chat server
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在这种情况下,聊天的工作方式几乎没有什么区别:
在网站中,您可以推送用户可以通过 Java 或 ActiveX 安装的聊天应用程序。在 Web 应用程序中,您必须将其上传到商店,例如 Apple 的 AppStore
手机应用程序可以通过无线网络和 3G 进行互操作,并且可以动态切换,这意味着您可能需要考虑“状态”< /p>
除非您的流量非常低,否则您可能需要多个服务器这将引入性能/同步问题。如果这是用于商业用途,我建议雇用一家以前做过此类工作的公司(我知道有几家)
In this scenario there are few differences in how chat would work:
In a website, you have the ability to push a chat application that the user can install via Java or ActiveX. In a web application, you have to upload it to a store such as Apple's AppStore
A phone application could interoperate over a wireless network as well as 3G and could switch on the fly which means you may need to consider "state"
Unless your volume is really low, you will probably need more than one server which will introduce performance/syncronization issues. If this is for commercial usage, I would recommend hiring a firm that has done this type of work before (I know of several)