This repository contains HPKV WebSocket client SDK implementations.
HPKV is a high-performance key-value store designed for applications that require ultra-fast data access with consistent performance. It provides:
- Ultra fast access times
- WebSocket API
- REST API
- AI-Powered queries
- Semantic search
- Pub-Sub capabilities for building real-time reactive applications
- Simple yet powerful interface for storing and retrieving data
This repository contains WebSocket client SDKs for different programming languages:
websocket-client/
├── sdk/
│ └── node/ # NodeJS SDK
│ ├── src/ # Source code
│ ├── examples/ # Usage examples
| ├── tests/ # integration tests
│ └── README.md # NodeJS SDK documentation
Currently, only the NodeJS SDK is available, with more language implementations coming soon.
- NodeJS SDK Documentation
- Installation:
npm install @hpkv/websocket-client
The WebSocket API provides a persistent connection for high-performance operations with HPKV. It's designed for applications that need to minimize latency and reduce overhead from multiple HTTP requests.
- Persistent Connections: Maintain a single connection for multiple operations
- Lower Latency: Minimize round-trip delays compared to REST API
- Bidirectional Communication: Enable real-time data updates
- Key Monitoring (Pub-Sub): Get notified when specific keys change
- Atomic Operations: Perform atomic increments/decrements and JSON patching
- Insert/Update records
- Get records by key
- JSON Patch/Append to records
- Delete records
- Range queries
- Atomic increments/decrements
- Real-time key monitoring (Pub-Sub)
To start using HPKV, you'll need an API key:
- Sign up at hpkv.io
- Go to the API Keys section in your Dashboard
- Click "Generate API Key"
- Select your preferred region
- Add an optional description
- Save your API key securely - you won't be able to see it again
Currently, only NodeJS is supported:
npm install @hpkv/websocket-clientThis project is licensed under the MIT License - see the LICENSE file for details.
