Skip to content

daidai21/redis_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redis demo

deploy

docker-compose up -d  # 启动镜像

docker exec -it redis /bin/bash  # 进入镜像

redis-cli  # 进入客户端

# Ctrl + D  # 退出

docker-compose down  # 停止所有up命令启动的容器

docker-compose ps  # 查看正在运行中的容器

demos

  • 缓存
  • 分布式锁
  • 计数器
  • 限流
  • 频控
  • 消息队列
  • 大Key切片缓存
  • 用户打标: list、 set
  • 缓存压缩
  • 缓存雪崩预防
  • 缓存击穿预防

ref

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages