Okay, and the correct answer is, as you may have
suspected, all of these. There are many different factors in each
website, is a little bit different. And, you know, different website
may have different needs. some, some websites you know, video websites,
like YouTube or Justin TV. Bandwidth was a major factor
because video takes a lot of bandwidth. And you have to
figure out, you know, how you can support that much bandwidth.
You know, you're sending a lot of data over the wire,
over the Internet. Machines, computers very often CPU's a limiting factor. if,
if your website does a lot of computation you know, you may need
a lot computers to handle all of the traffic, to do computation
for everybody. Or maybe you're running out of memory. You know, you're storing
a lot of data or you're caching a lot of data in
memory. You may need to store that data across many computers to, to
make it work. Power, you know, if you're adding a lots of
computers, power is actually something you
need to start thinking about. You know,
I've visited Google once and it was cool that had a,
a map on the wall of where the big power plants
in the world were. They are building data centers in near
power plants so they could always have powers. And storage, of course,
is similar to memory. You know, memory, disk space, or technologies
that fall in, in between. You know if, if you're storing a
lot of data. You know many websites store a lot of
data. If users are submitting content to you, photos and status updates,
and, you know, comments and that sort of thing. That
starts to become a big factor in, in your decision making,
and how do you store all of that data. Facebook
has so many photos, they have to. They've unbelievable amount of
disk space required to, to manage all that information and
you know Google has basically the entire internet indexed and you
know that they have to store, they basically Google's [INAUDIBLE] entire
internet across all their machines so they can do searches quickly.
So all of these are things you need
to scale and of course there are other, other
things as well but I just want you
to keep in mind that every website is different.
Every website has different needs and different limiting,
limiting factors whether it's machines or bandwidth or power.
Anything can be the, the, the culprit when it
comes to keeping your website online, stable and fast.
正解は皆さんの予想どおり
これらすべてです
サイトの動きを妨げる要因はそれぞれ異なります
またニーズもサイトによって様々です
例えばYouTubeやJustin.tvなどの
動画投稿サイトにとっては
帯域幅は特に重要な問題です
広い帯域幅が必要ですし
それを維持する方法も知らなければなりません
大量のデータを配信するからです
マシンつまりCPUも
しばしば動きを妨げる要因になります
Webサイトが大量のデータを処理する場合は
複数のマシンが必要でしょう
さもないとデータの格納やキャッシュで
メモリが不足する可能性があるため
データを分散して格納する必要があるでしょう
マシンの電源についても
何台ものマシンを使う場合は
しっかり検討しなければなりません
実際に以前訪れたGoogleでは
世界の大型発電所を示した地図がありました
彼らはその発電所の近くにデータセンターを造り
常に電源を確保できるようにしているのです
最後にストレージはメモリやディスク容量などに
関連します 例えば大量のデータを
サイトが格納しているとします
ユーザが写真や最新の状況やコメントなどを
サイトに投稿したとしましょう
するとそのデータの格納方法は
非常に重要な問題になります
Facebookには多くの写真などが掲載されていて
相当なディスク容量が必要です
例えばGoogleでは
インターネット全体をインデックス化し
すべてのドキュメントを複数のデータベースに分散して
素早い検索を可能にしています
つまりここに挙げたすべてを
スケーリングする必要があります
他にも選択肢はありますが
サイトの性質はそれぞれ異なり
ニーズも違えば動きを妨げる要因も違ってきます
マシン、帯域幅、電力のいずれにも可能性があります
サイトを安定させ速く保つには
あらゆる点を考慮しなければならないのです
Ok, a resposta correta é, como
escolhido por você, são todas.
Há diversos fatores em cada
website que podem variar um pouco.
E diferentes websistes podem
ter diferentes necessidades.
Alguns vídeo websites como
Youtube ou Justin TV websites.
Largura de banda
era um fator importante
pois vídeo usa boa parte
de largura de banda
E você tem que descobrir como você
pode suportar tanta largura de banda,
pois você estará enviando um monte
de dados pelos fios, pela Internet.
Máquinas, computadores, muitas vezes
a CPU é um fator limitante.
E se o seu website faz muita
computação, você pode precisar
de muitos computadores
para lidar com todo o tráfego
para fazer computação
para todos.
Ou talvez a memória
esteja acabando.
Sabe, você está armazenando muitos dados
ou depositando muitos dados na memória.
Talvez seja necessário armazenar
esses dados em vários computadores
para fazer funcionar. Energia,
se adicionar vários computadores,
energia é atualmente algo que você
precisa pensar sobre.
Sabe, eu cheguei a visitar o Google
uma vez e foi legal, pois tinha um mapa
na parede de onde as grandes usinas
de energia do mundo estavam.
Eles estavam construindo centro de dados
próximo das usinas de energia,
então eles teriam sempre energia.
E armazenamento, certeza,
é similar a memória.
Memória, espaço do disco,
ou tecnologias próximas entre.
Se você estiver guardando muitos dados.
Muitos websites de loja
guardam muitos dados.
Se os usuários estiverem enviando
conteúdo, fotos, atualizações de status,
comentários e esse tipo
de coisa para você.
Isso começa a se tornar um grande
fator na tomada de decisões,
e como você armazena
todos esses dados.
Facebook tem tantas fotos
que eles tem que ter.
Eles têm uma quantidade espantosa
de espaço em disco necessário
para gerenciar todas
essas informações.
E o Google tem basicamente
a internet inteira indexada
e, eles tem que armazenar, o Google
armazena basicamente toda a Internet
em todas as suas máquinas, para que
eles possam fazer buscas rapidamente.
Então, tudo isso são coisas
que você precisa escalar
e, claro, há outras
coisas também,
mas eu só quero você tenha em
mente que cada site é diferente.
Cada site tem diferentes
necessidades e limitações,
fatores limitantes de máquinas,
largura de banda ou energia.
Qualquer coisa
pode ser o culpado,
quando se trata de manter
seu site online, estável e rápido.