
Java client for Valkey & Redis
Freemium
Redisson is a high-performance Java client for Valkey and Redis, offering a comprehensive set of distributed objects and services. It simplifies the interaction with Valkey and Redis, allowing developers to focus on application logic rather than low-level details. Unlike other clients, Redisson provides a unified API model, supporting synchronous, asynchronous, reactive, and RxJava3 interfaces. This cross-vendor compatibility extends to various Valkey and Redis providers, including Amazon ElastiCache, Azure Cache for Redis, and Redis Enterprise. Redisson excels in distributed data management, caching, microservices integration, and web session management, making it ideal for building scalable and fault-tolerant applications. Developers, architects, and DevOps engineers benefit from its ease of use and robust feature set.
Provides a consistent API across various Valkey and Redis implementations, including synchronous, asynchronous, reactive, and RxJava3 interfaces. This abstraction simplifies development by allowing developers to switch between different Redis providers without significant code changes. It supports diverse application needs, from simple synchronous operations to complex reactive streams, improving code maintainability and flexibility.
Offers a rich set of distributed objects like maps, sets, queues, locks, and counters, built on top of Valkey and Redis. These objects are designed for high performance and fault tolerance in distributed environments. For example, `RMap` provides a distributed map with features like eviction policies and optimistic locking, and `RLock` offers distributed locking mechanisms with configurable timeouts.
Seamlessly integrates with popular caching frameworks like Spring Cache, Hibernate 2nd Level Cache, JCache (JSR-107), Quarkus, and Micronaut. This integration allows developers to leverage Valkey and Redis as a caching layer with minimal code changes. For instance, using `@Cacheable` annotation in Spring Boot to cache method results in Redis.
Facilitates easy integration with microservices architectures through support for Spring Boot, Quarkus, Micronaut, and Helidon. It enables communication between microservices using Valkey and Redis for pub/sub messaging, distributed locking, and session management. This promotes loose coupling and improves the scalability and resilience of microservices-based applications.
Provides simplified Valkey and Redis-based session management for web applications, supporting Apache Tomcat, Spring Session, and Micronaut Session. This enables session clustering and load balancing across application nodes, improving application scalability and availability. Sessions are stored in Redis, allowing for easy access and management across multiple instances.
Works with various Valkey and Redis providers, including Amazon ElastiCache, Azure Cache for Redis, Redis Enterprise, Redis Cloud, Google Cloud Memorystore, Aiven for Caching/Valkey, Redis on SAP BTP, and IBM Cloud Databases for Redis. This flexibility allows developers to choose the best Redis provider for their needs without being locked into a specific vendor.
<dependency><groupId>org.redisson</groupId><artifactId>redisson</artifactId><version>3.27.0</version></dependency>.,2. Configure a Redisson client. Use Config config = new Config(); config.useSingleServer().setAddress("redis://127.0.0.1:6379"); for a single Redis instance.,3. Instantiate a RedissonClient: RedissonClient redisson = Redisson.create(config);,4. Access distributed objects. For example, to get a map: RMap<String, String> map = redisson.getMap("myMap");,5. Perform operations on the distributed object. map.put("key", "value"); String value = map.get("key");,6. Shutdown the client when done: redisson.shutdown();Developers use Redisson to scale Java applications by leveraging Valkey and Redis-based objects, collections, and services. They implement distributed locks for resource synchronization, distributed queues for task processing, and caching for performance optimization, resulting in improved application throughput and responsiveness, especially under heavy load.
Java developers use Redisson to implement caching solutions for their applications. They integrate Redisson with frameworks like Spring Cache or JCache to store frequently accessed data in Valkey and Redis. This reduces database load, improves response times, and enhances the overall user experience by serving data faster.
Architects and developers modernize legacy systems by integrating Redisson with Valkey and Redis. They replace outdated infrastructure with a scalable and high-performance solution for real-time data needs. This transformation improves system performance, reduces operational costs, and enables the adoption of modern application architectures.
Data engineers and developers use Redisson to process large amounts of data stored in Valkey and Redis. They leverage distributed Java tasks with scheduling and parallel execution capabilities. This allows them to efficiently handle complex data processing workloads, improving processing speed and resource utilization.
Java developers benefit from Redisson's easy-to-use API and comprehensive features for interacting with Valkey and Redis. It simplifies the development of distributed applications, caching solutions, and microservices, allowing them to focus on business logic rather than low-level infrastructure details.
Architects use Redisson to design scalable and resilient systems. They leverage its distributed objects, caching integrations, and session management capabilities to build robust applications that can handle high traffic volumes and complex data processing requirements.
DevOps engineers use Redisson to manage and optimize Valkey and Redis deployments. They benefit from its cross-vendor compatibility, monitoring capabilities, and integration with popular frameworks, which simplifies the deployment, monitoring, and maintenance of Valkey and Redis-based applications.
Data engineers utilize Redisson for building real-time data pipelines and processing large datasets stored in Valkey and Redis. They leverage its distributed computing capabilities and caching features to improve data processing speed and efficiency.
Redisson PRO Community Edition is free (Apache 2.0). Redisson PRO offers paid solutions with custom pricing. Contact sales for details. Includes support and additional features.