kappa
bfaa1d73e4
docs: update CLAUDE.md with security and performance improvements
...
- Add Security Features section
- Add Configuration section with LIMITS
- Reorganize Recent Changes by category (Architecture, Features, Security, Performance, Code Quality)
- Document prompt injection protection
- Document rate limiting fallback
- Document O(1) VPS lookup optimization
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-25 19:20:16 +09:00
kappa
b682abc45d
refactor: modularize codebase and add DB workload multiplier
...
- Split monolithic index.ts (2370 lines) into modular structure:
- src/handlers/ for route handlers
- src/utils.ts for shared utilities
- src/config.ts for configuration
- src/types.ts for TypeScript definitions
- Add DB workload multiplier for smarter database resource calculation:
- Heavy (analytics, logs): 0.3x multiplier
- Medium-heavy (e-commerce, transactional): 0.5x
- Medium (API, SaaS): 0.7x
- Light (blog, portfolio): 1.0x
- Fix tech_specs with realistic vcpu_per_users values (150+ technologies)
- Fix "blog" matching "log" regex bug
- Update documentation to reflect new architecture
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-25 17:46:16 +09:00