본문 바로가기

Hello Ocean! 🌼

검색하기
Hello Ocean! 🌼
프로필사진 bba_dda

  • 분류 전체보기 (122)
    • Algorithm (101)
    • Tech (1)
    • Web (8)
    • Book (1)
      • 오브젝트 (1)
    • TIL (7)
    • NestJS (1)
    • Go (3)
      • GO-GraphQL (1)
    • 생각 정리 (0)
Guestbook
Notice
Recent Posts
Recent Comments
Link
Tags
  • C++
  • 비트맵
  • nestjs
  • Python
  • 재귀
  • 카카오2021
  • Union-Find
  • golang
  • DFS
  • 슬라이딩 윈도우
  • 위코드
  • 프리온보딩
  • 원티드
  • 프로그래머스
  • DP
  • 비트마스킹
  • 이분탐색
  • go
  • 가장가까운공통조상
  • 트리
  • 백준
  • BFS
  • js
  • 알고리즘
  • 다익스트라
  • 백엔드 프리온보딩
  • LCs
  • 웹린이
  • 동적 프로그래밍
  • 카카오 코테
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록go redis adapter (1)

Hello Ocean! 🌼

[Go] go-socket.io의 Redis Adapter

socket.io에서는 redis adapter를 사용할 수 있다.Adapter가 무엇일까?https://socket.io/docs/v4/adapter/정의Adapter는 client의 부분집합 혹은 전체 client에게 event를 broadcast하는 server-side component이다.왜 필요할까?기본적으로 socket.io에서 in-memory adapter가 broadcast를 수행하는데,socket.io 서버가 여러대로 분산되어있을 때, in-memory adapter를 이용하면 문제가 생긴다.아래 그림처럼 두 개의 socket.io 서버가 있을 때, in-memory adapter를 이용하면server A에서 server B에 연결되어있는 client들에게 메세지를 보내줄 수 없기 때..

Go 2022. 3. 3. 17:42
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바