Interactive Demos
These demos run on real backend services - not frontend mockups. Each one is based on actual production code from my projects.
Production Patterns
Real BackendRate Limit Attack
Simulate spam attacks and watch KoiRateLimiter block malicious requests in real-time. Based on paygate rate limiting.
Source: paygate/KoiRateLimiter
Suspicious User Detection
Detect potential fraudsters: users who deposit but don't bet, yet chat excessively. Real algorithm from production.
Source: transaction-realtime-tracking
Kafka Event Stream
Multi-topic Kafka consumer with auto-blocking. Watch events flow through and trigger automatic actions.
Source: auto-operation/KafkaController
Distributed Lock
Redis-based distributed lock with try-acquire pattern. Simulate node contention and scheduler lock patterns.
Source: CacheService.tryAcquireLock
Lottery WebSocket
Real-time lottery with session state machine. Place bets, watch countdown, see results - all via WebSocket.
Source: lottery-api/LotteryWebsocket
CCU Monitor
Real-time concurrent user tracking with multi-dimension aggregation by platform, game, and region.
Source: ccu-realtime-monitor
Core Patterns
ArchitecturegRPC + HTTP Fallback
Config-driven transport switching between gRPC and HTTP. Toggle transports and compare latency in real-time.
Source: auto-operation/IdServiceImpl
Processor Pattern
Command routing with annotation-based registration and level-based authorization (PUBLIC, USER, INTERNAL, ADMIN).
Source: paygate/ProcessorManager
RBAC Permission
Role-based access control with inheritance. Check endpoint access for different roles and compare permissions.
Source: backoffice/RBAC
Event Handler Registry
Event dispatch with priority-based handler execution. Publish events and watch handlers trigger in order.
Source: event-system/EventHandler