awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
symfony avatar

symfony/cache

0
View on GitHub↗
4,164 stars·64 forks·PHP·MIT·17 viewssymfony.com/cache↗

Cache

This is a PHP library providing standardized interfaces for caching data through the PSR-6 and PSR-16 specifications. It functions as a cache pool manager and distributed cache adapter, allowing applications to organize key-value pairs into logical repositories and namespaces.

The project includes a dedicated cache stampede prevention tool that protects systems from CPU spikes during value expiration. This is achieved through locking mechanisms for concurrent requests and probabilistic early expiration.

The library supports object serialization with optional encryption and compression to translate complex data into storable formats. It provides a multi-backend storage abstraction layer, enabling data persistence across memory, filesystems, and distributed databases. Other capabilities include callback-based cache retrieval and key-based namespacing for data segregation.

Features

  • Caching Interfaces - Provides a full implementation of standardized PHP-FIG caching interfaces (PSR-6 and PSR-16) for library interoperability.
  • Distributed Caching - Manages shared state across multiple servers using adapters for distributed databases and filesystems.
  • Cache Pool Organization - Organizes cached key-value pairs into logical repositories and namespaces to provide a structured data storage system.
  • Multi-Backend Storage Management - Implements a unified API to coordinate and manage cached data across diverse storage engines like memory, filesystems, and distributed databases.
  • Cache Pool Management - Provides a system to organize cached information into logical repositories of key-value pairs.
  • Storage Backend Adapters - Provides standardized interfaces to swap between different cache storage backends like memory, filesystems, and distributed databases.
  • PSR-16 Implementations - Implements the PSR-16 Simple Cache standard for lightweight key-value storage in PHP applications.
  • PSR Standard Implementations - Provides a comprehensive implementation of PHP Standard Recommendations (PSR) for caching data interoperability.
  • Application Performance Optimization - Reduces system load and response times by caching the results of expensive computations in fast-access storage.
  • Cache Avalanche Prevention - Prevents systemic collapse and CPU spikes by protecting backend databases from mass simultaneous cache expiration.
  • Stampede Mitigation - Mitigates cache stampedes by coordinating concurrent requests during cache misses to prevent redundant backend load.
  • Stampede Protection - Protects high-traffic systems from CPU spikes during cache expiration using locking and probabilistic early expiration.
  • Cache - Provides tools to translate complex object states into storable formats with optional encryption and compression for efficient caching.
  • Callback-Based Retrieval - Retrieves a cached item by key or executes a callback to compute and store the value if it is missing.
  • Probabilistic Early Expiration - Avoids cache stampedes by randomly triggering value recomputation before the actual expiration time based on a probability formula.
  • Cache Namespaces - Implements logical grouping of cache entries using key prefixes to isolate data and manage bulk invalidations.
  • Cache Miss Locking - Prevents multiple processes from recomputing the same expired value by locking concurrent requests during the cache miss period.
  • Object Serialization - Translates complex PHP objects into storable formats with support for optional encryption and compression.
  • Serialization Pipelines - Ships a modular serialization pipeline to transform complex objects into storable strings with optional encryption and compression.

Star history

Star history chart for symfony/cacheStar history chart for symfony/cache

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Cache

Similar open-source projects, ranked by how many features they share with Cache.
  • php-fig/simple-cachephp-fig avatar

    php-fig/simple-cache

    8,088View on GitHub↗

    Simple Cache is a technical specification and interface standard for PHP applications. It defines a common set of methods for interacting with cache storage, ensuring that different storage implementations can be used interchangeably. As the PSR-16 implementation standard, it provides a consistent way for independent PHP libraries and frameworks to store and retrieve cached data. This interoperability allows software packages to work with any compliant cache backend without requiring changes to the application code. The specification focuses on standardizing cache interfaces and interactions

    PHPhacktoberfestphp
    View on GitHub↗8,088
  • memcached/memcachedmemcached avatar

    memcached/memcached

    14,132View on GitHub↗

    Memcached is a high-performance, distributed, in-memory key-value storage and request routing engine. It functions as a volatile data store designed to accelerate dynamic applications by caching objects in RAM, thereby reducing backend database load and providing sub-millisecond response times. The system utilizes a specialized architecture that organizes memory into fixed-size slabs to minimize fragmentation and maximize throughput for high-concurrency workloads. The project distinguishes itself through a multi-threaded, lock-friendly design that scales across CPU cores and supports complex

    C
    View on GitHub↗14,132
  • lancedb/lancedblancedb avatar

    lancedb/lancedb

    9,031View on GitHub↗

    LanceDB is a vector database and columnar data store designed to function as a versioned dataset manager and vector search engine. It serves as a high-performance backend for indexing and retrieving high-dimensional embeddings, providing the foundation for machine learning data pipelines. The system distinguishes itself through a combination of cloud-native object storage and immutable version tracking, allowing for data time-travel and reproducible AI experiments. It integrates hybrid search capabilities, merging dense vector similarity with BM25 full-text search and SQL-like scalar filters

    HTMLapproximate-nearest-neighbor-searchimage-searchnearest-neighbor-search
    View on GitHub↗9,031
  • lmcache/lmcacheLMCache avatar

    LMCache/LMCache

    6,909View on GitHub↗

    LMCache is a distributed key-value cache manager and tiering system designed to accelerate large language model inference. It functions as a tiered storage layer that offloads tensors from GPU memory to CPU RAM, local disks, or remote object stores, enabling the reuse of cached prefixes across different inference sessions and serving engines. The system differentiates itself through a disaggregated prefill-decode model, which separates prompt processing from token generation by transferring caches between distributed compute nodes. It utilizes peer-to-peer orchestration to share and retrieve

    Pythonamdcudafast
    View on GitHub↗6,909
See all 30 alternatives to Cache→

Frequently asked questions

What does symfony/cache do?

This is a PHP library providing standardized interfaces for caching data through the PSR-6 and PSR-16 specifications. It functions as a cache pool manager and distributed cache adapter, allowing applications to organize key-value pairs into logical repositories and namespaces.

What are the main features of symfony/cache?

The main features of symfony/cache are: Caching Interfaces, Distributed Caching, Cache Pool Organization, Multi-Backend Storage Management, Cache Pool Management, Storage Backend Adapters, PSR-16 Implementations, PSR Standard Implementations.

What are some open-source alternatives to symfony/cache?

Open-source alternatives to symfony/cache include: php-fig/simple-cache — Simple Cache is a technical specification and interface standard for PHP applications. It defines a common set of… memcached/memcached — Memcached is a high-performance, distributed, in-memory key-value storage and request routing engine. It functions as… lancedb/lancedb — LanceDB is a vector database and columnar data store designed to function as a versioned dataset manager and vector… lmcache/lmcache — LMCache is a distributed key-value cache manager and tiering system designed to accelerate large language model… thephpleague/flysystem — Flysystem is a PHP storage library that provides a filesystem abstraction layer. It enables the management of files… ziggycreatures/fusioncache — FusionCache is a .NET caching framework that manages local and distributed data storage. It functions as a hybrid…