background picture of the home page

Git-03

第 3 课:创建本地仓库与第一次提交 从这一课开始正式进入 Git 核心操作。学完后,你将能够独立创建 Git 仓库、管理代码版本、查看历史记录,并真正理解 Git 的工作流程。 3.1 什么是 Git 仓库? 仓库(Repository)可以理解为: 一个由 Git 管理的项目目录 例如: my

thumbnail of the cover of the post

Git-02

第 2 课:安装 Git 与首次配置 从这一课开始正式进入实操。学完本课后,你将拥有一个可以正常使用的 Git 开发环境,并理解 Git 身份配置、配置文件、SSH 免密登录等核心知识。 2.1 安装 Git Git 是一个独立的软件。 在使用之前,需要先安装。 Windows 安装 Git 进入

thumbnail of the cover of the post

Git-01

Git 从 0 到 1 完全教程:项目实战级掌握 我会像老师上课一样,从最基础的概念讲起,每一步都配可直接复制的命令和实际项目场景,学完就能直接在团队项目中使用。 第 1 课:Git 到底是什么?为什么必须学? 1.1 什么是 Git Git 是一个分布式版本控制系统(Distributed Ver

thumbnail of the cover of the post

Redis-08

第 8 课:Redis 性能优化与最佳实践 8.1 性能优化 Redis 性能优化的核心目标是: 提高吞吐量 降低延迟 减少内存占用 提升系统稳定性 常见优化方案 优化项 说明 使用连接池 避免频繁创建和销毁连接 合理设置过期时间 及时清理过期数据 批量操作 减少网络往返次数 避免使用 Keys 防

thumbnail of the cover of the post

Redis-07

第 7 课:Redis 高可用架构 Redis 在企业级项目中不仅要求高性能,还要求高可用、高并发和高扩展性。 本章将学习: 主从复制(Master-Slave Replication) 哨兵模式(Sentinel) Redis Cluster 集群 Spring Boot 整合 Redis Clu

thumbnail of the cover of the post

Redis-06

第 6 课:Redis 常见应用场景(下) 本课重点学习 Redis 在企业项目中的高频业务场景: 计数器 排行榜 购物车 分布式限流 6.1 计数器 Redis 的原子性操作非常适合实现各种计数器功能。 常见场景: 文章阅读量 点赞数 网站访问量(PV) 用户登录次数 商品浏览次数 代码示例 @S

thumbnail of the cover of the post

Redis-05

第 5 课:Redis 常见应用场景(上) Redis 在企业项目中最常见的用途就是: 缓存 分布式锁 解决高并发问题 本课将通过实际项目案例学习 Redis 的核心应用场景。 5.1 缓存 缓存是 Redis 最常用的功能,可以显著提升系统性能,减少数据库压力。 缓存流程 客户端请求 ↓

thumbnail of the cover of the post

Redis-04

第 4 课:Redis 高级特性 4.1 持久化机制 Redis 提供两种持久化方式,防止服务器重启后数据丢失: RDB(Redis Database) 原理: 在指定的时间间隔内,将内存中的数据快照写入磁盘。 配置(redis.conf) # 900秒内至少有1个键被修改,就触发快照 save 9

thumbnail of the cover of the post

Redis-03

第 3 课:Java 客户端操作 Redis 学习目标 完成本课后,你将掌握: Java 操作 Redis 的主流方案 Jedis 的使用方法 Jedis 连接池配置 Spring Boot 整合 Redis RedisTemplate 的使用 Redis 序列化问题解决方案 Redis 工具类封装

thumbnail of the cover of the post

Redis-02

第 2 课:Redis 核心数据结构详解 学习目标 完成本课后,你将掌握: Redis 五大核心数据结构 各数据结构的底层特点 常用命令操作 项目中的典型应用场景 如何选择合适的数据结构解决业务问题 Redis 五大核心数据结构 Redis 支持 5 种核心数据结构。 这也是 Redis 区别于传统

thumbnail of the cover of the post