🚀 Core Conclusion
According to test data, Redisun performs excellently in most test scenarios, especially with obvious advantages in high-concurrency and asynchronous operations. Different clients have their own characteristics in different scenarios, and the appropriate client should be selected according to specific usage scenarios.
🔧 Architectural Advantages
- Developed based on smart-socket AIO framework
- Innovative connection multiplexing technology, single connection handles multiple concurrent requests
- Significantly reduces connection overhead, performs excellently under high concurrency
⚡ Objective Performance Analysis
- Synchronous SET operations:
- Low concurrency (1-16): Jedis performs best (8322 OPS), Redisun closely follows (6041-41186 OPS)
- High concurrency (64+): Redisun performs best, reaching 88339 OPS peak at 64 concurrency
- Synchronous GET operations:
- Low concurrency (1-16): Jedis (8301 OPS) and Lettuce (6249-46040 OPS) perform better
- High concurrency (64+): Redisun performs best, reaching 65530 OPS peak at 128 concurrency
- Asynchronous SET operations:
- Redisun leads comprehensively, reaching 416666 OPS peak at 64 concurrency
- About 11 times and 5.5 times that of Redisson (37313 OPS) and Lettuce (75987 OPS) respectively
- Asynchronous GET operations:
- Redisun shows overwhelming leadership, reaching 364963 OPS peak at 64 concurrency
- About 45 times and 23 times that of Redisson (8101 OPS) and Lettuce (15547 OPS) respectively
📊 Comprehensive Evaluation
- Redisun has obvious advantages in high-concurrency scenarios, especially in asynchronous operations, but performs generally in low-concurrency scenarios
- Jedis performs excellently in low-concurrency scenarios (up to 8322 OPS), but performance drops significantly in high-concurrency scenarios (drops to 31289 OPS at 2048 concurrency)
- Lettuce performs stably and relatively balanced, performing well in medium concurrency
- Redisson performs adequately in synchronous operations, but is not recommended for high-concurrency asynchronous scenarios
🎯 Recommended Usage Scenarios
- Redisun: High-concurrency, asynchronous operations, scenarios with extremely high performance requirements
- Jedis: Low-concurrency, simple application scenarios
- Lettuce: Medium concurrency, scenarios requiring stability
- Redisson: Scenarios mainly based on synchronous operations, not recommended for high-concurrency asynchronous scenarios