Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Skalowalne architektury webowe
Search
Mariusz Gil
November 27, 2012
Programming
2
220
Skalowalne architektury webowe
Mariusz Gil
November 27, 2012
Tweet
Share
More Decks by Mariusz Gil
See All by Mariusz Gil
Aspect Oriented Programming
mariuszgil
1
310
Designing and implementing GraphQL API
mariuszgil
1
55
Discovering unknown with EventStorming ConFoo
mariuszgil
0
270
Game of Developer Life... Deconstructed
mariuszgil
1
160
Back to forgotten roots
mariuszgil
1
380
Go micro with microservices
mariuszgil
5
610
Machine Learning for the rescue
mariuszgil
0
380
Discovering graph structures
mariuszgil
3
530
Introduction to Aerospike with PHP
mariuszgil
8
780
Other Decks in Programming
See All in Programming
GoのGenericsによるslice操作との付き合い方
syumai
2
670
複数アプリケーションを育てていくための共通化戦略
irof
10
4k
FormFlow - Build Stunning Multistep Forms
yceruto
1
190
セキュリティマネジャー廃止とクラウドネイティブ型サンドボックス活用
kazumura
1
190
Gleamという選択肢
comamoca
6
740
明示と暗黙 ー PHPとGoの インターフェイスの違いを知る
shimabox
1
110
C++20 射影変換
faithandbrave
0
500
Development of an App for Intuitive AI Learning - Blockly Summit 2025
teba_eleven
0
120
ASP.NETアプリケーションのモダナイズ インフラ編
tomokusaba
1
390
Perplexity Slack Botを作ってAI活用を進めた話 / AI Engineering Summit プレイベント
n3xem
0
670
GoのWebAssembly活用パターン紹介
syumai
3
10k
Using AI Tools Around Software Development
inouehi
0
1.2k
Featured
See All Featured
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
48
5.4k
Visualization
eitanlees
146
16k
Building Applications with DynamoDB
mza
95
6.5k
The Language of Interfaces
destraynor
158
25k
A Tale of Four Properties
chriscoyier
159
23k
It's Worth the Effort
3n
184
28k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
281
13k
4 Signs Your Business is Dying
shpigford
184
22k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
16
940
Building an army of robots
kneath
306
45k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
920
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
43
2.4k
Transcript
SsKkAaLlOoWwAaLlNnEe AaRrCcHhIiTtEeKkTtUuRrYy WwEeBbOoWwEe MmAaRrIiUuSsZz GgIiLl TtEeCcHh.3CcAaMmPp GgDdYyNnIiAa / PpPpNnTt ||||||
slowem wstepu - `
None
` ogry sa jak cebule...
` ...aplikacje tez maja warstwy... .
...ale male aplikacje sa jak wall-e ` -
view controller model
None
dual turbo ultimate
i can handle the load! ?
realnie?
500M odslon dziennie 15B+ odslon miesiecznie 20 inzynierow 40k requestow
w piku 1TB danych w hadoop dziennie 500 serwerow web 200 serwerow bazodanowych 30 serwerow memcache 20 serwerow redis 15 serwerow varnish 25 serwerow ha proxy 14 serwerow kolejek ` ` ` ` ` ` ` ` ` . ` - -
1 milion nowych uzytkownikow w 12 godzin ` .
PpAaTtTtEeRrNnSs DdEeSsIiGgNn
4podstawowe aspekty skalowania aplikacji 1
1
PpOoDdZzIiAaLl PpOoZzIiOoMmYy LlOoAaDd BbAaLlAaNnCcIiNnGg -
skalowanie
None
None
None
None
software? varnish / nginx amazon elastic load balancer / amazon
ec2 instance linux virtual server balancer / lvs node ha proxy / MySQL server
NnOoTtHhIiNnGg SsHhAaRrEeDd
KkEeEePp IiTt SsIiMmPpLlYy SsTtAaTtEeLlEeSsSs KkIiSsSs
2
CcAaCcHhIiNnGg
oszczednosc zasobow ` ` ` `
app cache data storage 1 get 2 fetch 3 set
app cache data storage 1 get 3 set software? memcached
redis nosql key-value storages varnish
There are only two hard things in Computer Science: cache
invalidation and naming things. Phil Karlton „
content delivery network load balancer 1 get app 2 get
3
OoFfFfLlIiNnEe PpRrZzEeTtWwAaRrZzAaNnIiEe
rownowazenie obciazen ` ` ` ` . .
app message queue data storage 1 register queue worker 2
consume 3 set
software? rabbitmq / activemq gearman kafka app queue worker 3
set
cron data storage database / hdfs dane hadoop map-reduce dane
dane
4
PpLlAaTtFfOoRrMmYy WwAaRrSsTtWwAa
load balancer web server web server app server app server
ancer web server web server app server app server GET
/services/users/latest.xml GET /services/users/:login/photos/latest.xml
...5
DdEePpLlOoYyMmEeNnTt MmOoNnIiTtOoRrIiNnGg AaUuTtOoMmAaTtYyZzAaCcJjAa OoRrAaZz...
UuWwAaGgIi WwAaRrTtEe
None
None
@MmAaRrIiUuSsZzGgIiLl
[email protected]
PpYyTtAaNnIiAa? |||||| SsPpEeAaKkEeRrDdEeCcKk.CcOoMm/Uu/MmAaRrIiUuSsZzGgIiLl