[Open Source] A domestically developed communication framework featuring low energy consumption, security, reliability, and support for millions of persistent connections
![[Open Source] A domestically developed communication framework featuring low energy consumption, security, reliability, and support for millions of persistent connections](https://yy123.ink/api/img/1782590234535-1pn1t1.jpg)
、
1. Project Overview
smart-socket
smart-socket is a 100% independently developed, domestically created open-source communication framework. By enhancing its AIO implementation, it delivers communication performance and stability that surpass those of major programming languages.
Thanks to its simplicity, ease of use, and high performance, smart-socket has gained recognition and popularity among numerous developers and enterprises.
2. Open Source License
Licensed under Apache-2.0
3. Screenshots

4. Feature Overview
An ultra-simple, easy-to-use, high-performance AIO communication framework that enables everyone to easily handle millions of persistent connections. A communication microkernel for the 5G era, suitable for various fields such as IM, RPC, and IoT.
Project Features
- High performance, high concurrency, low latency, and energy efficiency.
- Minimal code with excellent readability. The core code contains fewer than 1,500 lines, with a clear project structure and package hierarchy.
- Low learning curve. Secondary development requires implementing only 2 interfaces (Protocol and MessageProcessor), making it virtually effortless for developers with communication development experience to get started.
- Well-designed thread and memory models ensure efficient and stable service operation.
- Supports custom plugins and provides a rich collection of built-in plugins, including SSL/TLS communication, heartbeat, connection disconnection and reconnection, service metrics monitoring, blacklist, and memory pool monitoring plugins.
5. Tech Stack
Performance Rankings

Plugin List
Plugin
Purpose
BlackListPlugin
Blacklist plugin: smart-socket refuses to establish connections with IP addresses on the blacklist
BufferPageMonitorPlugin
Memory pool monitoring plugin
HeartPlugin
Heartbeat plugin
MonitorPlugin
Service metrics monitoring plugin
SocketOptionPlugin
Connection attribute configuration plugin
SslPlugin
TLS/SSL encrypted communication plugin
StreamMonitorPlugin
Transport-layer communication data stream monitoring plugin
Appendix:
Preface
The past decade was the golden age of China's Internet industry. The future, however, belongs to the era of the Industrial Internet of Things.
Communication technology is a key element in enabling connectivity and interoperability among all things. This era will bring truly high concurrency and high traffic volumes, and the technical landscape we have built up during the Internet era will be reshaped once again.
At this very moment, mastering communication technology gives us an entry ticket to the era of the Internet of Things.
smart-socket was born against this broader technological backdrop. It is a framework designed for the future. Compared with traditional communication frameworks, smart-socket offers higher concurrency, lower resource consumption, and a gentler learning curve.
Inherent Advantages of This Technology
Those working in software development should have experienced this: most of the technologies we need to learn originate from other countries.
The available learning methods are generally either reading official documentation directly or purchasing Chinese-language books.
Both approaches have certain drawbacks. Many professionals have limited English proficiency, making it difficult to guarantee either the efficiency or effectiveness of reading English documentation directly.
As for purchased books, most are simply translations of official documentation or cover only basic introductory knowledge.
As a domestically developed open-source project, smart-socket not only provides reference materials entirely in Chinese, but also makes it easy for anyone to join our community, where all questions receive timely responses.
Furthermore, smart-socket never pursues flashy design patterns just to showcase technical skills. Instead, it follows the simplest and most straightforward approach to building the ultra-simple, easy-to-use, high-performance domestic communication framework we envision.
Whether you are a smart-socket user or not, you are welcome to join our community. We look forward to hearing more voices and feedback, helping smart-socket continuously explore its potential and move forward more steadily and further into the future.
Source: Official smart-socket documentation.