Getting Started
Creating a KeyDB Service
You can create a KeyDB service using:- Zerops GUI - Through the web interface when adding a new service to your project
- zCLI - Using the command-line interface
- Import - Via a YAML configuration file
Example Configuration
Connection Methods
Connect from Same Project
Services within the same Zerops project can connect to KeyDB using internal DNS:Connect Remotely
For remote connections, use Zerops VPN to securely access your KeyDB instance.Managing Your Database
KeyDB provides a Redis-compatible interface for all database operations. You can:- Use any Redis client library
- Execute Redis commands directly
- Manage keys and data structures
- Monitor performance metrics
Using Redis CLI
Connect via VPN and use the Redis CLI:Use Cases
KeyDB is suitable for:- High-performance caching - Leverage multithreading for improved throughput
- Session storage - Fast read/write access for user sessions
- Real-time analytics - Track metrics and counters
- Message queues - Pub/sub patterns for event distribution
- Rate limiting - API request throttling
Popular Guides
- zCLI - Get even more out of Zerops with the command-line tool
- Zerops VPN - Connect to your KeyDB service securely
- Environment Variables - Configure your application connections
Migration to Valkey
If you’re considering migrating from KeyDB to Valkey:- Both are Redis-compatible, so client code requires minimal changes
- Export your data using Redis dump/restore commands
- Create a new Valkey service in Zerops
- Import your data to the new service
- Update your application connection strings