본문 바로가기

카테고리 없음

2020-06-12 16시 개발자 글 모음 | "Blocking I/O and non" 외 2개 이야기

2020 W22/23 Release note by 윤제상

  • Follow all the topics you care about
  • and we’ll deliver the best stories for you to your homepage and inbox


쓰레드를 구현하는 방법과 동기화 과정 by 박상윤


    Blocking I/O and non-blocking I/O by 박상윤 about Java,Spring

    • Both the client and the server has to bind itself to a socket at the end of it's connection and the server waits listening to its socket for the client to make a reuqest for a connection
    • Each thread requires a stack of memory allocated to it and with the increase number of connections
    • At any give point in time there can be multiple threads just waiting for the client requests and that is just a waste of resources