개구리 탈출하기

  • 홈
  • 태그
  • 방명록

golang 1

[Concurrency-5] Fan-Out, Fan-In

Best Practices for constructing Pipelines(이어서) Generator: data set을 stream of data on a channel 로 만드는 것이다. channel을 사용함으로써 함수를 사용해서 할 때와 다른 점은 value를 추출하기 위해서 range statement 를 사용할 수 있고, 이를 통해 안전하고 concurrent 하게 사용할 수 있다. 이렇게 각각의 value들뿐만 아니라 pipeline 단계 별로도 concurrent 하다. 단계가 독립적으로 실행된다고 보면 된다. 예시에서 나오는 stage들은 공통으로 사용하는 done channel과 다음 스테이지로 전달되는 channel 에 의해서 interconnected 되어 있다. preemptabl..

Backend with Golang 2023.09.12
이전
1
다음
더보기
프로필사진

  • 분류 전체보기 (42)
    • Collaborative Editing (7)
    • Backend with Golang (28)
    • Frontend (React) (4)
    • React Native with Typescrip.. (3)

Tag

WebSocket Server, WebRTC, imagePicker, Image Upload, IOS, MySQL, concurrency, CRDT, tldraw, reactnative, go, waitgroup, YJS, indexdb, fanoutfanin, multiplayer drawing app, solidjs, Collaborative editing, http server, managing state,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바