The document discusses using Elastic Load Balancing (ELB) to build a multi-node socket.io architecture. It describes implementing socket.io on a single node initially for an MVP, then adding additional socket.io nodes behind an ELB load balancer for scaling. Key challenges discussed include ensuring sticky sessions work across nodes and enabling messaging between nodes, which is solved using Redis. The architecture is deployed using CodeDeploy and auto-scaling is suggested for future growth.
21. Working on
Socket.IO Swift Client
Working on
Proxy for Sticky Session
vs
• 클라이언트 개발을 99.9% 마친 상태.
• 클라이언트 수정이 부담됨
• 추후 안드로이드 클라이언트에서 같은 이
슈가 발생한다면?
• 작업 시간 예측이 어려움
• Sticky Connection만 보장되면 문제 해
결됨이 명확
• 서비스 로직 코드 수정 불필요
• 프록시 설정되면, 추후 노드 내에 멀티
프로세스 운영 가능