Commit Graph

11 Commits

Author SHA1 Message Date
admin 7e42d04fde added more comprehensive unit test cases 2025-12-16 11:18:35 +08:00
admin 7d6efecb41 added unit testing 2025-12-16 10:57:26 +08:00
admin 1b6f63e6ac cleaned 2025-12-16 10:13:24 +08:00
admin 0d8f5b9600 feat: implement horizontal scaling optimizations for authz service
- Add /health and /ready endpoints for load balancer health checks
- Replace in-memory JWT token cache with Redis for multi-replica support
- Reduce DB connection pool from 100 to 25 connections per replica
- Add distributed rate limiting (100 req/min + 20 burst) using Redis
- Implement circuit breakers for DB and Redis to prevent cascading failures

This enables the service to scale horizontally with multiple replicas
behind a load balancer without exhausting database connections or
maintaining separate token caches per instance.
2025-12-16 10:03:18 +08:00
admin ee8079e65c changed icon of passed 2025-12-15 14:32:42 +08:00
admin 17c6a51559 suppress warning since this is a false positive 2025-12-15 13:53:50 +08:00
admin 15deba4584 fixed multiple roles in 1 policy 2025-12-15 13:24:16 +08:00
admin 5743dbf22d fixed authorization 2025-12-09 15:42:35 +08:00
admin ca49e8e24b fix all issues 2025-12-04 10:59:46 +08:00
admin e4946b7ad7 cleaned 2025-12-04 10:56:54 +08:00
admin 60992c1e44 init 2025-12-04 10:55:25 +08:00