simpledb、sql azure、mysql +内存缓存

发布于 2024-08-05 16:21:26 字数 142 浏览 7 评论 0原文

对于新的可扩展高流量全球电子商务网站 (asp.net) 项目,哪种技术最适合(最大可扩展性和性能,最小价格和维护)?

amazon simpledb、microsoft sql azure、mysql + memcached 组合或您的解决方案...

For a new scalable high traffic global ecommerce website (asp.net) project which technology fits best (max. scalability & performance, min. price & maintenance)?

amazon simpledb, microsoft sql azure, mysql + memcached combo, or your solution...

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

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

发布评论

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

评论(2

凯凯我们等你回来 2024-08-12 16:21:26

我对此类问题的一般回答是:

  1. 免费建议
    互联网不会解决这类问题。没有最佳答案,因为它取决于太多变量。
  2. 如果您需要这种性能/可扩展性,那么
    你需要花钱请人来建造
    为你准备好了。
  3. 如果你无力支付,你
    (还)不需要那种性能/可扩展性。只要你能便宜地购买和设计任何东西就可以过日子。当您确实需要这种级别的性能/可扩展性时,您将能够负担得起#2。
  4. 如果您现在确实需要这种级别的性能/可扩展性,那么您的业务计划就有缺陷,并且您有更深层次的问题,而改进的性能/可扩展性可能无法解决。

my general answer to this type of question is:

  1. free advice on
    the internet isn't going to cut it for this type of question. there is no BEST answer because it depends on too many variables.
  2. if you need this kind of performance/scalability, then
    you need to PAY someone to build
    it out for you.
  3. if you can't afford to pay, you
    don't need that kind of performance/scalability (yet). get by on whatever you can buy and design cheaply. by the time you really DO need this level of performance/scalability, you will be able to afford #2.
  4. if you truly need this level of performance/scalability RIGHT NOW then your business plan is flawed and you have deeper problems that improved performance/scalability will likely not solve.
吾家有女初长成 2024-08-12 16:21:26

您的目标相互冲突,您必须根据哪些事情对您的项目最重要来做出决定。使用 SimpleDB 或 Azure 等第三方服务将是最低的入门价格和最低的总体维护费用。但它们无法超越在物理上靠近 Web 服务器的快速硬件上运行独立数据库所获得的性能。

可扩展性则是另一回事。您可以获得一个快速的数据库。您可以获得免维护的数据服务。但可扩展性取决于你。它取决于您的代码、架构、配置、选择的代码库以及查找和修复瓶颈的能力。没有人愿意陷入无法扩展的解决方案中。在每个角落,您都可以找到人们告诉您您还不需要这种可扩展性。但事实是您列出的所有选项都会扩展。

使用在线解决方案,您将为可扩展性付出代价,从长远来看,它们会更加昂贵。但并不是每个人都是著名博主和超级 DBA 乐意免费帮助您完成网站项目。因此,如果您重视时间或向 DBA 付费,在线解决方案可能会更便宜。

通过您自己的硬件和数据库安装,您可以通过初始现金支出获得初始可扩展性。这将带你走很长很长的路。您甚至可以使用 EC2 之类的东西来避免初始成本。如果您的时间超出预算,这可能是一个很好的解决方案。

对于性能/价格/维护问题,没有一个正确的答案。您必须做出有利的权衡才能得到正确的答案。

You have conflicting goals, and you'll have to decide based on which things are most important to your project. Using 3rd party services like SimpleDB or Azure will be the minimum price to get started and overall minimum maintenance. But they won't beat the performance you can get from running a stand alone database on fast hardware physically close to your web server.

Scalability is a different story. You can get a fast database. You can get a maintenance free data service. But scalability is on you. It's on your code, your architecture, your configuration, the code libraries you choose, your ability to find and fix bottlenecks. Nobody wants to get locked into a solution that doesn't scale. Around every corner you can find people to tell you that you don't need that scalability (yet). But the fact is that all the options you list will scale.

With the online solutions you will pay for that scalability and in the long run they will be more expensive. But not everyone is a famous blogger with uber-DBAs happy to help you with your website project for free. So the online solutions can be cheaper if you value your time or if you pay your DBA.

With your own hardware and database install you get the initial scalability with the initial cash outlay. And that will take you a long long way. And you can even use something like EC2 to prevent the initial costs. And if you have more time than budget this can be a good solution.

There is no one right answer to the performance / price / maintenance question. You have to make beneficial trade-offs to get your right answer.

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