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
58
Discovering unknown with EventStorming ConFoo
mariuszgil
0
280
Game of Developer Life... Deconstructed
mariuszgil
1
160
Back to forgotten roots
mariuszgil
1
380
Go micro with microservices
mariuszgil
5
620
Machine Learning for the rescue
mariuszgil
0
380
Discovering graph structures
mariuszgil
3
540
Introduction to Aerospike with PHP
mariuszgil
8
790
Other Decks in Programming
See All in Programming
PHP 8.4の新機能「プロパティフック」から学ぶオブジェクト指向設計とリスコフの置換原則
kentaroutakeda
2
990
ニーリーにおけるプロダクトエンジニア
nealle
0
880
20250704_教育事業におけるアジャイルなデータ基盤構築
hanon52_
5
880
新メンバーも今日から大活躍!SREが支えるスケールし続ける組織のオンボーディング
honmarkhunt
5
8k
Android 16KBページサイズ対応をはじめからていねいに
mine2424
0
200
iOS 26にアップデートすると実機でのHot Reloadができない?
umigishiaoi
0
130
PHPで始める振る舞い駆動開発(Behaviour-Driven Development)
ohmori_yusuke
2
410
Startups on Rails in Past, Present and Future–Irina Nazarova, RailsConf 2025
irinanazarova
0
150
20250628_非エンジニアがバイブコーディングしてみた
ponponmikankan
0
710
PHPでWebSocketサーバーを実装しよう2025
kubotak
0
300
Advanced Micro Frontends: Multi Version/ Framework Scenarios @WAD 2025, Berlin
manfredsteyer
PRO
0
340
RailsGirls IZUMO スポンサーLT
16bitidol
0
190
Featured
See All Featured
Reflections from 52 weeks, 52 projects
jeffersonlam
351
21k
Scaling GitHub
holman
460
140k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
How to Ace a Technical Interview
jacobian
278
23k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.6k
A designer walks into a library…
pauljervisheath
207
24k
Designing for Performance
lara
610
69k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
How to train your dragon (web standard)
notwaldorf
96
6.1k
It's Worth the Effort
3n
185
28k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.6k
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