강의

멘토링

로드맵

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.0) 12 reviews

279 learners

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

Reviews from Early Learners

What you will learn!

  • 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

3,406

Learners

260

Reviews

101

Answers

4.6

Rating

16

Courses

자기 소개

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

 

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

 

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

 

지식공유자 경력

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

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

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

 

인터뷰 이력

Curriculum

All

25 lectures ∙ (2hr 45min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

12 reviews

4.0

12 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.

  • khd16927573님의 프로필 이미지
    khd16927573

    Reviews 12

    Average Rating 5.0

    5

    96% enrolled

    I enjoyed the lecture, instructor! I listened to the theory part maybe two weeks ago, but I kept putting it off and finally finished the practical part just now... Honestly, for the last Lua script part, I stopped typing along and just watched the lecture... 😊😊 (Oh, so this exists... but I probably won't use it right away...? 😊😊..) Overall, I think the lecture is good for developers with no experience when integrating Redis with Spring Boot! True to the instructor's philosophy of providing a broad direction, just like your reply to my comment on the theory lecture last time, I think I've grasped the flow regarding redisTemplate / lua script / distribution lock! But as the instructor said, ultimately you have to study on your own, so based on this broad flow, I need to encounter more references and write actual code to apply Redis well in practice! (This part might be helpful for those considering taking the lecture! Rather than learning everything from A to Z, it's a lecture that teaches the big picture!) Because at my company, I was only using Redis as a simple means of asynchronous communication... (If the server I manage is A / and the server to integrate with is B) it's in the format where A reads values from the DB -> puts them into Redis as a hash -> and B reads them at the desired interval) Since I want to know more about typical use cases like caching / distributed locks, I think I need to study more ^^ Then I'll see you in the lecture [Job Search Story of an Idling Job Seeker and Server Optimization & System Design]~

    • jhong
      Instructor

      Hello Yoni~! Thank you so much for leaving such a sincere review!! It seems like you're going through my lectures one by one and leaving feedback, which makes me feel a bit shy but also very grateful. For this lecture, I actually wanted to cover it very simply at first. As a result, I covered parts like simple APIs, but as I went on, I got ambitious thinking it would be good to know things like this too, so it tended to get gradually more difficult towards the end 😭😭😭 Still, I hope it was of great help. To be using Redis as an event stream model at your company!! I think it's a very good form for a simple service. I believe this is a form where you can implement loose coupling between services. I am using that pattern to pass data received from an event published by A to B, and I am using it in a similar way to Yoni 😊😊 The next lecture covers my personal stories and more theoretical aspects and things worth considering, so I think it might be a lecture that is quite subjective... Still, I hope it will be of great help. I'll come back with even better lectures next time. Thank you very much!!

  • hoos983485067님의 프로필 이미지
    hoos983485067

    Reviews 10

    Average Rating 5.0

    5

    92% enrolled

    I thought I knew a little about Redis... but I realized I only knew a little. First of all, it was amazing to implement the Slave Node directly, and in addition, the function itself is written simply. However, I think the content you are talking about is very useful, and when I listened to the end, I learned about caching strategies and various methods that I did not expect, I think this process was a great help to me. Personally, I think the last content was the most helpful. Thank you for the good lecture :)

    • jhong
      Instructor

      The code itself is simple, but using and applying Redis is very diverse. I hope you will know and use these parts and become a good developer in actual practice. Thank you for leaving a comment!

$29.70

Hong's other courses

Check out other courses by the instructor!

Similar courses

Explore other courses in the same field!