강의

멘토링

로드맵

Programming

/

Back-end

Learning by creating websocket communication for high-volume chat TPS processing

This lecture will cover and implement websocket communication for chat servers used on streaming platforms such as Africa, Naver (Chijijik), and Twitch.

(4.1) 31 reviews

612 learners

  • July
서버개발자
websockets
Go
Node.js

Reviews from Early Learners

What you will learn!

  • Why use WebSocket communication?

  • Difference between HTTP communication and WebSocker communication

  • Pros and Cons of WebSockets

Twitch, Chijijik (Naver), Africa
How do you implement a chat server? 🤔


The protocol for processing this real-time data is WebSocket communication.

This is not a general HTTP communication, but a communication to reduce the overhead of persistent connections and ensure concurrency .

This tutorial provides a simple web template and aims to implement chat functionality by building a server of your choice on top of that template.


If you are a backend developer and know how to write general HTTP APIs, this is a lecture that will help you grow as a backend developer who can handle a wider variety of protocols.

I hope that through my lectures, you can once again find excitement and enjoyment in learning coding.

If you only know how to communicate with HTTP, isn't backend development over? 🤔

Students preparing for employment may have these thoughts.

However, after going through various interviews at large and medium-sized companies, passing the interviews, and working at an actual company in Pangyo,

There are no cases where development is done only for general HTTP communication.


You can either create a basic data collection module or configure a server that acts as a gateway via RPC .

For this reason, studying and implementing various protocols beyond HTTP communication is a very important factor in employment and practical work.

If you are curious about RPC communication for large TPS, please refer to my lecture below, it will be very helpful.

Why not just implement websockets with HTTP? 🤔

📌 It is possible. It is not an impossible development method.

📌 However, server developers generally need to minimize the resources on the server as much as possible.

📌 Therefore, in cases where a persistent connection must be maintained, such as a chat server, using WebSocket is very suitable.

📌 As you can see from this video, when building an actual platform, you use not only HTTP but also various protocols.

People like this will find my lectures very helpful.

I want to level up in backend development. I know HTTP through bootcamps, self-study, and majoring, but I don't know what to do next.
Backend Developer / Student

I'm curious about various network communications.
Are you curious about and want to learn about various protocols?
Aspiring developers

I'm curious about building infrastructure according to the protocol.
As a DevOps engineer, you need to consider protocols when applying load balancing.

DevOps Engineer / Student

After taking the course, you will have the following knowledge:

📌 Learning about the WebSocket protocol

📌 How to reduce the overhead of persistent communication

📌 A portfolio completed by implementing a direct chat server

📌 Knowledge to suggest opinions on new services other than HTTP protocol in practice

Learn about these things.

Our goal is to create a chat server like this.

The goal of this tutorial is to implement a chat server like the one in the video.

Provide front template

This course focuses on the backend.

That's why we provide separate front-end templates for testing and debugging.

Explaining the architecture through Draw.io

Things to be aware of when using websockets:

I will share my experience of debugging through my own experience in the field.

Bolierplate logging

Pangyo developers will teach you everything about how to boilerplate Node and handle logging with Winston.

Things to note before taking the course

Practice environment

  • The lecture is based on MacOS (M1).

  • This course uses Go and Node.js. Even if you don't know Go, you can still participate, as Node.js code is provided.


  • The IDE uses Goland and vscode.

The second lecture has opened.

Beyond covering the existing service logic, we focus on how to achieve real-world zero-downtime deployment and how to handle event streams.


We also cover how to make your service more robust through additional MySQL design.

If you are interested, please refer to the link!!

Recommended for
these people

Who is this course right for?

  • Backend developer who has only developed HTTP

  • Job seekers who are new to development

  • Developers interested in various protocols

  • For those of you who are curious about protocols as a DevOps person

Need to know before starting?

  • Go [Even if you don't know, it's okay if you know Node.Js.]

  • NodeJs [It's okay if you don't know Go.]

Hello
This is

3,558

Learners

165

Reviews

87

Answers

4.5

Rating

15

Courses

자기 소개

비전공자 출신으로 판교에서 플랫폼 서버 개발을 담당하여 진행하고 있습니다.

서버 최적화와 다양한 쿼리 튜닝을 좋아합니다.

 

경력

[前] 샌드박스 블록체인 개발자

[前] 넥슨 자회사 백엔드 개발자

[前] 판교 대기업 플랫폼 서버 개발자

[] 판교 모회사 서버 개발자

Curriculum

All

25 lectures ∙ (1hr 49min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

31 reviews

4.1

31 reviews

  • DAN님의 프로필 이미지
    DAN

    Reviews 5

    Average Rating 4.6

    3

    96% enrolled

    화면이 너무 작네요. 줌 기능을 써도 해상도가 낮아서 눈 아파 못 보겠습니다. 영상 업데이트가 안되나요? 참고 볼랬는데 눈 아파서 도저히.. ---------------------------------------- 간단하게 웹소켓에 대해서 이해할 수 있는 좋은 구성이었습니다

    • July
      Instructor

      죄송합니다. 강의 기준이 기본적으로 듀얼모니터를 사용하기 때문에 강의 폰트가 조금 작은 경향이 있습니다. 이는 제가 이런부분을 간과해서 작성이 되어서 발생한 문제입니다. ㅠㅠ 2탄 강의에서는 이러한 부분을 반영하였으니 좀 더 웹소켓 서비스에 궁금하시다면 참고해주시면 감사하겠습니다. 또한 강의 소스코드도 추후 업데이트 하도록 하겠습니다. 다시한번 강의 수강해주셔서 감사드리고 불편을 드려서 죄송합니다...!!

  • YongJun(Passion)님의 프로필 이미지
    YongJun(Passion)

    Reviews 4

    Average Rating 5.0

    Edited

    5

    100% enrolled

    소켓에 대한 이해를 할 수 있게되었습니다

    • 강창유님의 프로필 이미지
      강창유

      Reviews 2

      Average Rating 4.5

      4

      100% enrolled

      • Jeongwon님의 프로필 이미지
        Jeongwon

        Reviews 9

        Average Rating 5.0

        5

        63% enrolled

        • rnxogud123님의 프로필 이미지
          rnxogud123

          Reviews 11

          Average Rating 5.0

          5

          100% enrolled

          강의 정말 잘 들었습니다. 저는 모니터를 하나 더 사용해서 강의를 보는데 큰 불편함이 없었던 것 같습니다. http api 서버 외에 다른 서버 구성은 처음해봤는데 배울 것들이 정말 많은 것 같습니다.

          • July
            Instructor

            좋은 평 감사합니다! 아무래도 일반적으로 접하기 쉽지않은 주제로 강의를 많이 준비해보고 있습니다. 생각보다 개발하시는 분들이 다양한 경험이 없으신 경우가 많으셔서 이런 주제로 준비해보았네요 ㅎㅎ 앞으로도 좋은 개발하시길 바라겠습니다! 감사합니다 😁

        Limited time deal

        $19,800.00

        25%

        $20.90

        July's other courses

        Check out other courses by the instructor!

        Similar courses

        Explore other courses in the same field!