Inflearn brand logo image
Inflearn brand logo image

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) 8 reviews

221 students

Redis
redisinsights
cache
Spring
Thumbnail

This course is prepared for Basic 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 got a request to introduce caching and proceed with unit development..! 🤔

When you need to introduce caching for these feature development requests, how do you introduce it? And what tools do you use? When these new requirements come in, you should consider the following items.


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

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

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


Before introducing a system for such a new function, you should have a basic understanding of how the system works and how to utilize it. Only then can you use it properly and there will be no major difficulties in improving or maintaining the code in the future. In this lecture , assuming that you are introducing caching, you will learn about Redis , a representative caching tool , in great detail.

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

Yes, you absolutely must learn it!!

For those of you who have experience working on servers, 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.

  • There are cases where Redis is not used and other caching tools are introduced depending on the situation. However, caching tools are used by default, and the most commonly used one is Redis .


Course Features 😉

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

2⃣ redis management using redisinsights

3⃣ How to operate Slave and Master Node

4⃣ How to use redis for various types

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

What you will learn 😉

Handling the simplest collection using Redis

You can learn how to use the most frequently used Collections while using Redis and how to use functions in a general way through function abstraction.

Data implementation for actual functions using Sorted Set, 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 is no right answer for caching strategy. Instead, there is a best option. You will learn the most basic strategy and the strategy that utilizes algorithms.

Ensuring Atomicity Using Lua Script

Sending multiple commands through Redis in one function is not suitable for ensuring Atmosphere. You will send queries that ensure Atmosphere through Script.

Practical code utilizing Distributed Lock

In real practice, we operate multiple instances. In this situation, it is not correct for the client to control the Mutex.

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

Practical 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 great lecture to watch together 😉

Things to note before taking the class

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 jhong

996

Students

46

Reviews

40

Answers

4.4

Rating

6

Courses

자기 소개

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

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

 

해당 지식 공유자 계정은 Spring Boot을 주로 다루고 있습니다.

 

경력

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

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

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

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

More

Curriculum

All

25 lectures ∙ (2hr 45min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

Not enough reviews.
Become the author of a review that helps everyone!