Skip to content

Socket 방식의 통신 -> 병목 현상 #7

Open

Description

@60jong
  • Tunneling Server 는 Tunnel Client와의 pipe(socket)이 하나 존재 (메모리 때문에 하나만 유지하자)
  • server와 client 모두 Socket에 write하는 BufferedReader는 synchronized로 인해 blocking 병목 발생
    • 때문에 스크린샷 2024-01-21 234659
      간단한 GET 요청에도 Request 유실

request / response를 주고 받는 과정을 non blocking 방식으로 변경...
Socket IO Stream -> Message Queue

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions