Submit Search
Upload
Scalable
โข
12 likes
โข
1,388 views
DaeMyung Kang
Follow
Scalable, gearman, memcaced, mysql
Read less
Read more
Report
Share
Report
Share
1 of 74
Download now
Download to read offline
Recommended
Karen Lopez 10 Physical Data Modeling Blunders
Karen Lopez 10 Physical Data Modeling Blunders
Karen Lopez
ย
Aurora Project
Aurora Project
Moonryul Jung
ย
BIS06 Physical Database Models
BIS06 Physical Database Models
Prithwis Mukerjee
ย
246 deview 2013 แแ ตแซแแ ตแแ ตแซ
246 deview 2013 แแ ตแซแแ ตแแ ตแซ
NAVER D2
ย
[2 d1] elasticsearch แแ ฅแผแแ ณแผ แแ ฌแแ ฅแจแแ ช
[2 d1] elasticsearch แแ ฅแผแแ ณแผ แแ ฌแแ ฅแจแแ ช
Henry Jeong
ย
XML, NoSQL, ๋น ๋ฐ์ดํฐ, ํด๋ผ์ฐ๋๋ก ์ฎ๊ฒจ๊ฐ๋ ์์ฅ ์ํฉ ์, ๋ฐ์ดํฐ๋ชจ๋ธ๋ง ์ฌ์ ํ ์ค์ํ๊ฐ
XML, NoSQL, ๋น ๋ฐ์ดํฐ, ํด๋ผ์ฐ๋๋ก ์ฎ๊ฒจ๊ฐ๋ ์์ฅ ์ํฉ ์, ๋ฐ์ดํฐ๋ชจ๋ธ๋ง ์ฌ์ ํ ์ค์ํ๊ฐ
Devgear
ย
SSD ๊ฐ๋ ๋ฐ ํ์ฉ_Wh oracle
SSD ๊ฐ๋ ๋ฐ ํ์ฉ_Wh oracle
์์
ย
๋ฐ์ดํฐ๋ฒ ์ด์ค ๋ชจ๋ธ๋ง
๋ฐ์ดํฐ๋ฒ ์ด์ค ๋ชจ๋ธ๋ง
Hoyoung Jung
ย
Recommended
Karen Lopez 10 Physical Data Modeling Blunders
Karen Lopez 10 Physical Data Modeling Blunders
Karen Lopez
ย
Aurora Project
Aurora Project
Moonryul Jung
ย
BIS06 Physical Database Models
BIS06 Physical Database Models
Prithwis Mukerjee
ย
246 deview 2013 แแ ตแซแแ ตแแ ตแซ
246 deview 2013 แแ ตแซแแ ตแแ ตแซ
NAVER D2
ย
[2 d1] elasticsearch แแ ฅแผแแ ณแผ แแ ฌแแ ฅแจแแ ช
[2 d1] elasticsearch แแ ฅแผแแ ณแผ แแ ฌแแ ฅแจแแ ช
Henry Jeong
ย
XML, NoSQL, ๋น ๋ฐ์ดํฐ, ํด๋ผ์ฐ๋๋ก ์ฎ๊ฒจ๊ฐ๋ ์์ฅ ์ํฉ ์, ๋ฐ์ดํฐ๋ชจ๋ธ๋ง ์ฌ์ ํ ์ค์ํ๊ฐ
XML, NoSQL, ๋น ๋ฐ์ดํฐ, ํด๋ผ์ฐ๋๋ก ์ฎ๊ฒจ๊ฐ๋ ์์ฅ ์ํฉ ์, ๋ฐ์ดํฐ๋ชจ๋ธ๋ง ์ฌ์ ํ ์ค์ํ๊ฐ
Devgear
ย
SSD ๊ฐ๋ ๋ฐ ํ์ฉ_Wh oracle
SSD ๊ฐ๋ ๋ฐ ํ์ฉ_Wh oracle
์์
ย
๋ฐ์ดํฐ๋ฒ ์ด์ค ๋ชจ๋ธ๋ง
๋ฐ์ดํฐ๋ฒ ์ด์ค ๋ชจ๋ธ๋ง
Hoyoung Jung
ย
Db ์ง๋จ ๋ฐ ํ๋ ๋ณด๊ณ (example)
Db ์ง๋จ ๋ฐ ํ๋ ๋ณด๊ณ (example)
์ค์ ๊ณฝ
ย
Ssd ์ฑ๋ฅ์ํ cubrid mysql
Ssd ์ฑ๋ฅ์ํ cubrid mysql
swkim79
ย
์ปดํจํฐ ๋คํธ์ํฌ์ ์ธํฐ๋ท
์ปดํจํฐ ๋คํธ์ํฌ์ ์ธํฐ๋ท
์ค์ ๊ณฝ
ย
09. Memory, Storage (RAM, Cache, HDD, ODD, SSD, Flashdrives)
09. Memory, Storage (RAM, Cache, HDD, ODD, SSD, Flashdrives)
Akhila Dakshina
ย
Data models
Data models
Anuj Modi
ย
[์คํ์์ค์ปจ์คํ ]Day #3 MySQL Monitoring, Trouble Shooting
[์คํ์์ค์ปจ์คํ ]Day #3 MySQL Monitoring, Trouble Shooting
Ji-Woong Choi
ย
Data Modeling PPT
Data Modeling PPT
Trinath
ย
SSD Deployment Strategies for MySQL
SSD Deployment Strategies for MySQL
Yoshinori Matsunobu
ย
Count min sketch
Count min sketch
DaeMyung Kang
ย
Redis
Redis
DaeMyung Kang
ย
Ansible
Ansible
DaeMyung Kang
ย
Why GUID is needed
Why GUID is needed
DaeMyung Kang
ย
How to use redis well
How to use redis well
DaeMyung Kang
ย
The easiest consistent hashing
The easiest consistent hashing
DaeMyung Kang
ย
How to name a cache key
How to name a cache key
DaeMyung Kang
ย
Integration between Filebeat and logstash
Integration between Filebeat and logstash
DaeMyung Kang
ย
How to build massive service for advance
How to build massive service for advance
DaeMyung Kang
ย
Massive service basic
Massive service basic
DaeMyung Kang
ย
Data Engineering 101
Data Engineering 101
DaeMyung Kang
ย
How To Become Better Engineer
How To Become Better Engineer
DaeMyung Kang
ย
Kafka timestamp offset_final
Kafka timestamp offset_final
DaeMyung Kang
ย
Kafka timestamp offset
Kafka timestamp offset
DaeMyung Kang
ย
More Related Content
Viewers also liked
Db ์ง๋จ ๋ฐ ํ๋ ๋ณด๊ณ (example)
Db ์ง๋จ ๋ฐ ํ๋ ๋ณด๊ณ (example)
์ค์ ๊ณฝ
ย
Ssd ์ฑ๋ฅ์ํ cubrid mysql
Ssd ์ฑ๋ฅ์ํ cubrid mysql
swkim79
ย
์ปดํจํฐ ๋คํธ์ํฌ์ ์ธํฐ๋ท
์ปดํจํฐ ๋คํธ์ํฌ์ ์ธํฐ๋ท
์ค์ ๊ณฝ
ย
09. Memory, Storage (RAM, Cache, HDD, ODD, SSD, Flashdrives)
09. Memory, Storage (RAM, Cache, HDD, ODD, SSD, Flashdrives)
Akhila Dakshina
ย
Data models
Data models
Anuj Modi
ย
[์คํ์์ค์ปจ์คํ ]Day #3 MySQL Monitoring, Trouble Shooting
[์คํ์์ค์ปจ์คํ ]Day #3 MySQL Monitoring, Trouble Shooting
Ji-Woong Choi
ย
Data Modeling PPT
Data Modeling PPT
Trinath
ย
SSD Deployment Strategies for MySQL
SSD Deployment Strategies for MySQL
Yoshinori Matsunobu
ย
Viewers also liked
(8)
Db ์ง๋จ ๋ฐ ํ๋ ๋ณด๊ณ (example)
Db ์ง๋จ ๋ฐ ํ๋ ๋ณด๊ณ (example)
ย
Ssd ์ฑ๋ฅ์ํ cubrid mysql
Ssd ์ฑ๋ฅ์ํ cubrid mysql
ย
์ปดํจํฐ ๋คํธ์ํฌ์ ์ธํฐ๋ท
์ปดํจํฐ ๋คํธ์ํฌ์ ์ธํฐ๋ท
ย
09. Memory, Storage (RAM, Cache, HDD, ODD, SSD, Flashdrives)
09. Memory, Storage (RAM, Cache, HDD, ODD, SSD, Flashdrives)
ย
Data models
Data models
ย
[์คํ์์ค์ปจ์คํ ]Day #3 MySQL Monitoring, Trouble Shooting
[์คํ์์ค์ปจ์คํ ]Day #3 MySQL Monitoring, Trouble Shooting
ย
Data Modeling PPT
Data Modeling PPT
ย
SSD Deployment Strategies for MySQL
SSD Deployment Strategies for MySQL
ย
More from DaeMyung Kang
Count min sketch
Count min sketch
DaeMyung Kang
ย
Redis
Redis
DaeMyung Kang
ย
Ansible
Ansible
DaeMyung Kang
ย
Why GUID is needed
Why GUID is needed
DaeMyung Kang
ย
How to use redis well
How to use redis well
DaeMyung Kang
ย
The easiest consistent hashing
The easiest consistent hashing
DaeMyung Kang
ย
How to name a cache key
How to name a cache key
DaeMyung Kang
ย
Integration between Filebeat and logstash
Integration between Filebeat and logstash
DaeMyung Kang
ย
How to build massive service for advance
How to build massive service for advance
DaeMyung Kang
ย
Massive service basic
Massive service basic
DaeMyung Kang
ย
Data Engineering 101
Data Engineering 101
DaeMyung Kang
ย
How To Become Better Engineer
How To Become Better Engineer
DaeMyung Kang
ย
Kafka timestamp offset_final
Kafka timestamp offset_final
DaeMyung Kang
ย
Kafka timestamp offset
Kafka timestamp offset
DaeMyung Kang
ย
Data pipeline and data lake
Data pipeline and data lake
DaeMyung Kang
ย
Redis acl
Redis acl
DaeMyung Kang
ย
Coffee store
Coffee store
DaeMyung Kang
ย
Scalable webservice
Scalable webservice
DaeMyung Kang
ย
Number system
Number system
DaeMyung Kang
ย
webservice scaling for newbie
webservice scaling for newbie
DaeMyung Kang
ย
More from DaeMyung Kang
(20)
Count min sketch
Count min sketch
ย
Redis
Redis
ย
Ansible
Ansible
ย
Why GUID is needed
Why GUID is needed
ย
How to use redis well
How to use redis well
ย
The easiest consistent hashing
The easiest consistent hashing
ย
How to name a cache key
How to name a cache key
ย
Integration between Filebeat and logstash
Integration between Filebeat and logstash
ย
How to build massive service for advance
How to build massive service for advance
ย
Massive service basic
Massive service basic
ย
Data Engineering 101
Data Engineering 101
ย
How To Become Better Engineer
How To Become Better Engineer
ย
Kafka timestamp offset_final
Kafka timestamp offset_final
ย
Kafka timestamp offset
Kafka timestamp offset
ย
Data pipeline and data lake
Data pipeline and data lake
ย
Redis acl
Redis acl
ย
Coffee store
Coffee store
ย
Scalable webservice
Scalable webservice
ย
Number system
Number system
ย
webservice scaling for newbie
webservice scaling for newbie
ย
Scalable
1.
๋ ๋ก ๋จน๋ Scalable ์ด์ผ๊ธฐ!
charsyam@naver.com
2.
๋ฐํ์ ์๊ฐ!
๋! ์ด๋ฐ ์ฌ๋์ด์ผ~ โข ์ด๋ฆ : ๊ฐ๋๋ช โข ์ฑ๋ณ: ๋จ! โข ์ง์ : ์ํคํ ํธ๋ฅผ ๊ฟ๊พธ๋ ํ๋ก๊ทธ๋๋จธ โข ์ง์ฅ: NHN( 6๊ฐ์๋ ์์ฌ ์๋ฒ ๊ฐ๋ฐ์ ) โข ํน๊ธฐ: ์คํฐ๋ ๋ฐํ ๋ ๋ก ๋จน๊ธฐ!
3.
Topic: ์ด์ผ๊ธฐ ๊ฑฐ๋ฆฌ
4.
Scalable
5.
Scale UP
Vs Scale OUT
6.
Scale UP
7.
์ด๋น 1000 TPS
8.
์ด๋น 3000 TPS 3๋ฐฐ
์ฒ๋ฆฌ ๊ฐ๋ฅํ ์๋ฒ๋ฅผ ํฌ์
9.
Scale OUT
10.
์ด๋น 1000 TPS
11.
์ด๋น 2000 TPS
12.
์ด๋น 3000 TPS
13.
What is Better?
14.
Depends on
15.
๊ตฌ์ ๊ฐ๊ฒฉ
Depends on
16.
๊ตฌ์ ๊ฐ๊ฒฉ
Depends on ๊ด๋ฆฌ/์ ์ง๋น
17.
rchitecture
18.
Distribution Transparency
19.
Access : ์ฌ์ฉ์๊ฐ
์์์ ๋ํ ์ ๊ทผ ๋ฐฉ๋ฒ์ ์ ํ์๊ฐ ์๋ค. Location: ์ฌ์ฉ์๋ ์์์ด ๋ก์ปฌ์ธ์ง, ์๊ฒฉ์ธ์ง ๋ฌผ๋ฆฌ์ ์์น์ ๋ํด์ ์ ํ์๊ฐ ์๋ค. Migration: ์ฌ์ฉ์๋ ์์์ ๋ฌผ๋ฆฌ์ ์์น๊ฐ ์ด๋ํ๋๋ผ๋, ๊ธฐ์กด ์ด๋ฆ์ผ๋ก ์๋น์ค ๊ฐ๋ฅํด์ผ ํ๋ค. Relocation: ์ฌ์ฉ์๋ ์ฌ์ฉ ์ค์ ์์์ ์์น๊ฐ ์ด๋ํ๋๋ผ๋, ์ด์ ๋ํด ์ ํ์๊ฐ ์๋ค. Replication: ์ฌ์ฉ์๋ ์ฌ์ฉ ์ค์ธ ์์์ด ๋ณต์ ๋ ๊ฒ์ธ์ง ์๋ณธ์ธ์ง ์ ํ์๊ฐ ์๋ค Concurrency: ์ฌ์ฉ์๋ ์ฌ์ฉ ์ค์ธ ์์์ ๋์์ฑ์ ๋ํด์ ์๊ฒฝ ์ธ ํ์๊ฐ ์๋ค. ๊ทธ๋ฅ ํผ์ ์ฐ๋ ์์์ฒ๋ผ ์ธ์๋์ด์ผ ํ๋ค. Failure: ์ฌ์ฉ์๋ ์ฌ์ฉ ์ค์ธ ์์์ด ์ฅ์ ๊ฐ ๋ฐ์ํ๊ณ , ์ด์ ๋ํ ๋ณต์์ด ์ด๋ฃจ์ด์ง๋๋ผ๋ ๊ทธ์ ๋ํด ์ ํ์๊ฐ ์๋ค.
20.
Access : ์ฌ์ฉ์๊ฐ
์์์ ๋ํ ์ ๊ทผ ๋ฐฉ๋ฒ์ ์ ํ์๊ฐ ์๋ค. Location: ์ฌ์ฉ์๋ ์์์ด ๋ก์ปฌ์ธ์ง, ์๊ฒฉ์ธ์ง ๋ฌผ๋ฆฌ์ ์์น์ ๋ํด์ ์ ํ์๊ฐ ์๋ค. Migration: ์ฌ์ฉ์๋ ์์์ ๋ฌผ๋ฆฌ์ ์์น๊ฐ ์ด๋ํ๋๋ผ๋, ๊ธฐ์กด ์ด๋ฆ์ผ๋ก ์๋น์ค ๊ฐ๋ฅํด์ผ ํ๋ค. Relocation: ์ฌ์ฉ์๋ ์ฌ์ฉ ์ค์ ์์์ ์์น๊ฐ ์ด๋ํ๋๋ผ๋, ์ด์ ๋ํด ์ ํ์๊ฐ ์๋ค. Replication: ์ฌ์ฉ์๋ ์ฌ์ฉ ์ค์ธ ์์์ด ๋ณต์ ๋ ๊ฒ์ธ์ง ์๋ณธ์ธ์ง ์ ํ์๊ฐ ์๋ค Concurrency: ์ฌ์ฉ์๋ ์ฌ์ฉ ์ค์ธ ์์์ ๋์์ฑ์ ๋ํด์ ์๊ฒฝ ์ธ ํ์๊ฐ ์๋ค. ๊ทธ๋ฅ ํผ์ ์ฐ๋ ์์์ฒ๋ผ ์ธ์๋์ด์ผ ํ๋ค. Failure: ์ฌ์ฉ์๋ ์ฌ์ฉ ์ค์ธ ์์์ด ์ฅ์ ๊ฐ ๋ฐ์ํ๊ณ , ์ด์ ๋ํ ๋ณต์์ด ์ด๋ฃจ์ด์ง๋๋ผ๋ ๊ทธ์ ๋ํด ์ ํ์๊ฐ ์๋ค.
21.
Access : ์ฌ์ฉ์๊ฐ
์์์ ๋ํ ์ ๊ทผ ๋ฐฉ๋ฒ์ ์ ํ์๊ฐ ์๋ค. Location: ์ฌ์ฉ์๋ ์์์ด ๋ก์ปฌ์ธ์ง, ์๊ฒฉ์ธ์ง ๋ฌผ๋ฆฌ์ ์์น์ ๋ํด์ ์ ํ์๊ฐ ์๋ค. Migration: ์ฌ์ฉ์๋ ์์์ ๋ฌผ๋ฆฌ์ ์์น๊ฐ ์ด๋ํ๋๋ผ๋, ๊ธฐ์กด ์ด๋ฆ์ผ๋ก ์๋น์ค ๊ฐ๋ฅํด์ผ ํ๋ค. Relocation: ์ฌ์ฉ์๋ ์ฌ์ฉ ์ค์ ์์์ ์์น๊ฐ ์ด๋ํ๋๋ผ๋, ์ด์ ๋ํด ์ ํ์๊ฐ ์๋ค. Replication: ์ฌ์ฉ์๋ ์ฌ์ฉ ์ค์ธ ์์์ด ๋ณต์ ๋ ๊ฒ์ธ์ง ์๋ณธ์ธ์ง ์ ํ์๊ฐ ์๋ค Concurrency: ์ฌ์ฉ์๋ ์ฌ์ฉ ์ค์ธ ์์์ ๋์์ฑ์ ๋ํด์ ์๊ฒฝ ์ธ ํ์๊ฐ ์๋ค. ๊ทธ๋ฅ ํผ์ ์ฐ๋ ์์์ฒ๋ผ ์ธ์๋์ด์ผ ํ๋ค. Failure: ์ฌ์ฉ์๋ ์ฌ์ฉ ์ค์ธ ์์์ด ์ฅ์ ๊ฐ ๋ฐ์ํ๊ณ , ์ด์ ๋ํ ๋ณต์์ด ์ด๋ฃจ์ด์ง๋๋ผ๋ ๊ทธ์ ๋ํด ์ ํ์๊ฐ ์๋ค.
22.
Access : ์ฌ์ฉ์๊ฐ
์์์ ๋ํ ์ ๊ทผ ๋ฐฉ๋ฒ์ ์ ํ์๊ฐ ์๋ค. Location: ์ฌ์ฉ์๋ ์์์ด ๋ก์ปฌ์ธ์ง, ์๊ฒฉ์ธ์ง ๋ฌผ๋ฆฌ์ ์์น์ ๋ํด์ ์ ํ์๊ฐ ์๋ค. Migration: ์ฌ์ฉ์๋ ์์์ ๋ฌผ๋ฆฌ์ ์์น๊ฐ ์ด๋ํ๋๋ผ๋, ๊ธฐ์กด ์ด๋ฆ์ผ๋ก ์๋น์ค ๊ฐ๋ฅํด์ผ ํ๋ค. Relocation: ์ฌ์ฉ์๋ ์ฌ์ฉ ์ค์ ์์์ ์์น๊ฐ ์ด๋ํ๋๋ผ๋, ์ด์ ๋ํด ์ ํ์๊ฐ ์๋ค. Replication: ์ฌ์ฉ์๋ ์ฌ์ฉ ์ค์ธ ์์์ด ๋ณต์ ๋ ๊ฒ์ธ์ง ์๋ณธ์ธ์ง ์ ํ์๊ฐ ์๋ค Concurrency: ์ฌ์ฉ์๋ ์ฌ์ฉ ์ค์ธ ์์์ ๋์์ฑ์ ๋ํด์ ์๊ฒฝ ์ธ ํ์๊ฐ ์๋ค. ๊ทธ๋ฅ ํผ์ ์ฐ๋ ์์์ฒ๋ผ ์ธ์๋์ด์ผ ํ๋ค. Failure: ์ฌ์ฉ์๋ ์ฌ์ฉ ์ค์ธ ์์์ด ์ฅ์ ๊ฐ ๋ฐ์ํ๊ณ , ์ด์ ๋ํ ๋ณต์์ด ์ด๋ฃจ์ด์ง๋๋ผ๋ ๊ทธ์ ๋ํด ์ ํ์๊ฐ ์๋ค.
23.
Access : ์ฌ์ฉ์๊ฐ
์์์ ๋ํ ์ ๊ทผ ๋ฐฉ๋ฒ์ ์ ํ์๊ฐ ์๋ค. Location: ์ฌ์ฉ์๋ ์์์ด ๋ก์ปฌ์ธ์ง, ์๊ฒฉ์ธ์ง ๋ฌผ๋ฆฌ์ ์์น์ ๋ํด์ ์ ํ์๊ฐ ์๋ค. Migration: ์ฌ์ฉ์๋ ์์์ ๋ฌผ๋ฆฌ์ ์์น๊ฐ ์ด๋ํ๋๋ผ๋, ๊ธฐ์กด ์ด๋ฆ์ผ๋ก ์๋น์ค ๊ฐ๋ฅํด์ผ ํ๋ค. Relocation: ์ฌ์ฉ์๋ ์ฌ์ฉ ์ค์ ์์์ ์์น๊ฐ ์ด๋ํ๋๋ผ๋, ์ด์ ๋ํด ์ ํ์๊ฐ ์๋ค. Replication: ์ฌ์ฉ์๋ ์ฌ์ฉ ์ค์ธ ์์์ด ๋ณต์ ๋ ๊ฒ์ธ์ง ์๋ณธ์ธ์ง ์ ํ์๊ฐ ์๋ค Concurrency: ์ฌ์ฉ์๋ ์ฌ์ฉ ์ค์ธ ์์์ ๋์์ฑ์ ๋ํด์ ์๊ฒฝ ์ธ ํ์๊ฐ ์๋ค. ๊ทธ๋ฅ ํผ์ ์ฐ๋ ์์์ฒ๋ผ ์ธ์๋์ด์ผ ํ๋ค. Failure: ์ฌ์ฉ์๋ ์ฌ์ฉ ์ค์ธ ์์์ด ์ฅ์ ๊ฐ ๋ฐ์ํ๊ณ , ์ด์ ๋ํ ๋ณต์์ด ์ด๋ฃจ์ด์ง๋๋ผ๋ ๊ทธ์ ๋ํด ์ ํ์๊ฐ ์๋ค.
24.
Access : ์ฌ์ฉ์๊ฐ
์์์ ๋ํ ์ ๊ทผ ๋ฐฉ๋ฒ์ ์ ํ์๊ฐ ์๋ค. Location: ์ฌ์ฉ์๋ ์์์ด ๋ก์ปฌ์ธ์ง, ์๊ฒฉ์ธ์ง ๋ฌผ๋ฆฌ์ ์์น์ ๋ํด์ ์ ํ์๊ฐ ์๋ค. Migration: ์ฌ์ฉ์๋ ์์์ ๋ฌผ๋ฆฌ์ ์์น๊ฐ ์ด๋ํ๋๋ผ๋, ๊ธฐ์กด ์ด๋ฆ์ผ๋ก ์๋น์ค ๊ฐ๋ฅํด์ผ ํ๋ค. Relocation: ์ฌ์ฉ์๋ ์ฌ์ฉ ์ค์ ์์์ ์์น๊ฐ ์ด๋ํ๋๋ผ๋, ์ด์ ๋ํด ์ ํ์๊ฐ ์๋ค. Replication: ์ฌ์ฉ์๋ ์ฌ์ฉ ์ค์ธ ์์์ด ๋ณต์ ๋ ๊ฒ์ธ์ง ์๋ณธ์ธ์ง ์ ํ์๊ฐ ์๋ค Concurrency: ์ฌ์ฉ์๋ ์ฌ์ฉ ์ค์ธ ์์์ ๋์์ฑ์ ๋ํด์ ์๊ฒฝ ์ธ ํ์๊ฐ ์๋ค. ๊ทธ๋ฅ ํผ์ ์ฐ๋ ์์์ฒ๋ผ ์ธ์๋์ด์ผ ํ๋ค. Failure: ์ฌ์ฉ์๋ ์ฌ์ฉ ์ค์ธ ์์์ด ์ฅ์ ๊ฐ ๋ฐ์ํ๊ณ , ์ด์ ๋ํ ๋ณต์์ด ์ด๋ฃจ์ด์ง๋๋ผ๋ ๊ทธ์ ๋ํด ์ ํ์๊ฐ ์๋ค.
25.
Access : ์ฌ์ฉ์๊ฐ
์์์ ๋ํ ์ ๊ทผ ๋ฐฉ๋ฒ์ ์ ํ์๊ฐ ์๋ค. Location: ์ฌ์ฉ์๋ ์์์ด ๋ก์ปฌ์ธ์ง, ์๊ฒฉ์ธ์ง ๋ฌผ๋ฆฌ์ ์์น์ ๋ํด์ ์ ํ์๊ฐ ์๋ค. Migration: ์ฌ์ฉ์๋ ์์์ ๋ฌผ๋ฆฌ์ ์์น๊ฐ ์ด๋ํ๋๋ผ๋, ๊ธฐ์กด ์ด๋ฆ์ผ๋ก ์๋น์ค ๊ฐ๋ฅํด์ผ ํ๋ค. Relocation: ์ฌ์ฉ์๋ ์ฌ์ฉ ์ค์ ์์์ ์์น๊ฐ ์ด๋ํ๋๋ผ๋, ์ด์ ๋ํด ์ ํ์๊ฐ ์๋ค. Replication: ์ฌ์ฉ์๋ ์ฌ์ฉ ์ค์ธ ์์์ด ๋ณต์ ๋ ๊ฒ์ธ์ง ์๋ณธ์ธ์ง ์ ํ์๊ฐ ์๋ค Concurrency: ์ฌ์ฉ์๋ ์ฌ์ฉ ์ค์ธ ์์์ ๋์์ฑ์ ๋ํด์ ์๊ฒฝ ์ธ ํ์๊ฐ ์๋ค. ๊ทธ๋ฅ ํผ์ ์ฐ๋ ์์์ฒ๋ผ ์ธ์๋์ด์ผ ํ๋ค. Failure: ์ฌ์ฉ์๋ ์ฌ์ฉ ์ค์ธ ์์์ด ์ฅ์ ๊ฐ ๋ฐ์ํ๊ณ , ์ด์ ๋ํ ๋ณต์์ด ์ด๋ฃจ์ด์ง๋๋ผ๋ ๊ทธ์ ๋ํด ์ ํ์๊ฐ ์๋ค.
26.
Access : ์ฌ์ฉ์๊ฐ
์์์ ๋ํ ์ ๊ทผ ๋ฐฉ๋ฒ์ ์ ํ์๊ฐ ์๋ค. Location: ์ฌ์ฉ์๋ ์์์ด ๋ก์ปฌ์ธ์ง, ์๊ฒฉ์ธ์ง ๋ฌผ๋ฆฌ์ ์์น์ ๋ํด์ ์ ํ์๊ฐ ์๋ค. Migration: ์ฌ์ฉ์๋ ์์์ ๋ฌผ๋ฆฌ์ ์์น๊ฐ ์ด๋ํ๋๋ผ๋, ๊ธฐ์กด ์ด๋ฆ์ผ๋ก ์๋น์ค ๊ฐ๋ฅํด์ผ ํ๋ค. Relocation: ์ฌ์ฉ์๋ ์ฌ์ฉ ์ค์ ์์์ ์์น๊ฐ ์ด๋ํ๋๋ผ๋, ์ด์ ๋ํด ์ ํ์๊ฐ ์๋ค. Replication: ์ฌ์ฉ์๋ ์ฌ์ฉ ์ค์ธ ์์์ด ๋ณต์ ๋ ๊ฒ์ธ์ง ์๋ณธ์ธ์ง ์ ํ์๊ฐ ์๋ค Concurrency: ์ฌ์ฉ์๋ ์ฌ์ฉ ์ค์ธ ์์์ ๋์์ฑ์ ๋ํด์ ์๊ฒฝ ์ธ ํ์๊ฐ ์๋ค. ๊ทธ๋ฅ ํผ์ ์ฐ๋ ์์์ฒ๋ผ ์ธ์๋์ด์ผ ํ๋ค. Failure: ์ฌ์ฉ์๋ ์ฌ์ฉ ์ค์ธ ์์์ด ์ฅ์ ๊ฐ ๋ฐ์ํ๊ณ , ์ด์ ๋ํ ๋ณต์์ด ์ด๋ฃจ์ด์ง๋๋ผ๋ ๊ทธ์ ๋ํด ์ ํ์๊ฐ ์๋ค.
27.
ifficult!!!
28.
Use Framework
29.
3 Things
+1
30.
3 Things
Gearman Memcached MySQL Scale Out
31.
GEARMAN
32.
Queue
Job Service + Server
33.
Multi platform Multi Language
34.
Gearman Flow
35.
Gearman Cluster
36.
37.
GEARMAN MANAGER
38.
Gearman Cluster
ํ๋๊ฐ ์ค๋ฅ๊ฐ ๋๋๋ผ๋ ๋ค๋ฅธ ์๋ฒ๋ก ์ ๊ทผ ๋จ, addserver ๋ก ์ถ๊ฐํด์ค์ผ ํ๋ค.
39.
Gearman Dynamic Gearman A,B
Worker A ๋ฑ๋ก ์๋น์ค ์์ ์ฒ๋ฆฌ ๊ฒฐ๊ณผ ์ ์ก Client A ์์ฒญ
40.
Gearman Dynamic 2 Gearman
A,B Client A ์์ฒญ ์๋น์ค A ๋๊ธฐ ์์ ์ฒ๋ฆฌ ๊ฒฐ๊ณผ ์ ์ก Worker A ๋ฑ๋ก
41.
Gearman Map/Reduce
Client Gearman Job Server Map/Reduce Worker Client Client Client Gearman Job Server Worker Worker Worker
42.
Who Use Gearman! Digg:
45+ Server, 400K Jobs/day Yahoo: 120+ Server, 12M jobs/day
43.
44.
Apply Cache Server Perfomance
UP
45.
Client
Client Client Server Write Cache Layer DBMS Update
46.
MEMCACHED
47.
NoSQL Key-Value Store
48.
Atomic Operation
49.
Who use Memcached? โข
Facebook and Google and Many Companies โข Facebook โ ํ์ฌ ๊ฐ์ ์ ์ 6์ต๋ช โ ํ์ฑ ์ฌ์ฉ์ 7,000๋ง โ ์ฌ์ฉ์ ์ฆ๊ฐ ๋น์จ 4์ผ์ 100๋ง๋ช โ Web ์๋ฒ 10,000 ๋, Web Request ์ด๋น 2000๋ง๋ฒ โ Memcached ์๋ฒ 805๋ -> 15TB, HitRate: 95% โ Mysq server 1,800 ๋ Master/Slave(๊ฐ๊ฐ, 900๋) โข Mem: 25TB, SQL Query ์ด๋น 50๋ง๋ฒ
50.
CACHE ์ด์ฉ์ 2๊ฐ์ง
๋ชจ๋ธ: 1 Client CACHE SERVER
51.
CACHE ์ด์ฉ์ 2๊ฐ์ง
๋ชจ๋ธ: 2 Client SERVER CACHE
52.
53.
54.
No, Free Lunch No,
Silver Bullet
55.
1G MEM vs
4G MEM
56.
Appling Scale Out
On Memcached Server
57.
Distributed Memcached Server
58.
Client
Proxy : Key Management Memcached Memcached Memcached Server Server Server
59.
NorthScale Project
60.
MySQL Scale Out
61.
Default Architecture
62.
Client Master
REPLICATION/FailOver Slave
63.
One Write
Master + Multi Read Slave
64.
Client
ONLY WRITE Only READ Master REPLICATION Slave Slave Slave
65.
66.
Partitioning
67.
Why? Partitioning
68.
69.
70.
Scalable Partitioning
Client PART 1 PART 2 Web Server Web Server DBMS DBMS
71.
์ถ๊ฐ๋ก ๊ณ ๋ฏผํ๋ฉด
์ข์๊ฑฐ?
72.
Elastic!!!
73.
Thank You!
74.
๊ถ์ฅ ๋์
Download now