세 패턴은 서로 다른 소켓을 연다

한 process가 세 구성을 모두 쓰면 listener도 따로 생긴다

세 패턴은 서로 다른 소켓을 연다 한 process가 세 구성을 모두 쓰면 listener도 따로 생긴다 내 process · 세 구성을 모두 쓴다 · Architecture component 내 process 세 구성을 모두 쓴다 ROUTER :7201 · MeshNode 1개 · Architecture component ROUTER :7201 MeshNode 1개 listener :7211 · ClientServer channel · Architecture component listener :7211 ClientServer channel PUB :7212 · Fanout publisher · Architecture component PUB :7212 Fanout publisher peer node · channel 여럿이 공유 · Architecture component peer node channel 여럿이 공유 client · 이 주소로 연결 · Architecture component client 이 주소로 연결 subscriber · SUB 소켓 · Architecture component subscriber SUB 소켓 mesh 연결 1개 channel 전용 PUB/SUB

channel을 늘려도 소켓은 늘지 않는다 — RouteMesh만

  • • RouteMesh는 MeshNode마다 ROUTER listener 하나를 열고 그 위의 모든 channel이 같은 연결을 공유한다. ChannelName을 추가해도 socket이나 node 간 연결은 늘지 않는다.
  • • ClientServer는 channel마다 자기 listener를 열고, Fanout은 PUB/SUB 소켓 쌍을 따로 연다. 둘 다 mesh 연결을 쓰지 않는다.