A comprehensive Redis client library for Delphi supporting all Redis commands, mobile platforms, and Linux.
Delphi Redis Client is a native Redis client library for Delphi applications that enables developers to interact with Redis servers directly from Delphi code. It provides a comprehensive interface covering all Redis commands, from basic key-value operations to advanced features like streams and geospatial queries. The library solves the problem of integrating Redis—a popular in-memory data store—into Delphi projects without relying on external wrappers or unstable bindings.
Delphi developers building applications that require Redis integration, particularly those working on cross-platform projects targeting Windows, mobile, or Linux. It's also suitable for developers using the DelphiMVCFramework, which incorporates this client.
Developers choose Delphi Redis Client because it offers full Redis command support with a native Delphi interface, cross-platform compatibility, and the flexibility to swap the underlying TCP/IP library. Its unit-tested reliability and seamless integration with Delphi's type system make it a robust choice over manual TCP implementations or less feature-complete alternatives.
Redis client for Delphi
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Implements all Redis commands, including advanced features like streams and geospatial queries, as evidenced by the comprehensive IRedisClient interface with methods for every data type.
Supports Windows, mobile platforms, and Linux since Delphi 10.2 Tokyo, enabling seamless development across targets without rewriting Redis integration code.
Uses INDY by default but allows swapping with any TCP/IP library via the IRedisNetLibAdapter interface, providing adaptability to different project requirements.
Offers a clean, Delphi-centric interface with specialized methods for common operations and 1-1 command mappings, making Redis integration straightforward for Delphi developers.
Each feature is thoroughly unit tested, ensuring robustness and stability for production use, as mentioned in the README's emphasis on testing.
Only compatible with Delphi 10.1 Berlin and above; older versions require using a separate branch (Version 1), which may be less maintained and lack newer features.
The library appears synchronous in its interface, lacking native asynchronous methods, which could hinder performance in non-blocking or high-throughput applications.
The README admits that high-level methods for patterns like JSON object pushing are 'planned' but not yet implemented, leaving developers to handle serialization manually.
While flexible, swapping the TCP/IP library via IRedisNetLibAdapter requires implementing the interface from scratch, adding significant setup complexity compared to drop-in solutions.