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

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektMCP-ServerÜber unsRanking-MethodikPresse
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
reactphp avatar

reactphp/socket

0
View on GitHub↗
1,285 Stars·158 Forks·PHP·MIT·18 Aufrufereactphp.org/socket↗

Socket

This library provides a framework for building event-driven, non-blocking network applications in PHP. It enables the development of asynchronous TCP and TLS servers and clients that manage multiple concurrent connections without stalling the main execution thread. By utilizing an event-loop architecture, the library handles network operations and data exchange through asynchronous streams, ensuring that the application remains responsive during high-throughput tasks.

The project distinguishes itself through its integration with operating system primitives, such as raw file descriptors and Unix domain sockets, which facilitate efficient inter-process communication and compatibility with external process managers. It incorporates advanced connection management features, including automated timeout handling, concurrent connection limits, and latency-reducing optimizations like IPv6 prioritization and domain name lookup caching.

The library covers a broad range of networking capabilities, including secure encrypted communication, incremental data streaming, and non-blocking hostname resolution. These features are exposed through promise-based interfaces, allowing for the orchestration of complex network handshakes and data transfers while maintaining low memory overhead.

Features

  • Asynchronous Socket Libraries - Provides a non-blocking library for building event-driven TCP and TLS socket servers and clients using asynchronous streams in PHP.
  • Asynchronous Network Frameworks - Provides a toolkit for handling high-performance network communication and secure encrypted connections through an event-loop architecture.
  • Asynchronous Network Servers - Builds high-performance, non-blocking TCP and TLS servers that handle many concurrent client connections without stalling the main application process.
  • Event-Driven Networking - Provides a framework for managing concurrent network connections and data streams without blocking the main execution thread of an application.
  • Secure Communication Channels - Provides cryptographic handshakes on standard socket streams to establish encrypted communication channels.
  • Non-Blocking Socket I/O - Utilizes system-level non-blocking socket calls to initiate and accept connections without stalling the application execution flow.
  • Non-Blocking Event Loops - Uses a single-threaded event loop to manage multiple concurrent network connections without blocking the main execution process.
  • Event-Based Stream Processing - Manages high-throughput data exchange by processing incoming and outgoing network chunks incrementally through non-blocking, event-based interfaces.
  • Asynchronous Network Clients - Establishes non-blocking connections to remote services and APIs to exchange data streams while keeping the primary application responsive.
  • Connection and Latency Optimizers - Prioritizes IPv6 addresses and caches domain name lookups to reduce latency and improve connection reliability.
  • Connection Management - Facilitates non-blocking network connections to remote services and sockets, resolving via promises to handle data exchange operations without stalling.
  • Timeout Managements - Automatically aborts unresponsive connection attempts to prevent hanging processes and maintain system responsiveness.
  • Connection Rate Limiting - Enforces limits on the number of simultaneous client connections to protect system resources from exhaustion.
  • Network Data Streaming - Processes incoming and outgoing data chunks incrementally through event-based interfaces to maintain high throughput and low memory usage.
  • Secure Socket Wrappers - Applies transport layer security by wrapping standard network streams in cryptographic layers during the connection handshake process.
  • Duplex Stream Wrappers - Exposes network connections as readable and writable streams to process data chunks incrementally with low memory overhead.
  • Unix Domain Socket Support - Facilitates efficient inter-process communication on the same machine by connecting to or hosting services via local filesystem socket paths.
  • File Descriptor Managers - Interacts with the operating system by listening on raw file descriptors to enable integration with external process managers.
  • Promise-Based Object Resolution - Handles network operations and hostname lookups by returning objects that represent eventual completion of non-blocking tasks.

Star-Verlauf

Star-Verlauf für reactphp/socketStar-Verlauf für reactphp/socket

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Häufig gestellte Fragen

Was macht reactphp/socket?

This library provides a framework for building event-driven, non-blocking network applications in PHP. It enables the development of asynchronous TCP and TLS servers and clients that manage multiple concurrent connections without stalling the main execution thread. By utilizing an event-loop architecture, the library handles network operations and data exchange through asynchronous streams, ensuring that the application remains responsive during high-throughput tasks.

Was sind die Hauptfunktionen von reactphp/socket?

Die Hauptfunktionen von reactphp/socket sind: Asynchronous Socket Libraries, Asynchronous Network Frameworks, Asynchronous Network Servers, Event-Driven Networking, Secure Communication Channels, Non-Blocking Socket I/O, Non-Blocking Event Loops, Event-Based Stream Processing.

Welche Open-Source-Alternativen gibt es zu reactphp/socket?

Open-Source-Alternativen zu reactphp/socket sind unter anderem: cloudwego/netpoll — Netpoll is an event-driven network framework and non-blocking I/O library designed to manage concurrent TCP and Unix… walkor/workerman — Workerman is an event-driven asynchronous socket framework for PHP. It provides the core components necessary to build… boostorg/beast — Beast is a C++ library for implementing low-level HTTP and WebSocket clients and servers. It functions as an… reactphp/reactphp — ReactPHP is an asynchronous runtime and event-driven I/O framework for PHP. It provides an environment for executing… azure/dotnetty — DotNetty is an asynchronous network framework and event-driven networking library for .NET. It is a port of the Netty… shadowsocks/shadowsocks-libev — shadowsocks-libev is an event-driven network daemon that provides an encrypted SOCKS5 proxy. It functions as a…

Open-Source-Alternativen zu Socket

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Socket.
  • cloudwego/netpollAvatar von cloudwego

    cloudwego/netpoll

    4,583Auf GitHub ansehen↗

    Netpoll is an event-driven network framework and non-blocking I/O library designed to manage concurrent TCP and Unix domain socket connections. It utilizes a non-blocking event loop to monitor file descriptors and trigger callbacks for read and write events, serving as a high-performance socket manager and TCP network poller. The framework optimizes throughput across CPU cores by distributing incoming network connections across multiple pollers. It implements zero-copy networking primitives, using linked buffers and specialized memory management to read and write data while minimizing memory

    Go
    Auf GitHub ansehen↗4,583
  • walkor/workermanAvatar von walkor

    walkor/workerman

    11,547Auf GitHub ansehen↗

    Workerman is an event-driven asynchronous socket framework for PHP. It provides the core components necessary to build high-concurrency network servers, including an asynchronous TCP framework, a coroutine library for task management, and dedicated implementations for HTTP and WebSocket servers. The project enables the development of specialized network services using custom frame-based communication protocols. It supports both inbound concurrent server implementation and asynchronous outbound connectivity to remote services. The framework covers a broad range of network programming capabili

    PHPasynchronousevent-drivenhigh-performance
    Auf GitHub ansehen↗11,547
  • boostorg/beastAvatar von boostorg

    boostorg/beast

    4,801Auf GitHub ansehen↗

    Beast is a C++ library for implementing low-level HTTP and WebSocket clients and servers. It functions as an asynchronous networking framework designed to compose non-blocking I/O operations and layered stream stacks for managing concurrent network traffic, specifically utilizing the Boost.Asio asynchronous model. The library provides a comprehensive implementation of the HTTP/1.1 and WebSocket protocols. For HTTP, it includes primitives for parsing and serializing messages with support for chunked transfer encoding, incremental body reading, and request pipelining. Its WebSocket implementati

    C++asioasync-programmingboost
    Auf GitHub ansehen↗4,801
  • azure/dotnettyAvatar von Azure

    Azure/DotNetty

    4,238Auf GitHub ansehen↗

    DotNetty is an asynchronous network framework and event-driven networking library for .NET. It is a port of the Netty architecture designed for building high-performance protocol servers and clients. The framework enables the development of network applications that handle concurrent connections and high-throughput data streaming without blocking execution threads. It supports the implementation of custom network protocols through defined encoding and decoding rules. The library utilizes a pipeline-based processing model and non-blocking I/O to manage network traffic. Its architecture incorp

    C#networkingprotocols
    Auf GitHub ansehen↗4,238
Alle 30 Alternativen zu Socket anzeigen→

Kuratierte Suchen mit Socket

Handverlesene Sammlungen, in denen Socket vorkommt.
  • Socket polling interfaces