github doobidoo/mcp-memory-service v6.21.0
v6.21.0 - Hybrid Storage Backend Revolution

latest releases: v10.39.0, v10.38.4, v10.38.3...
6 months ago

๐Ÿš€ Hybrid Storage Backend - Performance Revolution

Major Performance Breakthrough

This release introduces a revolutionary Hybrid Storage Backend that fundamentally transforms the performance characteristics of MCP Memory Service:

โšก Performance Impact

  • SQLite-vec Performance: ~5ms reads/writes
  • 10-100x faster than Cloudflare-only deployments
  • Zero user-facing latency with intelligent background sync
  • Instant responsiveness for all memory operations

๐Ÿ—๏ธ Architecture Innovation

  • Write-Through Cache Design: User operations hit SQLite-vec first (instant), background service syncs to Cloudflare asynchronously
  • Background Synchronization Service with async queue, intelligent retry logic, and health monitoring
  • Graceful degradation when cloud services are unavailable

๐Ÿ›ก๏ธ Cloudflare Limit Protection

  • Pre-sync validation for metadata size and vector count limits
  • Real-time capacity monitoring with warning thresholds (80%/95%)
  • Intelligent error handling that categorizes temporary vs permanent vs limit errors
  • Automatic retry logic for network issues, permanent failure classification for hard limits

๐ŸŽฏ Benefits

For Users:

  • Instant memory operations (no waiting for cloud responses)
  • Reliable offline functionality with automatic sync
  • Seamless multi-device access to memories

For Production:

  • Handles Cloudflare's strict limits intelligently
  • Robust error recovery and comprehensive monitoring
  • Scales from single-user to enterprise deployments

๐Ÿ“– Setup & Configuration

Simple Setup:

export MCP_MEMORY_STORAGE_BACKEND=hybrid
# + existing Cloudflare credentials

Advanced Configuration:

  • MCP_HYBRID_SYNC_INTERVAL: Background sync frequency (default: 300s)
  • MCP_HYBRID_BATCH_SIZE: Sync batch size (default: 50)
  • MCP_HYBRID_MAX_QUEUE_SIZE: Queue capacity (default: 1000)

๐Ÿงช Testing & Validation

  • 347 lines of comprehensive Cloudflare limit testing
  • Performance characteristic validation
  • Background sync verification scripts
  • Live testing utilities for production validation

๐ŸŽฏ Recommendation

This should become the default backend for all new installations due to its superior performance and reliability characteristics.


Full Changelog: v6.20.1...v6.21.0

Don't miss a new mcp-memory-service release

NewReleases is sending notifications on new releases.