Roadmap¶
文档版本: 1.2.0 最后更新: 2026-07-14 Git 标签: v2.8.1 作者: Lincoln
This document outlines the future development plans and feature roadmap for the JAiRouter project.
Project Vision¶
JAiRouter aims to become the best open-source AI model service routing gateway, providing users with:
- Unified Access: One gateway to access all AI model services
- Intelligent Routing: Smart load balancing based on multiple strategies
- High Availability: Robust fault tolerance and recovery mechanisms
- Ease of Use: Simple configuration and comprehensive documentation
- High Performance: Support for large-scale concurrency and low-latency responses
- Observability: Comprehensive monitoring, logging, and distributed tracing
Current Version Status¶
✅ v2.7.11 (Current Stable)¶
Release Status: Released (2026-07-14) Git Tag: v2.7.11
Key Features¶
- ✅ Dashboard real-time metrics (Micrometer integration)
- ✅ Circuit Breaker adaptive threshold adjustment
- ✅ Streaming token usage recording
- ✅ STT multipart request support
- ✅ Docker image optimization (Alpine/Distroless)
- ✅ API Key quota management (quota settings, usage tracking, over-quota alerts)
- ✅ ExceptionEvent collection fix
- ✅ Request history persistence (storage, query, statistics, frontend dashboard)
- ✅ RBAC permission control (multi-user role management, resource isolation)
- ✅ UI optimization (frontend menu restructuring, permission display)
Statistics¶
- Test count: 2,600+
- Java source files: 700+
- Test files: 209+
- Codebase: ~125k LOC
✅ v2.6.11 LTS (Long-Term Support)¶
Release Status: Released (2026-04-17) Maintenance Period: Until 2028-05
Completed Features¶
- ✅ Multi-tenancy support
- ✅ API Key authentication
- ✅ JWT Token support
- ✅ OAuth 2.0 integration
- ✅ Role-Based Access Control (RBAC)
- ✅ Request/response data obfuscation
- ✅ Security audit logging
- ✅ H2 embedded database
- ✅ PostgreSQL/MySQL support
- ✅ Redis cache integration
- ✅ Prometheus metrics collection
- ✅ Grafana dashboard templates
- ✅ Distributed tracing (Zipkin/OpenTelemetry)
- ✅ Complete Docker deployment
- ✅ Kubernetes deployment support
Code Quality¶
- ✅ Checkstyle code standards
- ✅ SpotBugs static analysis
- ✅ JaCoCo test coverage reports
- ✅ 700+ unit tests
- ✅ E2E integration tests
🎯 v2.7.x - Performance Optimization Series (Q2-Q3 2026)¶
Completed¶
| Version | Date | Main Content |
|---|---|---|
| v2.7.0 | 2026-04-20 | Package structure refactoring, 6 service modules |
| v2.7.1 | 2026-04-21 | auth module independence (116 files) |
| v2.7.2 | 2026-04-22 | config module independence (~50 files) |
| v2.7.3 | 2026-04-23 | router module part 1 (adapter/loadbalancer) |
| v2.7.4 | 2026-04-24 | router module part 2 (circuit breaker/rate limit) |
| v2.7.5 | 2026-04-25 | monitor module independence (98 files) |
| v2.7.6 | 2026-04-26 | persistence module independence (49 files) |
| v2.7.7 | 2026-04-27 | common module independence (96 files) |
| v2.7.8 | 2026-04-28 | controller grouping optimization |
| v2.7.9 | 2026-04-29 | package structure completion |
| v2.7.10 | 2026-07-13 | Technical debt cleanup - large file splitting + deprecated code removal |
| v2.7.11 | 2026-07-14 | RBAC permission control + UI optimization |
Performance Improvements¶
- Route flow optimization: 20-50%
- Memory usage reduction: 15%
- Startup time reduction: 30%
⏸️ v3.0 - Microservices Architecture (Indefinitely Postponed)¶
Status: ⏸️ Postponed
The v3.0 microservices architecture transformation has been indefinitely postponed as the current monolithic architecture meets all requirements.
Feature Roadmap¶
Adapter Extensions¶
Supported ✅¶
| Adapter | Type | Status |
|---|---|---|
| GPUStack | Chat/Embedding/Rerank | ✅ |
| Ollama | Chat/Embedding | ✅ |
| vLLM | Chat | ✅ |
| Xinference | Chat/Embedding/Rerank | ✅ |
| LocalAI | Chat/Embedding | ✅ |
| OpenAI | Chat/Embedding | ✅ |
| Azure OpenAI | Chat/Embedding | ✅ |
| Anthropic Claude | Chat | ✅ |
| Alibaba Bailian | Chat/Embedding | ✅ |
| Tencent Hunyuan | Chat | ✅ |
| Baidu Cloud | Chat | ✅ |
Planned 📋¶
- 📋 Google Gemini (v2.8.x)
- 📋 Cohere API (v2.8.x)
- 📋 AWS Bedrock (v2.9.x)
Load Balancing Strategies¶
Implemented ✅¶
- ✅ Random
- ✅ Round Robin
- ✅ Weighted Round Robin
- ✅ Least Connections
- ✅ IP Hash
- ✅ Consistent Hash
Planned 📋¶
- 📋 Latency-based
- 📋 Cost-based
- 📋 Model Capability-based
Rate Limiting Algorithms¶
Implemented ✅¶
- ✅ Token Bucket
- ✅ Leaky Bucket
- ✅ Sliding Window
- ✅ Warm Up
- ✅ Adaptive Rate Limiting
Planned 📋¶
- 📋 Distributed Rate Limiting
- 📋 User-based Rate Limiting
- 📋 API Key-level Rate Limiting
Monitoring and Observability¶
Implemented ✅¶
- ✅ Prometheus metrics
- ✅ Grafana dashboards
- ✅ Health check endpoints
- ✅ Basic alert rules
- ✅ Distributed tracing (Zipkin/OpenTelemetry)
- ✅ Structured logging
Planned 📋¶
- 📋 Business metrics analysis
- 📋 Cost analysis
- 📋 Custom alert rules
Technical Architecture¶
Current Architecture (v2.7.x)¶
Architecture Evolution¶
| Phase | Version | Status |
|---|---|---|
| Foundation | v0.1 - v0.3 | ✅ Complete |
| Security | v0.4 | ✅ Complete |
| Monitoring | v0.5 | ✅ Complete |
| Performance | v2.7.x | ✅ Complete |
| Configuration | v2.8.x | 📋 Planned |
| Maintainability | v2.9.x | 📋 Planned |
| Microservices | v3.0 | ⏸️ Postponed |
Tech Stack¶
Core Technology¶
- Backend: Spring Boot 3.5.5 + WebFlux (Reactive)
- Frontend: Vue 3 + TypeScript + Element Plus
- Database: H2 (embedded) + R2DBC
- Cache: Redis (optional)
- Monitoring: Prometheus + Grafana
- Tracing: OpenTelemetry + Zipkin
Data Storage¶
- Default: H2 embedded database
- Production: PostgreSQL / MySQL
- Cache: Redis (optional)
Performance Targets¶
| Version | RPS | Latency (P95) | Availability | Connections |
|---|---|---|---|---|
| v2.6.x | 5k | < 50ms | 99.95% | 5k |
| v2.7.x | 10k | < 30ms | 99.95% | 10k |
| v2.8.x | 20k | < 20ms | 99.99% | 20k |
| Target | 100k+ | < 10ms | 99.99% | 100k+ |
Community Development¶
Current Status¶
- GitHub / Gitee dual platform hosting
- Complete user and API documentation
- Chinese/English documentation support
- MkDocs static website
Development Goals¶
- Active developer community
- Regular version releases
- More adapter support
- Complete plugin system
Release Cycle¶
| Version Type | Cycle | Description |
|---|---|---|
| LTS | 24 months | Long-term stable support |
| Feature | 1-2 months | New feature iteration |
| Patch | As needed | Bug fixes and security updates |
Contributing¶
Code Contributions¶
- Feature development and bug fixes
- Performance optimization and refactoring
- Test case writing
- Code review
Documentation Contributions¶
- User documentation improvements
- API documentation updates
- Tutorial and example writing
- Multi-language translation
Feedback Channels¶
- GitHub Issues: https://github.com/Lincoln-cn/JAiRouter/issues
- GitHub Discussions: https://github.com/Lincoln-cn/JAiRouter/discussions
- Documentation Feedback: Submit via GitHub PR
Risks and Challenges¶
Technical Risks¶
- Performance bottlenecks: Performance challenges at scale
- Compatibility: Multi-version API compatibility maintenance
- Security: Security vulnerabilities and attack protection
Market Risks¶
- Increased competition: Competition from similar products
- Technology changes: Challenges from rapid AI technology development
- User needs: Rapidly changing user requirements
Mitigation Strategies¶
- Continuous technical innovation and optimization
- Active community building and maintenance
- Flexible product strategy adjustments
- Comprehensive quality assurance system
Summary¶
JAiRouter will continue to uphold the open-source spirit and is committed to providing users with the best AI model service routing solution. We welcome community participation and contributions to jointly promote the project's development and progress.
Recent Focus (2026)¶
- ✅ Complete v2.7.x performance optimization series + RBAC permission control
- 📋 Advance v2.8.x configuration management optimization + new adapters (Gemini/Cohere/Bedrock)
- 📋 Plan v2.9.x maintainability improvements
- 📋 Explore v4.0 new features
Long-term Vision¶
- Become the standard in AI model routing
- Build a complete ecosystem
- Achieve enterprise-level commercial success
- Drive industry technology development
最后更新: July 14, 2026
For any suggestions or ideas, feel free to communicate with us via GitHub Discussions.