用于构建在线聊天服务的编程语言
什么是最适合的编程语言和技术来制作在线聊天服务,该服务可以扩展到同时支持 50.000 个用户,这样我们的带宽使用量就保持在最低水平(网络服务器友好)。我考虑过使用 php 或 python,它们是不错的选择吗?
what is the best suited programming language and technologies to make an online chatting service that scales up to support 50.000 users at the same time such us the band width usage stays at minimum (web server friendly). I have considered using php or python, are they good choices ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
无论如何,Facebook 使用 Erlang 进行扩展他们的聊天使用了 7000 万用户。但 Erlang 与 PHP 或 Python 完全不同,如果您以前没有接触过函数式语言,那么肯定有一些学习曲线。
For what it's worth, Facebook used Erlang to scale their chat to use 70 million users. But Erlang is not at all like PHP or Python, and if you haven't had any exposure to a functional language before, there's certainly a bit of a learning curve.
任何 Web 友好语言(Perl、PHP、Python、Java/JSP)都可以在后端使用。
作为开发人员,您的技能比语言的选择更重要。
如果您足够优秀,请使用 Lisp :) [ JoelOnSoftware 的常客应该抓住参考资料 : ]
Any of the web-friendly languages (Perl, PHP, Python, Java/JSP) are OK on a back-end.
Your skills as a developer matter a lot more than choice of a language.
If you're Good Enough, use Lisp :) [ Frequent readers of JoelOnSoftware should catch the reference : ]