© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
S E O U L | M A Y 3 , 2 0 2 3
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
/
Principal Engineer, Architect Database Administrator
Solutions Architect
AWS
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
1.
2. AWS -
3. “Shared repository architecture style”
4. 대용량 트래픽, 쿠팡의 DB 엔지니어가 클라우드를 사용하는 방법
Agenda
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Modern application requirements
, AWS
Users 1M+
Data volume Terabytes—petabytes
Locality Global
Performance Microsecond latency
Request rate Millions per second
Access Mobile, IoT, devices
Scale Virtually unlimited
Economics Pay as you go
Developer access Instance API access
Development Apps and storage are
decoupled
Online
gaming
Social
media
Media
streaming
E-commerce Shared economy
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
.
, , ,
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
?
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS purpose-built databases
Aurora RDS DynamoDB DocumentDB Timestream
Neptune
ElastiCache QLDB Keyspaces
MemoryDB
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Shared Repository Architecture Style
Design Strategy
삼성전자
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Rich Communication Service
38,000,000 /
49,000,000 /
Chatbot Platform
File Transfer
Instant Messaging
SBC
NNI
Group Messaging
31,000,000
Capability Discovery
GSMA, TTA
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
RCS1.0
SAMSUNGRCS1.0
(2019)
Cluster-0
P-CSCF
S-CSCF
I-CSCF
HSS
Cluster-1
P-CSCF
S-CSCF
I-CSCF
HSS
Cluster-N
P-CSCF
S-CSCF
I-CSCF
HSS
SLF
“Lift and Shift”
1,000,000
10~20
Account
Cluster
Cluster-0
Cluster-1
Cluster-N
20%
30%
80%
…
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
RCS1.0 / RCS2.0
SAMSUNGRCS1.0
(2019)
Cluster-0
P-CSCF
S-CSCF
I-CSCF
HSS
Cluster-1
P-CSCF
S-CSCF
I-CSCF
HSS
Cluster-N
P-CSCF
S-CSCF
I-CSCF
HSS
SLF
SAMSUNGRCS2.0
(2022)
“Lift and Shift”
1,000,000
10~20
Account
Service
Instant
Messaging
Capability
Discovery
Border
Controller
File
Transfer
Group
Messaging
/
ISSUE
“ ”
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Shared Repository Architecture Style
Account
Service
Instant
Messaging
Capability
Discovery
Border
Controller
File
Transfer
Group
Messaging
Allocation
Service
Amazon Aurora
Amazon DynamoDB
Amazon ElastiCache
Chatbot
Profile
Amazon ElastiCache
MaaP
Service
ISSUE
&
Amazon
DynamoDB
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
SAMSUNG RCS 2.0 CHATBOT PROFILE SERVICE
,
( )
Cache
Aurora
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
,
( )
Cache
Aurora
Aurora
ElastiCache
SAMSUNG RCS 2.0 CHATBOT PROFILE SERVICE
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Aurora
Aurora
ElastiCache
Aurora
ElastiCache
Data Provider Service - Local cache
Chatbot Profile
invalidate
del
,
( )
Cache
Aurora
update
invalidate
ElastiCache
delete
key_event
missing
Local Cache
SAMSUNG RCS 2.0 CHATBOT PROFILE SERVICE
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Aurora
Aurora
ElastiCache
Aurora
ElastiCache - Key event subscription
Data Provider Service - Local cache
Chatbot Profile
invalidate
key_event
del
Aurora update
invalidate
ElastiCache
delete
Local Cache
delete
key_event
Aurora
ElastiCache
Data Provider Service - Local cache
,
( )
Cache
Aurora
update
invalidate
ElastiCache
delete
key_event
missing
Local Cache
SAMSUNG RCS 2.0 CHATBOT PROFILE SERVICE
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
SAMSUNG RCS2.0 ALLOCATION SERVICE
Handover, WIFI
,
Aurora
DynamoDB
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Handover, WIFI
,
Aurora
DynamoDB
DynamoDB - Strong consistency read
Aurora - Consistency lock
SAMSUNG RCS2.0 ALLOCATION SERVICE
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Aurora
DynamoDB
DynamoDB - Strong consistency read
Aurora - Consistency lock
DynamoDB - Strong consistency read
ElastiCache
cache
Handover, WIFI
,
SAMSUNG RCS2.0 ALLOCATION SERVICE
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Aurora
DynamoDB
DynamoDB - Strong consistency read
Aurora - Consistency lock
DynamoDB - Strong consistency read
ElastiCache
DynamoDB - Strong consistency read
ElastiCache
Data Provider Service - Elastic Cache consistency lock
cache
Handover, WIFI
,
SAMSUNG RCS2.0 ALLOCATION SERVICE
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
, TACTICS
( )
- 5
- 10
30%
RCS1.0 13%
“ Managed Service
.”
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
,
DB
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
MSA
N x100
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
G R A N U L A R - M S A
• .
• ,
.
• .
• .
• ,
sharding .
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
2019 2020 2021 2022
ACL 150 426 902 1404
DDL 1214 2161 3124 4065
DML 684 2094 3414 5341
150
426
902
1404
1214
2161
3124
4065
684
2094
3414
5341
0
1000
2000
3000
4000
5000
6000
DML, DDL, ACL 작업 요청 증가 추세
681%
235%
836%
DML( )
DDL( )
ACL(DB )
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
•
.
•
.
• .
•
.
24
/
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
- DML
400~500
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
- DDL
300
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
서비스 안정화 방법들
•
•
•
•
•
•
• /
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
/
•
•
•
•
•
•
• /
On-premise
AWS
MySQL
30
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
/ -
COUPANG’S BLUE/GREEN SERVICE
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
/ -
COUPANG’S BLUE/GREEN SERVICE
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
WOW the customer
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Factors to consider when choosing a purpose-built database
Application Workload
Data Shape
Performance requirements
Operation burden
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
감사합니다
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.

AWS Summit Seoul 2023 | 삼성전자/쿠팡의 대규모 트래픽 처리를 위한 클라우드 네이티브 데이터베이스 활용

  • 1.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. S E O U L | M A Y 3 , 2 0 2 3
  • 2.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. / Principal Engineer, Architect Database Administrator Solutions Architect AWS
  • 3.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. 1. 2. AWS - 3. “Shared repository architecture style” 4. 대용량 트래픽, 쿠팡의 DB 엔지니어가 클라우드를 사용하는 방법 Agenda
  • 4.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. Modern application requirements , AWS Users 1M+ Data volume Terabytes—petabytes Locality Global Performance Microsecond latency Request rate Millions per second Access Mobile, IoT, devices Scale Virtually unlimited Economics Pay as you go Developer access Instance API access Development Apps and storage are decoupled Online gaming Social media Media streaming E-commerce Shared economy
  • 5.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. . , , ,
  • 6.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. ?
  • 7.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. AWS purpose-built databases Aurora RDS DynamoDB DocumentDB Timestream Neptune ElastiCache QLDB Keyspaces MemoryDB
  • 8.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Shared Repository Architecture Style Design Strategy 삼성전자
  • 9.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. Rich Communication Service 38,000,000 / 49,000,000 / Chatbot Platform File Transfer Instant Messaging SBC NNI Group Messaging 31,000,000 Capability Discovery GSMA, TTA
  • 10.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. RCS1.0 SAMSUNGRCS1.0 (2019) Cluster-0 P-CSCF S-CSCF I-CSCF HSS Cluster-1 P-CSCF S-CSCF I-CSCF HSS Cluster-N P-CSCF S-CSCF I-CSCF HSS SLF “Lift and Shift” 1,000,000 10~20 Account Cluster Cluster-0 Cluster-1 Cluster-N 20% 30% 80% …
  • 11.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. RCS1.0 / RCS2.0 SAMSUNGRCS1.0 (2019) Cluster-0 P-CSCF S-CSCF I-CSCF HSS Cluster-1 P-CSCF S-CSCF I-CSCF HSS Cluster-N P-CSCF S-CSCF I-CSCF HSS SLF SAMSUNGRCS2.0 (2022) “Lift and Shift” 1,000,000 10~20 Account Service Instant Messaging Capability Discovery Border Controller File Transfer Group Messaging / ISSUE “ ”
  • 12.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. Shared Repository Architecture Style Account Service Instant Messaging Capability Discovery Border Controller File Transfer Group Messaging Allocation Service Amazon Aurora Amazon DynamoDB Amazon ElastiCache Chatbot Profile Amazon ElastiCache MaaP Service ISSUE & Amazon DynamoDB
  • 13.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. SAMSUNG RCS 2.0 CHATBOT PROFILE SERVICE , ( ) Cache Aurora
  • 14.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. , ( ) Cache Aurora Aurora ElastiCache SAMSUNG RCS 2.0 CHATBOT PROFILE SERVICE
  • 15.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. Aurora Aurora ElastiCache Aurora ElastiCache Data Provider Service - Local cache Chatbot Profile invalidate del , ( ) Cache Aurora update invalidate ElastiCache delete key_event missing Local Cache SAMSUNG RCS 2.0 CHATBOT PROFILE SERVICE
  • 16.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. Aurora Aurora ElastiCache Aurora ElastiCache - Key event subscription Data Provider Service - Local cache Chatbot Profile invalidate key_event del Aurora update invalidate ElastiCache delete Local Cache delete key_event Aurora ElastiCache Data Provider Service - Local cache , ( ) Cache Aurora update invalidate ElastiCache delete key_event missing Local Cache SAMSUNG RCS 2.0 CHATBOT PROFILE SERVICE
  • 17.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. SAMSUNG RCS2.0 ALLOCATION SERVICE Handover, WIFI , Aurora DynamoDB
  • 18.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. Handover, WIFI , Aurora DynamoDB DynamoDB - Strong consistency read Aurora - Consistency lock SAMSUNG RCS2.0 ALLOCATION SERVICE
  • 19.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. Aurora DynamoDB DynamoDB - Strong consistency read Aurora - Consistency lock DynamoDB - Strong consistency read ElastiCache cache Handover, WIFI , SAMSUNG RCS2.0 ALLOCATION SERVICE
  • 20.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. Aurora DynamoDB DynamoDB - Strong consistency read Aurora - Consistency lock DynamoDB - Strong consistency read ElastiCache DynamoDB - Strong consistency read ElastiCache Data Provider Service - Elastic Cache consistency lock cache Handover, WIFI , SAMSUNG RCS2.0 ALLOCATION SERVICE
  • 21.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. , TACTICS ( ) - 5 - 10 30% RCS1.0 13% “ Managed Service .”
  • 22.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. , DB
  • 23.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. MSA N x100
  • 24.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. G R A N U L A R - M S A • . • , . • . • . • , sharding .
  • 25.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. 2019 2020 2021 2022 ACL 150 426 902 1404 DDL 1214 2161 3124 4065 DML 684 2094 3414 5341 150 426 902 1404 1214 2161 3124 4065 684 2094 3414 5341 0 1000 2000 3000 4000 5000 6000 DML, DDL, ACL 작업 요청 증가 추세 681% 235% 836% DML( ) DDL( ) ACL(DB )
  • 26.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. • . • . • . • . 24 /
  • 27.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved.
  • 28.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. - DML 400~500
  • 29.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. - DDL 300
  • 30.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. 서비스 안정화 방법들 • • • • • • • /
  • 31.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. / • • • • • • • / On-premise AWS MySQL 30
  • 32.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. / - COUPANG’S BLUE/GREEN SERVICE
  • 33.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. / - COUPANG’S BLUE/GREEN SERVICE
  • 34.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. WOW the customer
  • 35.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 36.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. Factors to consider when choosing a purpose-built database Application Workload Data Shape Performance requirements Operation burden
  • 37.
    © 2023, AmazonWeb Services, Inc. or its affiliates. All rights reserved. 감사합니다 © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.