[Open Source] A lightweight Redis client developed based on smart-socket, designed for the Java platform
Open SourceClassification Systems
![[Open Source] A lightweight Redis client developed based on smart-socket, designed for the Java platform](https://yy123.ink/api/img/1782608970273-7c7cuq.jpg)
1. Project Overview

Redisun is a lightweight Redis client developed based on smart-socket, specifically designed for the Java platform. It supports asynchronous, non-blocking I/O operations and provides high-performance Redis connections and command execution.
Redisun is continuously expanding its support for Redis commands. For the complete command list and support status, please refer to our View Supported Commands page.
2. Open Source License
Licensed under Apache-2.0
3. Screenshots


4. Feature Overview
Features
- Lightweight
The core code consists of only a few classes, and the JAR package is just 50 KB - High Performance
Built on smart-socket Java AIO, offering strong single-threaded processing capabilities - Connection Reuse
A single connection can handle multiple concurrent requests - Extensible
Provides a simple and easy-to-use command extension interface for adding custom Redis commands
Core Components
- Redisun
Core client class providing connection management and command execution - Command
Abstract base class for Redis commands, supporting custom command extensions - RESP
Redis serialization protocol parser supporting multiple data types - RedisMessageProcessor
Message handler responsible for parsing Redis server responses - RedisSession
Session manager that maintains session state between the client and server - RedisunOptions
Client configuration options class for setting connection parameters
5. Tech Stack
Installation
Maven
Gradle
Quick Start
Basic Usage
Advanced Usage of the SET Command
Advanced Configuration
Build and Test
Make sure Maven is installed, then run the following command:
Run tests:
下载地址 免费
评论