No description
Find a file
guochao ef1233cb76
Some checks failed
build container / build-container (push) Failing after 3s
run go test / test (push) Failing after 6s
feat: 实现内存存储自动内存管理功能
- 添加延迟保存机制,文件在 Close 时根据大小和内存状况决定是否保存
- 实现智能 LRU 淘汰算法,支持自动清理和空间管理
- 优化 LRU 性能,添加反向映射将淘汰算法从 O(n) 优化到 O(1)
- 扩展配置支持,添加 MaxFileSize 字段支持单文件大小限制
- 完善路径处理,所有路径操作添加 filepath.Clean 调用
- 增强跨平台兼容性,Windows 跳过 X-Accel-Redirect 测试
- 更新文档记录内存管理实现细节和技术要点
- 完善测试覆盖,添加平台特定测试用例

主要解决了内存存储模式下 LRU cache 无法自动清理和内存限制的问题。
2025-10-18 20:16:31 +08:00
.gitea/workflows fix pipeline 2025-09-28 12:39:27 +08:00
cmd/proxy feat: complete storage interface refactoring with filesystem-like abstraction 2025-10-16 20:43:02 +08:00
memory-bank feat: 实现内存存储自动内存管理功能 2025-10-18 20:16:31 +08:00
pkgs feat: 实现内存存储自动内存管理功能 2025-10-18 20:16:31 +08:00
scripts feat: enhance PowerShell script to pass unrecognized parameters to proxy.exe 2025-10-16 16:02:40 +08:00
.clinerules feat: integrate to Windows service management 2025-10-16 09:42:08 +08:00
.dockerignore update docker files 2024-12-18 14:18:47 +08:00
.gitignore feat: enhance PowerShell script to pass unrecognized parameters to proxy.exe 2025-10-16 16:02:40 +08:00
compose.release.yaml add pprof handler 2025-03-03 00:26:29 +08:00
compose.yaml add pprof handler 2025-03-03 00:26:29 +08:00
config.go feat: 实现内存存储自动内存管理功能 2025-10-18 20:16:31 +08:00
config.yaml feat: implement memory storage backend with LRU eviction policy 2025-10-16 09:42:18 +08:00
Dockerfile fix pipeline 2025-09-28 12:39:27 +08:00
go.mod feat: integrate to Windows service management 2025-10-16 09:42:08 +08:00
go.sum feat: integrate to Windows service management 2025-10-16 09:42:08 +08:00
server.go feat: 实现内存存储自动内存管理功能 2025-10-18 20:16:31 +08:00
server_test.go feat: 实现内存存储自动内存管理功能 2025-10-18 20:16:31 +08:00