feat: 引入新的缓存框架,使用 redis 缓存大部分的数据 - #5
Merged
Merged
Conversation
caiwen666
commented
Jul 20, 2026
Member
- refactor&fix: 将可信电子凭证后台处理队列抽成一个单独的组件,同时修复潜在的 bug
- feat: 移除掉 seg_lock,引入 single flight 组件
- revert(jifen): 改回原来解决并发问题的方案,不再使用 seg_lock
- perf(user): 用户信息缓存改为后台更新
- perf(electricity): 电费缓存缩短为 4 小时
- feat: 移除了缓存中间件
- perf(course): 对从教务系统获取的课表部分进行缓存,缓存在后台更新
- perf: 超时中间件的超时时间改为 10s
- refactor&fix: 将可信电子凭证后台处理队列抽成一个单独的组件,同时修复潜在的 bug - feat: 移除掉 seg_lock,引入 single flight 组件 - revert(jifen): 改回原来解决并发问题的方案,不再使用 seg_lock - perf(user): 用户信息缓存改为后台更新 - perf(electricity): 电费缓存缩短为 4 小时 - feat: 移除了缓存中间件 - perf(course): 对从教务系统获取的课表部分进行缓存,缓存在后台更新 - perf: 超时中间件的超时时间改为 10s
oi-itsme
pushed a commit
that referenced
this pull request
Jul 27, 2026
…lock into master Reviewed-on: https://code.qnxg.cn/qnxg/back_2024/pulls/5
oi-itsme
pushed a commit
that referenced
this pull request
Jul 27, 2026
- refactor&fix: 将可信电子凭证后台处理队列抽成一个单独的组件,同时修复潜在的 bug - feat: 移除掉 seg_lock,引入 single flight 组件 - revert(jifen): 改回原来解决并发问题的方案,不再使用 seg_lock - perf(user): 用户信息缓存改为后台更新 - perf(electricity): 电费缓存缩短为 4 小时 - feat: 移除了缓存中间件 - perf(course): 对从教务系统获取的课表部分进行缓存,缓存在后台更新 - perf: 超时中间件的超时时间改为 10s
oi-itsme
pushed a commit
that referenced
this pull request
Jul 27, 2026
- refactor&fix: 将可信电子凭证后台处理队列抽成一个单独的组件,同时修复潜在的 bug - feat: 移除掉 seg_lock,引入 single flight 组件 - revert(jifen): 改回原来解决并发问题的方案,不再使用 seg_lock - perf(user): 用户信息缓存改为后台更新 - perf(electricity): 电费缓存缩短为 4 小时 - feat: 移除了缓存中间件 - perf(course): 对从教务系统获取的课表部分进行缓存,缓存在后台更新 - perf: 超时中间件的超时时间改为 10s
oi-itsme
pushed a commit
that referenced
this pull request
Jul 27, 2026
- refactor&fix: 将可信电子凭证后台处理队列抽成一个单独的组件,同时修复潜在的 bug - feat: 移除掉 seg_lock,引入 single flight 组件 - revert(jifen): 改回原来解决并发问题的方案,不再使用 seg_lock - perf(user): 用户信息缓存改为后台更新 - perf(electricity): 电费缓存缩短为 4 小时 - feat: 移除了缓存中间件 - perf(course): 对从教务系统获取的课表部分进行缓存,缓存在后台更新 - perf: 超时中间件的超时时间改为 10s
oi-itsme
pushed a commit
that referenced
this pull request
Jul 27, 2026
- refactor&fix: 将可信电子凭证后台处理队列抽成一个单独的组件,同时修复潜在的 bug - feat: 移除掉 seg_lock,引入 single flight 组件 - revert(jifen): 改回原来解决并发问题的方案,不再使用 seg_lock - perf(user): 用户信息缓存改为后台更新 - perf(electricity): 电费缓存缩短为 4 小时 - feat: 移除了缓存中间件 - perf(course): 对从教务系统获取的课表部分进行缓存,缓存在后台更新 - perf: 超时中间件的超时时间改为 10s
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.