像 Twitter 这样的可扩展 Web 应用程序所需的语言、工具和方法

发布于 2024-08-07 18:48:08 字数 323 浏览 2 评论 0原文

如果你今天要开发 Twitter,会采用什么语言、工具和方法。他将如何从非常节俭的配置开始,逐步扩展到 Twitter 今天达到的水平。如果您可以提供直接响应,例如(PHP+ Apache+ memchached+ MySQL)或(JSP+TomCat/Glassfish+ MySQL/其他数据库)等。

标准是一种无需太多工程和正确语言即可轻松扩展的架构,因此无需重新思考一旦同样的事情就位,他就会做出决定。

(据我所知,Twitter 是 RoR,Linked in 是 Java,Digg 是 Php。所以不要只是寻找随机的想法:))请支持为什么你认为你的选择应该足够。

谢谢

Incase if you are to develop twitter today what language, tools and approach will one take. How will he start from the very frugal configuration and gradually scale to the levels twitter has reached today. Incase if you can provide direct responses like (PHP+ Apache+ memchached+ MySQL) or (JSP+TomCat/Glassfish+ MySQL / other db) etc.

The criteria is an architecture which scales easily without much engineering and the right language so that one doesnt need to rethink his decision once the same is in place.

(As far as I know, Twitter is RoR, Linked in is Java and Digg in Php. So not looking for just random thoughts :) ) Do support why do you think your option should suffice.

Thanks

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

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

发布评论

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

评论(3

小鸟爱天空丶 2024-08-14 18:48:08

正如您已经说过的,有一些应用程序表明多种技术能够扩展。对他们来说幸运的是。

我认为你不应该只关注“这项技术是否最适合扩展”。但有以下两点:

  • 你是否具备该技术的技能?
  • 该技术是否(通过其原理)适应该应用程序?

缩放是一件事。但如果你因为不了解“杀手级”技术而无法开发你的应用程序,那么它无论如何也没用。

As you already say it, there are several applications that shows that several technologies are able to scale. Fortunately for them.

I think you should not focus only on "is this technology the best for scaling". But on the two following points :

  • Do you have skills in that technology ?
  • Is that technology adapted (by it's philosophy) to that application ?

Scaling is a thing. But if you can't develop your application with the "killer" technology because you don't understand it, it's anyway useless.

聚集的泪 2024-08-14 18:48:08

我建议您查看高可扩展性网站。您几乎可以用任何语言构建可扩展的 Web 应用程序,但这不仅仅是使用正确的技术然后将其插入的问题。无论您使用什么技术,您都必须知道自己在做什么!

I recommend looking at the High Scalability website. You can build a scalable web app in virtually any language, but it's not just a matter of using the right technology and then plugging it in. You have to know what you're doing, no matter what technology you use!

生来就爱笑 2024-08-14 18:48:08

Twitter 是使用 Ruby on Rails (ROR) 框架开发的,这似乎是一个不错的选择。 Ruby on Rails 与数据库无关(支持大多数数据库),具有很强的可扩展性,非常适合快速开发 Web 应用程序。
Cake 是 PHP 的流行替代品,我没有使用过 Cake,但听说它非常相似。这些开源替代方案的替代方案是像 Microsoft .NET 框架这样的全面企业环境。

Twitter was developed using the framework Ruby on Rails (ROR), and that seems to be a good choice. Ruby on rails is database agnostic (supports most databases), very scalable and very good for developing web applications quickly.
Cake is a popular alternative for PHP I haven't used Cake but hear it is very similar. The alternative to these open source alternatives would be a full blow enterprise environment like the microsoft .NET frameweork.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文