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
230
2
Share
Skalowalne architektury webowe
Mariusz Gil
November 27, 2012
More Decks by Mariusz Gil
See All by Mariusz Gil
Aspect Oriented Programming
mariuszgil
1
330
Designing and implementing GraphQL API
mariuszgil
1
93
Discovering unknown with EventStorming ConFoo
mariuszgil
0
310
Game of Developer Life... Deconstructed
mariuszgil
1
190
Back to forgotten roots
mariuszgil
1
420
Go micro with microservices
mariuszgil
5
700
Machine Learning for the rescue
mariuszgil
0
430
Discovering graph structures
mariuszgil
3
560
Introduction to Aerospike with PHP
mariuszgil
8
860
Other Decks in Programming
See All in Programming
LM Linkで(非力な!)ノートPCでローカルLLM
seosoft
0
330
Tamach-sre-3_ANDPAD-shimaison93
mane12yurks38
0
240
モックわからないマン卒業記 ~振る舞いを起点に見直した、フロントエンドテストにおけるモックの使いどころ~
tasukuwatanabe
3
440
Feature Toggle は捨てやすく使おう
gennei
0
400
今こそ押さえておきたい アマゾンウェブサービス(AWS)の データベースの基礎 おもクラ #6版
satoshi256kbyte
1
230
AWS re:Invent 2025の少し振り返り + DevOps AgentとBacklogを連携させてみた
satoshi256kbyte
2
120
PHPのバージョンアップ時にも役立ったAST(2026年版)
matsuo_atsushi
0
280
Mastering Event Sourcing: Your Parents Holidayed in Yugoslavia
super_marek
0
130
PHP でエミュレータを自作して Ubuntu を動かそう
m3m0r7
PRO
2
160
事業会社でのセキュリティ長期インターンについて
masachikaura
0
210
ポーリング処理廃止によるイベント駆動アーキテクチャへの移行
seitarof
3
1.3k
脱 雰囲気実装!AgentCoreを良い感じにWEBアプリケーションに組み込むために
takuyay0ne
3
430
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
199
73k
Design in an AI World
tapps
0
190
How to Think Like a Performance Engineer
csswizardry
28
2.5k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
700
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
420
4 Signs Your Business is Dying
shpigford
187
22k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.4k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
HDC tutorial
michielstock
1
600
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
ラッコキーワード サービス紹介資料
rakko
1
2.9M
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