smart-socket is an open source communication framework 100% self-developed by smart-boot, by strengthening the implementation of AIO so that it has better communication performance and stability beyond other major languages.
With its simplicity, ease of use and high performance, smart-socket has been recognized and favored by many developers and enterprises.
- High performance, high concurrency, low latency, energy saving.
- Very little code, good readability. The core code is less than 1500 lines, and the project structure and package hierarchy are clear
- Low learning threshold, secondary development only need to implement two interfaces (Protocol, MessageProcessor), almost no learning costs if you have experience in communications development .
- Good threading model , memory model design , to ensure efficient and stable operation of the service .
- Support for custom plugins , and has provided many plugins , including : SSL/TLS communication plugins , heartbeat plugins , disconnected reconnect plugins , service metrics plugins , blacklist plugins and memory pool monitoring plugins .
- smart-socket stand-alone million long connection tutorial
- A must-read for newcomers: communication protocols
- Scheduling model for communication frameworks with graphical representation
- Communication Framework smart-socket Design Overview
Plugin | Usage |
---|---|
BlackListPlugin | Blacklist plugin, smart-socket will refuse to establish a connection with the IP in the blacklist |
BufferPageMonitorPlugin | Memory pool monitoring plugin |
HeartPlugin | Heartbeat plugin |
MonitorPlugin | Service Metrics Monitoring Plugin |
SocketOptionPlugin | Connection property configuration plugin |
SslPlugin | TLS/SSL encrypted communication plugin |
StreamMonitorPlugin | Transport layer communication stream monitoring plugin |
- Thanks to Gitee for code hosting and Pages service!。
- Thanks to JetBrains for providing the IDEA License for smart-socket.
- Official QQ Group: 172299083 、830015805。Entry requirements:
- Average user:donate ¥5,and note your QQ number, we will manually review the group members。
- Enterprises users:Complete [Case Registration] and note the company name when adding the group。
- Scan the QR code at the bottom to follow the Sandao public account on WeChat。