Skip to content

Redis RESP3 Protocol Documentation

Redis RESP3 Protocol Documentation

This directory contains consolidated documentation for HeliosDB’s Redis RESP3 protocol support.

Quick Start

Connect to HeliosDB using any Redis client:

import redis
# Connect to HeliosDB (Redis-compatible)
client = redis.Redis(
host='localhost',
port=6379,
protocol=3, # RESP3
decode_responses=True
)
# Test connection
print(client.ping()) # True
# Basic operations
client.set('user:1:name', 'Alice')
name = client.get('user:1:name')

Contents

FileDescription
README.mdOverview and quick start (this file)
CONFIGURATION.mdConnection and protocol configuration
COMPATIBILITY.mdRESP3 feature compatibility
EXAMPLES.mdRedis command examples

Feature Overview

RESP3 Protocol Support

FeatureStatusNotes
Protocol VersionRESP3Full v3 implementation
HELLO CommandSupportedProtocol negotiation
Push TypesSupportedServer-initiated messages
StreamingSupportedLarge value handling
Boolean TypeSupportedNative true/false

Data Structures

StructureCoverageKey Commands
Strings100%GET, SET, INCR, APPEND
Lists100%LPUSH, RPOP, LRANGE
Sets100%SADD, SMEMBERS, SINTER
Sorted Sets100%ZADD, ZRANGE, ZINCRBY
Hashes100%HSET, HGET, HGETALL
Streams100%XADD, XREAD, XGROUP
HyperLogLog100%PFADD, PFCOUNT
Bitmaps100%SETBIT, GETBIT, BITCOUNT
Geospatial100%GEOADD, GEORADIUS

Advanced Features

FeatureStatusNotes
Pub/SubSupportedSUBSCRIBE, PUBLISH, PSUBSCRIBE
TransactionsSupportedMULTI, EXEC, WATCH
Lua Scripting80%EVAL, EVALSHA
PipeliningSupportedBatch operations
ACLSupportedUser-based access control

Connection Parameters

ParameterDefaultDescription
hostlocalhostServer hostname
port6379Redis protocol port
protocol3RESP version (2 or 3)
password-Authentication password
usernamedefaultACL username
database0Database number

Driver Compatibility

DriverVersionStatus
redis-py (Python)4.5+Full
node-redis (Node.js)4.xFull
Jedis (Java)4.xFull
go-redis (Go)9.xFull
StackExchange.Redis (C#)2.xFull

Use Cases

  • Caching: High-speed key-value caching
  • Session Storage: User session management
  • Rate Limiting: Request throttling
  • Leaderboards: Real-time rankings
  • Pub/Sub: Real-time messaging
  • Job Queues: Background task processing

Last Updated: December 2025 Consolidation Status: Complete