Hasty Briefsbeta

Bilingual

Show HN: Solidis – Tiny TS Redis client, no deps, for serverless

a year ago
  • #Redis
  • #Performance
  • #TypeScript
  • Solidis is a high-performance, SOLID-structured RESP client for Redis and other RESP-compatible servers.
  • Supports both RESP2 and RESP3 protocols with zero dependencies and optimized for modern JavaScript/TypeScript applications.
  • Features include efficient pipeline & batch processing, minimal memory footprint, and zero-copy buffer operations.
  • Type-safe with extensive TypeScript definitions and comprehensive type guards for all commands.
  • Lightweight with zero dependencies, minimum bundle size < 30KB, and full bundle size < 105KB.
  • Advanced features include transaction support, Pub/Sub functionality, automatic reconnection, and command timeout handling.
  • Two client implementations: basic client for minimal functionality and featured client with all RESP commands pre-loaded.
  • Extensive configuration options for connection, authentication, protocol, recovery, timeouts, and performance tuning.
  • Detailed error handling with specific error classes for different failure modes.
  • Clear component separation with SolidisClient coordinating Connection, Requester, Parser, and PubSub components.
  • Open-source project welcoming contributions with guidelines for code style, performance, and bundle size considerations.
  • Licensed under MIT.