Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[pull] master from Snailclimb:master #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
pull merged 1 commit into jamxe:master from Snailclimb:master
Dec 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions README.md
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@
- [Spring和Spring Boot常见面试题总结](./docs/system-design/spring.md)
- [设计模式常见面试题总结](./docs/system-design/design-pattern.md)

## 测试开发

- [测试开发常见面试题总结](./docs/other/test-development.md)

## 公众号

如果大家想要实时关注我更新的文章以及分享的干货的话,可以关注我的公众号。

<img src="https://oss.javaguide.cn/github/javaguide/gongzhonghao-javaguide.png" alt="JavaGuide 公众号" style="zoom: 43%; display: block; margin: 0 auto;" />



16 changes: 9 additions & 7 deletions docs/.vuepress/sidebar/index.ts
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,12 @@ export default sidebar({
"java-jvm",
],
},
{
{
text: "计算机基础",
icon: "computer",
collapsible: false,
prefix: "cs-basics/",
children: [
"network",
"operating-system",
"data-structure",
"algorithms",
],
children: ["network", "operating-system", "data-structure", "algorithms"],
},
{
text: "数据库和缓存",
Expand All @@ -62,5 +57,12 @@ export default sidebar({
prefix: "system-design/",
children: ["spring", "design-pattern"],
},
{
text: "测开",
icon: "framework",
collapsible: false,
prefix: "other/",
children: ["test-development"],
},
],
});
16 changes: 14 additions & 2 deletions docs/.vuepress/theme.ts
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import sidebar from "./sidebar/index.js";
const __dirname = getDirname(import.meta.url);

export default hopeTheme({
hostname: "https://javaguide.cn/",
hostname: "https://interview.javaguide.cn/",
logo: "/logo.png",
favicon: "/favicon.ico",

Expand All @@ -16,7 +16,7 @@ export default hopeTheme({
url: "https://javaguide.cn/article/",
},

repo: "https://github.com/Snailclimb/JavaGuide",
repo: "https://github.com/Snailclimb/JavaGuide-Interview",
docsDir: "docs",
pure: true,
focus: false,
Expand All @@ -33,6 +33,18 @@ export default hopeTheme({
align: true,
codeTabs: true,
gfm: true,
include: {
resolvePath: (file, cwd) => {
if (file.startsWith("@"))
return path.resolve(
__dirname,
"../snippets",
file.replace("@", "./"),
);

return path.resolve(cwd, file);
},
},
tasklist: true,
},

Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ JavaGuide 已经持续维护 6 年多了,累计提交了接近 **6000** commit

最新更新会第一时间同步在公众号,推荐关注!另外,公众号上有很多干货不会同步在线阅读网站。

![JavaGuide 官方公众号](https://oss.javaguide.cn/github/javaguide/gongzhonghaoxuanchuan.png)
<img src="https://oss.javaguide.cn/github/javaguide/gongzhonghao-javaguide.png" alt="JavaGuide 公众号" style="zoom: 43%; display: block; margin: 0 auto;" />
2 changes: 2 additions & 0 deletions docs/cs-basics/network.md
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -729,3 +729,5 @@ ARP 协议,全称 **地址解析协议(Address Resolution Protocol)**,
### ARP 协议的工作原理?

[ARP 协议详解(网络层)](https://javaguide.cn/cs-basics/network/arp.html)

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/cs-basics/operating-system.md
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -816,3 +816,5 @@ LRU 算法是实际使用中应用的比较多,也被认为是最接近 OPT
4. **循环扫描算法(Circular Scan,C-SCAN)**:SCAN 算法的变体,只在磁盘的一侧进行扫描,并且只按照一个方向扫描,直到到达磁盘边界,然后回到磁盘起点,重新开始循环。
5. **边扫描边观察算法(LOOK)**:SCAN 算法中磁头到了磁盘的边界才改变移动方向,这样可能会做很多无用功,因为磁头移动方向上可能已经没有请求需要处理了。LOOK 算法对 SCAN 算法进行了改进,如果磁头移动方向上已经没有别的请求,就可以立即改变磁头移动方向,依此往复。也就是边扫描边观察指定方向上还有无请求,因此叫 LOOK。
6. **均衡循环扫描算法(C-LOOK)**:C-SCAN 只有到达磁盘边界时才能改变磁头移动方向,并且磁头返回时也需要返回到磁盘起点,这样可能会做很多无用功。C-LOOK 算法对 C-SCAN 算法进行了改进,如果磁头移动的方向上已经没有磁道访问请求了,就可以立即让磁头返回,并且磁头只需要返回到有磁道访问请求的位置即可。

<!-- @include: @article-footer.snippet.md -->
2 changes: 2 additions & 0 deletions docs/database/mysql.md
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -995,3 +995,5 @@ MySQL 性能优化是一个系统性工程,涉及多个方面,在面试中
**5.总结**

在面试中,建议按优先级依次介绍慢 SQL 定位、索引优化、表结构设计和 SQL 优化等内容。架构层面的优化,如读写分离和分库分表、数据冷热分离应作为最后的手段,除非在特定场景下有明显的性能瓶颈,否则不应轻易使用,因其引入的复杂性会带来额外的维护成本。

<!-- @include: @article-footer.snippet.md -->
2 changes: 1 addition & 1 deletion docs/database/redis.md
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -1725,5 +1725,5 @@ Bloom Filter 会使用一个较大的 bit 数组来保存所有的数据,数
6. 控制 key 的生命周期:避免 Redis 中存放了太多不经常被访问的数据。
7. ......


<!-- @include: @article-footer.snippet.md -->

6 changes: 5 additions & 1 deletion docs/home.md
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,14 @@ title: Java 学习&面试指南(Go、Python 后端面试通用,计算机基础
- [Spring和Spring Boot常见面试题总结](./system-design/spring.md)
- [设计模式常见面试题总结](./system-design/design-pattern.md)

## 测试开发

- [测试开发常见面试题总结](./other/test-development.md)

## 公众号

如果大家想要实时关注我更新的文章以及分享的干货的话,可以关注我的公众号。

![JavaGuide 官方公众号](https://oss.javaguide.cn/github/javaguide/gongzhonghaoxuanchuan.png)
<img src="https://oss.javaguide.cn/github/javaguide/gongzhonghao-javaguide.png" alt="JavaGuide 公众号" style="zoom: 43%; display: block; margin: 0 auto;" />

<!-- #endregion home -->
Loading

AltStyle によって変換されたページ (->オリジナル) /