Canva의 사용자 세션 검증 방법과 MySQL 병목 해결 방안을 조명한다.
Canva는 수억 명의 사용자 세션을 초당 수십만 건의 요청으로 안전하고 빠르게 유지하기 위해 다양한 기술적 조치를 취하고 있다. 그 과정에서 100만 건 이상의 취소 기록을 MySQL에서 읽는 병목 문제를 해결했다. 최근 12시간의 데이터를 30분 단위 S3 객체로 나누고, 각 데이터를 압축하여 시스템의 성능을 개선하고 있다.
Exploration of how Canva manages user session validation and resolves MySQL bottlenecks.
Canva has implemented various technical measures to maintain millions of user sessions safely and quickly amid hundreds of thousands of requests per second. They addressed bottleneck issues by efficiently reading over one million cancellation records from MySQL. Additionally, they split the last 12 hours of data into 30-minute S3 objects and compressed each record to enhance system performance.