강의

멘토링

커뮤니티

Programming

/

Database

How to use Redis effectively, based on my experience working at a large company [Practice]

In this course, rather than covering the theory directly, you will learn how to use Redis effectively in your code through hands-on practice.

(4.1) 13 reviews

308 learners

  • Hong
3시간 만에 완강할 수 있는 강의 ⏰
실습 중심
시리즈
실무경험
Redis
redisinsights
cache
Spring

Reviews from Early Learners

What you will gain after the course

  • How to write Redis source code using Spring

  • The most basic Set in Redis

  • Handling ranking data using Redis

  • Implementing a caching strategy using Redis

I've received a request to implement caching and proceed with unit development..! 🤔

When you need to implement caching for these feature development requests, how do you implement it? And what tools do you use? When faced with such a new requirement, you'll need to consider the following:


[1] 🤔 Which caching tool should I introduce??

[2] 🤔 There is something called a caching strategy.. but which strategy should I use??

[3] 🤔 Do you have enough time?? I need time due to the learning curves.


Before implementing a system for such a new feature, you need a basic understanding of how it works and how to utilize it. This is essential for proper use and to avoid major difficulties in future code improvements and maintenance. In this lecture, we'll assume you're implementing caching and delve into Redis , a leading caching tool.

Redis... Do I really need to know it?? 🤔

Yes, you absolutely must learn it!!

For those who have practical experience working on a server, a database is essential , but there is absolutely no case where redis is not used.

Introducing a cache using Redis is an essential element in platform development.

  • In some cases, Redis is not used and other caching tools are introduced depending on the situation. However, caching tools are used by default, and Redis is the most widely used.


Lecture Features 😉

1⃣ Configuring APIs using Spring , Spring Boot , and Java

2⃣ redis management using redisinsights

3⃣ How to operate a Slave or Master Node

4⃣ How to use redis for various types

5⃣ How to use various redis services using Mutex Key and Script

What you'll learn 😉

Handling the simplest collection using Redis

While using Redis, you can learn how to use the most frequently used Collections and how to use functions universally through function abstraction.

Data implementation for actual functions using sorted sets, etc.

You can learn how to implement actual functions by utilizing Collections that can be used to implement specific functions.

The most basic caching strategy and PER strategy for cache hits

There's no right answer when it comes to caching strategies. Instead, there are optimal options. You'll learn both the most basic strategies and strategies utilizing algorithms.

Ensuring Atomicity Using Lua Script

Sending multiple commands through Redis in a single function is not suitable for ensuring atomicity. Instead, send queries that ensure atomicity through scripts.

Practical code utilizing distributed locks

In real-world practice, multiple instances are operated. In such situations, it is incorrect for a client to control the mutex.

You will learn how to control locks between multiple instances using Redis.

Practice example 😉

How to set up and operate Master and Slave Redis Nodes directly

I/O optimization using Redis Pipeline

Atmosphere data processing using Redis Script

A good lecture to watch together 😉

Things to note before taking the course

Practice environment

  • The lecture was filmed on MacOs M1.

  • java 17 2021-09-14 LTS version was used.

  • We used VsCode , which everyone is familiar with, as our IDE.

Recommended for
these people

Who is this course right for?

  • For those of you who are wondering why and how to use Redis

  • For those who dream of becoming a backend developer

  • For those who are curious about the methods used by practitioners rather than the methods known to everyone

Hello
This is

4,680

Learners

341

Reviews

120

Answers

4.7

Rating

18

Courses

자기 소개

집에서 빈둥대다 개발에 흥미를 느껴 개발 공부를 시작하였고 현재는 판교에서 플랫폼 서버 개발을 담당하여 진행하고 있습니다.

 

제가 공부를 했던 방법과 실무에서 접하실 수 있는 여러가지 문제점들과 해결책을 여러분들에게 제공하고 싶어 지식공유자 활동을 이어나가고 있습니다.

 

강의는 오로지 저만의 지식을 통해 만들어지지 않습니다. 모든 강의는 함께하시는 분들이 계십니다.

 

지식공유자 경력

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

[前] 메타버스 백엔드 개발자

[] 판교에서 고여가는 서버 개발자

 

인터뷰 이력

Curriculum

All

25 lectures ∙ (2hr 45min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

13 reviews

4.1

13 reviews

  • yuhojin8037329님의 프로필 이미지
    yuhojin8037329

    Reviews 6

    Average Rating 5.0

    5

    60% enrolled

    This is a good lecture that even beginners can listen to, and it may be repetitive, but I think it's a good lecture that builds the lecture together by actually writing each one. I haven't seen a lecture that actually operates Redis and handles Ping for each node, and it was a concept I had never seen before, so it was very useful. This lecture uses Spring, but I think it can be evaluated as a very good lecture even if you just learn the conceptual part. - So I actually followed along in the language I use and implemented it myself. Thank you for sharing a good lecture!

    • jhong
      Instructor

      Thank you for leaving a good review. Redis is a tool that is widely used in practice. So if you know it in detail and master various usage methods, it will be very helpful. In fact, if you master all the content I teach you, I think you will not have any difficult or unknown parts when working with Redis in the future. In fact, the lecture was filmed based on the method I use. I hope you will have good development and fun development in the future. Thank you :)

  • jukas5985 [DEL] 250815201525님의 프로필 이미지
    jukas5985 [DEL] 250815201525

    Reviews 14

    Average Rating 4.9

    5

    60% enrolled

    I think this is the first lecture that delves into Redis in such detail in code. It was impressive that he actually implemented the caching strategy and its advantages and disadvantages, rather than just talking about it, using Spring and Java code that I was somewhat familiar with. Personally, I think it was very helpful. It was a lecture that I felt tried to explain in a more familiar and easy-to-understand way, rather than wrapping it up in difficult terms. Thank you for the great lecture, instructor.

    • jhong
      Instructor

      Hello, I've covered the theoretical part, but I wanted to tell you how to write actual code. Thank you for leaving a good comment.

  • de님의 프로필 이미지
    de

    Reviews 10

    Average Rating 5.0

    5

    60% enrolled

    The code is very simple and I think it's a good lecture for beginners. More importantly, I think it's the various uses that the instructor explains. I think there will be some people who won't be satisfied if they just look at the code without listening.

    • jhong
      Instructor

      There is nothing difficult about the code that handles Redis. It is because it is used very limitedly and because repetitive logic is applied in fact. The problem is how to use Redis. I think it will be very helpful in actual practice if you know the nature of single-threading and can implement various forms. Thank you for leaving a good review.

  • sindong942523090님의 프로필 이미지
    sindong942523090

    Reviews 12

    Average Rating 4.7

    3

    36% enrolled

    It's a pity that there is no explanation about why to configure a slave node.

    • jhong
      Instructor

      Hello, thank you for your review!! I thought I had briefly explained why to configure a slave node, but I guess there was something missing. The reason you need to use a slave node is as a replacement in case the existing main node is unavailable. This structure is also called high availability. To put it simply, I think you can think of it as a replacement for the main node. Thank you for your review!

  • royle7301585님의 프로필 이미지
    royle7301585

    Reviews 4

    Average Rating 4.0

    3

    32% enrolled

    Limited time deal ends in 6 days

    $26,950.00

    30%

    $29.70

    Hong's other courses

    Check out other courses by the instructor!

    Similar courses

    Explore other courses in the same field!