A Delphi IOCP-based framework for building high-performance TCP servers, HTTP servers, and WebSocket applications.
diocp5 is a high-performance network communication framework for Delphi that leverages Windows I/O Completion Ports (IOCP) to build scalable TCP servers, HTTP servers, and WebSocket applications. It provides efficient asynchronous I/O handling and configurable thread management for real-world deployment scenarios.
Delphi developers building scalable network services on Windows, such as TCP servers, HTTP servers, or WebSocket applications requiring high concurrency and low latency.
Developers choose diocp5 for its IOCP-based architecture, which offers superior performance for Windows network applications, along with built-in support for HTTP and WebSocket protocols and flexible service isolation to prevent performance interference between multiple servers.
delphi iocp, http, websocket, ntrip
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Leverages Windows I/O Completion Ports for low-latency, high-concurrency network operations, making it ideal for scalable TCP, HTTP, and WebSocket servers on Delphi, as emphasized in the key features.
Includes HTTP server with streaming and file response handling, plus WebSocket implementation for real-time communication, reducing reliance on external libraries for common network tasks.
Allows separate IocpEngine instances per server to prevent performance interference, as detailed in the FAQ for optimizing multiple services running concurrently.
Provides adjustable worker threads for logic and I/O processing, enabling fine-tuning based on CPU cores, which helps in balancing load and improving efficiency in real-world deployments.
Tied to Windows IOCP, making it unsuitable for cross-platform development and limiting its use in environments where Linux or macOS support is required.
Requires setting Delphi environment variables (DIOCP5_HOME) and search paths, as outlined in the '快速开始' section, which can be error-prone and time-consuming for newcomers.
Primary documentation, including the FAQ linked to Youdao notes, is in Chinese, and community support via QQ group may not be accessible to non-Chinese speakers, hindering broader adoption.
Default shared IocpEngine can cause performance issues between services, necessitating manual optimization like setting separate engines or adjusting thread counts, as warned in the FAQ.