HPKV Overview
HPKV Overview
HPKV is a high-performance key-value store that provides fast, reliable, and scalable data storage through simple APIs. It offers three powerful ways to interact with your data: REST API, WebSocket API, and RIOC (Remote IO Control).
REST API
The REST API provides a simple HTTP-based interface for interacting with HPKV. It's ideal for:
- Traditional web applications
- Mobile app backends
- Simple CRUD operations
- When you need broad language and framework support
The REST API supports all basic operations including inserting, retrieving, updating, and deleting key-value pairs.
WebSocket API
The WebSocket API offers a persistent connection for high-performance operations. It's particularly well-suited for:
- High-throughput applications
- When you need to minimize latency
- Real-time applications
- When you want to reduce HTTP overhead
The WebSocket API provides the same core functionality as the REST API but with improved performance due to connection reuse.
RIOC (Remote IO Control)
RIOC is our high-performance RPC protocol, available in Business and Enterprise plans. It's the optimal choice for:
- Ultra-low latency requirements
- High-performance enterprise applications
- When you need direct, efficient access
- Applications using our official SDKs
RIOC provides the fastest possible way to interact with HPKV through a secure, efficient binary protocol with native SDK support.
Key Features
- Performance: Fast and efficient data operations
- Simplicity: Easy to use with straightforward APIs
- Reliability: Designed for production workloads
- Scalability: Handles growing data needs efficiently
- Security: API key authentication and HTTPS/WSS encryption
Choosing the Right API
When deciding between the available APIs, consider these factors:
- REST API is best when:
- You need simple, stateless operations
- You're making occasional requests
- You want the simplest integration
- You need broad framework compatibility
- WebSocket API is best when:
- You need to minimize latency
- You're making frequent requests
- You want to reduce network overhead
- Your application requires high throughput
- RIOC is best when:
- You need the lowest possible latency
- You're using our official SDKs
- You want secure, efficient binary communication
- You need advanced features like batch operations
Ready to get started? Check out our Getting Started Guide, or dive into the details of our REST API, WebSocket API, and RIOC documentation.