# PayPay, 아마존 Aurora 에서 TiDB로 이관

> Clean Markdown view of GeekNews topic #2656. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=2656](https://news.hada.io/topic?id=2656)
- GeekNews Markdown: [https://news.hada.io/topic/2656.md](https://news.hada.io/topic/2656.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2020-08-15T10:19:03+09:00
- Updated: 2020-08-15T10:19:03+09:00
- Original source: [pingcap.com](https://pingcap.com/case-studies/japan-largest-mobile-payment-company-migrates-from-aurora-to-a-scale-out-database)
- Points: 5
- Comments: 2

## Topic Body

- PayPay는 일본 최대 모바일 결제사업자 (사용자 3천만명)

- 쓰기가 많은 Payment DB에 병목이 생겨서 Aurora 에서 오픈소스 HTAP( Hybrid Transactional/Analytical Processing) DB인 TiDB로 이관한 이유들을 정리

- TiDB: 오픈소스, 클라우드 네이티브, 분산 SQL DB

ㅤ→ MySQL과 호환

ㅤ→ Horizonal 스케일링 가능. 추가적으로 TiDB 클러스터는 여러개 인스턴스로 되어있어서 HA 가능

ㅤ→ 개발자 단에서 샤딩 처리할게 없어서 어플리케이션이 간단해 짐

- Aurora 는 Write Primary 와 Read-Only Secondary 가 기본으로 둘간의 복제 레이턴시는 매우 작긴 하지만, Write 요청이 많아지면 binlog 복제가 병목이 되기 시작.

- 내부에서 테스트 했을때 TiDB가 Aurora 보다 3배의 트랜잭션을 처리 할수 있었음

## Comments



### Comment 2614

- Author: galadbran
- Created: 2020-08-18T15:00:25+09:00
- Points: 1

GeekNews 읽다보니 오픈소스 DBMS 들이 어마어마하게 많이 존재하고 있었다는 사실을 새삼 알게 되네요.

### Comment 2598

- Author: xguru
- Created: 2020-08-15T10:19:17+09:00
- Points: 1

TiDB 개발사인 PingCap 사이트에 올라온 글이니, 다 믿을 필요는 없지만 한번 읽어볼만 합니다
