Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
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
230
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
320
Designing and implementing GraphQL API
mariuszgil
1
79
Discovering unknown with EventStorming ConFoo
mariuszgil
0
300
Game of Developer Life... Deconstructed
mariuszgil
1
180
Back to forgotten roots
mariuszgil
1
390
Go micro with microservices
mariuszgil
5
670
Machine Learning for the rescue
mariuszgil
0
410
Discovering graph structures
mariuszgil
3
550
Introduction to Aerospike with PHP
mariuszgil
8
820
Other Decks in Programming
See All in Programming
認証・認可の基本を学ぼう前編
kouyuume
0
180
テストやOSS開発に役立つSetup PHP Action
matsuo_atsushi
0
140
TypeScript 5.9 で使えるようになった import defer でパフォーマンス最適化を実現する
bicstone
1
1.2k
React Native New Architecture 移行実践報告
taminif
1
140
なあ兄弟、 余白の意味を考えてから UI実装してくれ!
ktcryomm
10
11k
[SF Ruby Conf 2025] Rails X
palkan
0
470
AIと協働し、イベントソーシングとアクターモデルで作る後悔しないアーキテクチャ Regret-Free Architecture with AI, Event Sourcing, and Actors
tomohisa
5
19k
宅宅自以為的浪漫:跟 AI 一起為自己辦的研討會寫一個售票系統
eddie
0
480
WebRTC と Rust と8K 60fps
tnoho
2
1.9k
AI時代もSEOを頑張っている話
shirahama_x
0
260
複数人でのCLI/Infrastructure as Codeの暮らしを良くする
shmokmt
5
2.2k
リリース時」テストから「デイリー実行」へ!開発マネージャが取り組んだ、レガシー自動テストのモダン化戦略
goataka
0
110
Featured
See All Featured
Docker and Python
trallard
46
3.7k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.4k
Become a Pro
speakerdeck
PRO
30
5.7k
Designing Experiences People Love
moore
143
24k
A Modern Web Designer's Workflow
chriscoyier
697
190k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
120
20k
It's Worth the Effort
3n
187
29k
Site-Speed That Sticks
csswizardry
13
990
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8.3k
The Invisible Side of Design
smashingmag
302
51k
Raft: Consensus for Rubyists
vanstee
141
7.2k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
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