基于Web的框架可扩展什么? [英] What does a web-based framework scalable?

查看:129
本文介绍了基于Web的框架可扩展什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

非常感谢您.

首先,我将可伸缩性理解为一种设计系统的能力,该系统在其服务需求(无论其需求如何)显着增加时不会改变.您可能需要更多的硬件(垂直还是水平0?是的,因为系统已经准备好并且已经设计为可以应付它,所以可以随便添加它.

First of all, I conceive scalability as the ability to design a system that doest not change when the demand of its services, whatever they are, increases considerably. May you need more hardware (vertically or horizontally0? Fine, add it at your leisure because the system is prepared and has been designed to cope with it.

我的问题很简单,但回答可能非常复杂.我想知道您在框架中所看到的内容,以确保它可以相应地扩展,无论是点击数还是同时运行的会话数.

My question is simple to ask but presumably very complex to answer. I would like to know what you I look at in a framework to make sure it will scale accordingly, both in number of hits and number of sessions running simultaneously.

这个问题根本不是关于技术,也不是一个特定的框架,而是一个理论上的问题.

This question is not about technology nor a particular framework at all, it is more a theoretical question.

我知道这在很大程度上取决于拥有良好的数据库设计和适当的硬件来进行复制等.让我们假设这一切都存在,但是我的框架必须满足一些条件,是什么?

I know that depend very much on having a good database design and a proper hardware behind with replication, etc... Let's assume that this all exists, however yet my framework must meet some criteria, what?

  • 提供内存缓存吗?
  • 是否可以在多台计算机(在Web服务器级别)上运行并使用许多复制的数据库?但是,使它成为可能的软件中有什么?
  • 等...

请不要将答案与后面的任何特定编程语言或技术联系起来.

Please, let's not relate the answers with any particular programming language or technology behind.

再次感谢

D.

推荐答案

我认为可伸缩性主要取决于用例:您是否期望大量数据,那么您应该关注数据库,如果它涉及流量,专注于服务器,是否涉及添加新功能,专注于您的数据模型和正在使用的框架...

I think scalability depends most of all on the use case: do you expect huge amounts of data, then you should focus on the database, if it's about traffic, focus on the server, is it about adding new features, focus on your data-model and the framework you are using...

将Twitter等微信服务与大学网站或GoogleDocs等网络服务进行比较,您会发现完全不同的要求.

Comparing a microposts-service like Twitter to a university website or a webservice like GoogleDocs you will find quite different requirements.

这篇关于基于Web的框架可扩展什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆