首页 \ 问答 \ 何时设计可扩展性?(When to design for scalability?)

何时设计可扩展性?(When to design for scalability?)

我即将开始一个项目,希望有一天能够扩展。 对我来说,关键问题是:我现在应该投入精力去设计这种可能性,还是应该在我到达那里时跨越那座桥梁?

我知道这些事情是怎么回事:每个人都认为他们的项目可能会扩展,但大多数项目都没有。

是否有一套最佳实践可以让您在以后的阶段更容易扩展,而不会在可能永远不需要的东西上投入太多?

显然,我没有可扩展网站的经验。 目前我倾向于Scala / Play! / Akka。 从我从Akka网站上可以收集到的信息来看,它非常适合这种项目(因为它提供了一个工具集,允许在一台机器上进行开发并扩展到任意数量的机器)。

该项目是一个面向消费者的网站,涉及一些用户交互(评论,消息,投票等)。 但主要关注的是社论。 这不是Facebook :)

没有任何这些技术的经验(我的经验主要来自PHP,AS3,Objective-C),我现在可能有点太多了。 但是我不会马上去做。 我知道我需要使用Scala和Play获得一些经验! 第一。

任何意见是极大的赞赏。


I am about to start a project that I hope will some day require the capacity for scaling. The key question for me is: should I invest the effort to design for this eventuality now, or should I cross that bridge when I get there?

I know how these things go: everyone thinks their project might scale, but most projects never do.

Is there a set of best practices that will allow you to scale more easily at a later stage, while not investing too much in something that may never be needed?

Obviously I have no experience with scalable web sites. Currently I am leaning towards Scala / Play! / Akka. From what I can glean from the Akka website, it is very suitable for this kind of project (in that it provides a toolset that allows development on a single machine and scaling out to an arbitrary number of machines).

The project is a consumer-facing web site that involves some user interaction (comments, messages, voting etc.). The main focus is editorial, though. It's no Facebook :)

Not being experienced in any of these technologies (my experience mainly coming from PHP, AS3, Objective-C), I probably have a little too much on my plate right now. But then I am not going to go at it right away. I am aware that I need to get some experience using Scala and Play! first.

Any advice is greatly appreciated.


原文:https://stackoverflow.com/questions/9307883
更新时间:2024-02-10 18:02

最满意答案

下面的线程已经解决了这个问题,因此也关闭了这个线程。

Spring v3没有为元素'mvc:resources'找到声明


The below thread has resolved the issue, hence closing this thread as well.

Spring v3 no declaration can be found for element 'mvc:resources'

相关问答

更多

最新问答

更多
  • 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
  • 如何通过引用返回对象?(How is returning an object by reference possible?)
  • 矩阵如何存储在内存中?(How are matrices stored in memory?)
  • 每个请求的Java新会话?(Java New Session For Each Request?)
  • css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
  • 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
  • xcode语法颜色编码解释?(xcode syntax color coding explained?)
  • 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
  • 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
  • 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
  • 西安哪有PLC可控制编程的培训
  • 在Entity Framework中选择基类(Select base class in Entity Framework)
  • 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
  • 电脑二级VF有什么用
  • Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
  • 金华英语角.
  • 手机软件如何制作
  • 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
  • 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
  • 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
  • Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
  • 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
  • python的访问器方法有哪些
  • DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
  • 在Ruby中对组合进行排序(Sorting a combination in Ruby)
  • 网站开发的流程?
  • 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
  • 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
  • 透明度错误IE11(Transparency bug IE11)
  • linux的基本操作命令。。。