awesome-repositories.com
المدونة
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
phpredis avatar

phpredis/phpredis

0
View on GitHub↗
10,219 نجوم·2,139 تفرعات·C·5 مشاهدات

Phpredis

phpredis is a C-based native extension that bridges PHP applications with Redis servers for high-performance data storage and retrieval. It serves as an interface for manipulating strings, hashes, lists, sets, and sorted sets while providing a direct path for executing Redis commands and server-side scripts.

The extension provides comprehensive support for distributed environments and high availability. It interfaces with Redis Cluster to distribute data across multiple nodes using hash slots and manages Redis Sentinel for service discovery and automatic failover. It also enables shared state across application servers by storing PHP session data in a remote Redis backend.

Broad capabilities cover low-latency operations through command pipelining and binary serialization, as well as real-time messaging via pub-sub and streams. The toolset includes security features such as TLS encryption and access control lists, along with utilities for geospatial queries and server performance analysis.

Features

  • Database Command Interfaces - Provides a comprehensive interface to execute Redis commands for manipulating keys and server configurations.
  • Key-Value Data Manipulation - Provides a comprehensive suite of commands to manipulate strings, hashes, lists, sets, and sorted sets.
  • Redis Clients - Provides a high-performance native PHP extension for connecting to and interacting with Redis data stores.
  • Pipeline Batching - Groups multiple requests into a single network write to significantly reduce round-trip latency.
  • Complex Data Serialization - Supports converting complex PHP data types into storable formats like JSON or MsgPack.
  • Cluster Request Routing - Routes requests to the correct cluster node based on hash slots and handles redirections to maintain connectivity.
  • Data Storage - Provides utilities to serialize and deserialize values for persistent storage and retrieval across various Redis data types.
  • Distributed Caching - Interfaces with Redis Cluster to distribute data across multiple nodes using sharding and hash slots.
  • Hash Maps - Provides high-performance hash map operations for storing and retrieving fields within a single key.
  • High Availability Architectures - Supports high availability architectures via Redis Sentinel for master node discovery and automatic failover.
  • List Data Structures - Provides native list data structure operations, including push/pop from both ends and blocking operations.
  • Set Data Structures - Implements unordered set operations, including the addition/removal of members and mathematical intersections and unions.
  • Slot-Based Routing - Maps keys to specific server nodes by calculating hash slots to enable distributed data access.
  • Sorted Sets - Provides native support for sorted set data structures, enabling efficient range queries and ranking operations.
  • Message Stream Handlers - Manages Redis Streams, including adding messages and managing consumer groups for parallel processing.
  • Pub-Sub Messaging - Implements a publish-subscribe model for distributing real-time data via channels and patterns.
  • Native C Interoperability - Implemented as a C-based native extension to provide high-performance interoperability between the PHP engine and Redis.
  • String Manipulators - Provides tools for manipulating string values, including bitwise operations and substring modification.
  • Session Management - Maintains persistent user state and session contexts across multiple web requests using a remote store.
  • Server-Side Session Stores - Implements server-side session storage using Redis to maintain user state across multiple application servers.
  • Distributed Data Management - Provides mechanisms for mapping and distributing keys across distributed server environments using consistent hashing.
  • Distributed Storage Clusters - Provides native support for Redis Clusters, distributing data and requests across multiple nodes.
  • Cluster-Aware Execution - Distributes data across multiple nodes by managing hash slots and providing cluster-aware command execution.
  • High Availability - Allows retrieving the status and addresses of monitored masters and replicas to ensure system stability.
  • Binary Serialization Formats - Provides binary serialization via Igbinary to reduce memory usage when storing structured data.
  • Cluster Key Migration - Redistributes keys across nodes during cluster membership changes using manual rehashing or automatic migration.
  • Cluster Topology Caching - Stores the keyspace map locally to eliminate repeated network round trips for slot discovery.
  • Cluster Topology Management - Allows retrieval of cluster metadata, including host lists and target nodes for specific keys.
  • Connection Establishment - Handles the initial handshake and authentication process for connecting to Redis Cluster seed nodes.
  • Custom Key Routing - Allows determining which node stores a key using specific substrings or user-defined hashing functions.
  • Data Compression Algorithms - Reduces the size of stored values using compression algorithms to save memory and bandwidth.
  • Data Lifecycle Management - Manages the data lifecycle through expiration timers and persistence settings to ensure memory efficiency.
  • Redis Stream Processors - Implements client-side management for Redis streams, including consumer groups and message claiming logic.
  • Data Serialization & Compression - Supports serializing, compressing, and packing values to optimize their storage footprint and transmission efficiency.
  • Binary Serialization Protocols - Implements binary serialization protocols for efficient, low-latency data transmission between PHP and Redis servers.
  • Retry Policies - Implements automated retry logic with exponential backoff to recover from transient network failures during database operations.
  • Atomic Transactions - Provides support for atomic transactions to ensure data consistency during multi-command operations.
  • Multi-Key Slot Routing - Executes commands on multiple keys by splitting requests into subsets for the correct cluster hash slots.
  • Read Replicas - Provides configurable routing to distribute read-only commands between master nodes and read replicas.
  • Real-Time Data Streaming - Provides real-time data streaming capabilities using Redis Streams with support for consumer groups.
  • Sentinel Management - Provides capabilities to reset master states and force configuration writes to disk in Redis Sentinel.
  • Server-Side Scripting - Executes logic directly on the Redis server using scripts to perform complex operations atomically.
  • Session Management - Offers capabilities for managing user session data with support for compression and strict locking.
  • Connection Management - Manages the establishment, authentication, and maintenance of reliable network connections to Redis servers.
  • Connection Pooling - Provides persistent connection pooling to eliminate the overhead of repeated handshakes across PHP requests.
  • Registry-Based Service Discovery - Uses Redis Sentinel for registry-based service discovery to locate master nodes during failover events.
  • Command Pipelining - Reduces network overhead by pipelining multiple Redis commands in a single batch to minimize latency.
  • Native Memory Lifecycle Management - Manages memory buffers and data structures at the C level to bypass PHP user-land memory overhead.
  • Access Control List Management - Supports Redis access control lists to restrict command execution and manage fine-grained user permissions.
  • Distributed Session Storage - Supports using a distributed Redis cluster as a backend for session storage via system configuration.
  • Secure Connection Handlers - Implements secure connection handling via TLS encryption for communication between the PHP application and Redis servers.
  • Request Pipelines - Implements socket-level command pipelining to group multiple requests into a single network write.
  • Failover Strategies - Implements mechanisms to force a master node to fail over to a replica for high availability.
  • System Performance Analyzers - Retrieves server statistics, memory usage, and slow logs to identify performance bottlenecks.

سجل النجوم

مخطط تاريخ النجوم لـ phpredis/phpredisمخطط تاريخ النجوم لـ phpredis/phpredis

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

بدائل مفتوحة المصدر لـ Phpredis

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Phpredis.
  • redis/go-redisالصورة الرمزية لـ redis

    redis/go-redis

    22,159عرض على GitHub↗

    This project is a feature-rich Go client library designed for interacting with Redis. It serves as a comprehensive interface for managing remote data stores, enabling developers to execute standard database commands, handle complex data structures, and perform asynchronous operations within Go applications. The library distinguishes itself through its support for advanced Redis capabilities, including connection pooling, pipelining, and transactional integrity. It provides specialized primitives for managing distributed clusters, including automated topology updates and request routing to sha

    Gogogolangredis
    عرض على GitHub↗22,159
  • tporadowski/redisالصورة الرمزية لـ tporadowski

    tporadowski/redis

    9,987عرض على GitHub↗

    Redis is a high-performance in-memory key-value store that functions as a distributed cache, message broker, and NoSQL database. It provides sub-millisecond read and write access to data stored in RAM and can operate as a vector database for indexing high-dimensional embeddings. The system supports a wide range of data storage and synchronization primitives, including the management of strings, hashes, lists, sets, and JSON documents. It enables real-time data operations through atomic transactions, hybrid persistence using snapshots and append-only logs, and high-availability configurations

    Credisredis-for-windowsredis-msi-installer
    عرض على GitHub↗9,987
  • redis/ioredisالصورة الرمزية لـ redis

    redis/ioredis

    15,295عرض على GitHub↗

    ioredis is a performance-focused Redis client for Node.js applications. It provides a comprehensive interface for interacting with Redis servers, including specialized clients for sharded clusters and Sentinel-based high availability environments. The project distinguishes itself through advanced networking and execution capabilities, such as automatic event-loop pipelining to reduce overhead and a system for routing read-write traffic between primary and replica nodes. It also features a dedicated Lua scripting interface that allows server-side scripts to be registered as custom client comma

    TypeScriptnodejsredisredis-client
    عرض على GitHub↗15,295
  • microsoft/garnetالصورة الرمزية لـ microsoft

    microsoft/garnet

    11,885عرض على GitHub↗

    Garnet is a multi-threaded in-memory database and distributed key-value store. It functions as a high-performance remote cache store that implements the RESP wire protocol to maintain compatibility with existing Redis clients and libraries. The project is distinguished by a shared-memory architecture that enables parallel request processing across multiple cores for sub-millisecond latency. It features a tiered storage system that automatically offloads colder data from system memory to SSD or cloud storage layers, and includes a specialized vector search database for high-dimensional similar

    C#cachecache-storagecluster
    عرض على GitHub↗11,885
عرض جميع البدائل الـ 30 لـ Phpredis→

الأسئلة الشائعة

ما هي وظيفة phpredis/phpredis؟

phpredis is a C-based native extension that bridges PHP applications with Redis servers for high-performance data storage and retrieval. It serves as an interface for manipulating strings, hashes, lists, sets, and sorted sets while providing a direct path for executing Redis commands and server-side scripts.

ما هي الميزات الرئيسية لـ phpredis/phpredis؟

الميزات الرئيسية لـ phpredis/phpredis هي: Database Command Interfaces, Key-Value Data Manipulation, Redis Clients, Pipeline Batching, Complex Data Serialization, Cluster Request Routing, Data Storage, Distributed Caching.

ما هي البدائل مفتوحة المصدر لـ phpredis/phpredis؟

تشمل البدائل مفتوحة المصدر لـ phpredis/phpredis: redis/go-redis — This project is a feature-rich Go client library designed for interacting with Redis. It serves as a comprehensive… tporadowski/redis — Redis is a high-performance in-memory key-value store that functions as a distributed cache, message broker, and NoSQL… redis/ioredis — ioredis is a performance-focused Redis client for Node.js applications. It provides a comprehensive interface for… microsoft/garnet — Garnet is a multi-threaded in-memory database and distributed key-value store. It functions as a high-performance… redisson/redisson — Redisson is a Java library and Redis client that functions as a distributed Java object mapper, caching provider, and… redis/redis-py — redis-py is a Python client library for interacting with Redis databases to execute commands and manage key-value…