yasinshaw 7aa971f511 feat: add Netty and Java NIO interview questions
Added 3 comprehensive interview documents covering Netty and Java NIO:

**1. Netty Core Principles (Netty核心原理.md)**
- Core components: Channel, EventLoop, ChannelPipeline, ByteBuf
- Reactor threading model (single/multi-threaded, master-slave)
- ByteBuf vs Java NIO ByteBuffer
- Zero-copy implementation (4 approaches)
- ChannelPipeline and ChannelHandler
- TCP sticky/unpacking problem solutions
- Heartbeat mechanism

**2. Java NIO Core Principles (Java NIO核心原理.md)**
- NIO vs BIO comparison
- Three core components: Channel, Buffer, Selector
- Selector multiplexing mechanism
- Channel vs Stream differences
- Buffer core attributes and usage
- Non-blocking I/O implementation
- Zero-copy with transferTo and MappedByteBuffer

**3. Netty Practice Scenarios (Netty实战场景.md)**
- High-performance RPC framework design
- WebSocket server implementation
- Million-connection IM system architecture
- Memory leak detection and resolution
- Graceful shutdown implementation
- Heartbeat and reconnection mechanisms

Each document includes:
- Detailed problem descriptions
- Complete code examples (Java)
- Architecture diagrams
- Best practices
- Performance optimization tips
- P7-level bonus points

Total: 3 documents, covering:
- Theoretical foundations
- Practical implementations
- Production scenarios
- Performance tuning
- Common pitfalls

Suitable for backend P7 interview preparation.

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-03-06 10:20:11 +08:00

后端面试准备 - P7 级别

项目概述

这是一个用于记录和追踪后端 P7 级别面试问题和答案的项目。

目录结构

  • questions/ - 面试问题记录(按主题分类)
  • answers/ - 详细答案和知识点梳理
  • progress.md - 面试准备进度追踪

面试官设定

  • 角色:资深后端面试官
  • 目标职级P7阿里 P7 相当于资深专家/技术专家)
  • 技术栈Go/Java/Node.js、微服务、分布式系统、数据库、缓存、消息队列等

使用方式

  1. 面试官会随机提问不同领域的问题
  2. 回答后,面试官会给出参考答案和点评
  3. 所有问题和答案会记录在项目中
  4. 追踪薄弱环节,重点复习

Git 提交策略

每次面试会话后会提交一个新的 git 版本,方便追踪历史记录。

Description
No description provided
Readme 6.7 MiB
Languages
Markdown 100%