smart-socket v1.5.1 released, bug fixes and UDP updates

smart-socket is an AIO communication framework that can quickly and easily develop Client/Server network applications. It greatly simplifies the difficulty and complexity of network programming, and can be widely used in various TCP/UDP communication scenarios.

Smart-socket has accumulated a lot of valuable experience from the practice of many protocols (Http, WebSocket, MQTT, binary private protocol), and has become a very simple, easy-to-use, high-performance communication framework.

Minimalist

  • It supports various transmission types and protocols, and is only developed around two core interfaces (MessageProcessor, Protocol).
  • Flexible and extensible state machine design can clearly separate concerns.
  • The core package code is 1447 lines, and the compiled jar package is only 33 KB (if you have no obvious feelings about this, you can compare other similar projects).

Easy to use

  • Well-documented Javadoc, user guide and examples.
  • There are no additional dependencies, only JDK 8 and above are required.
  • Highly customizable plug-in. Some very useful and out-of-the-box plug-ins have been built-in: SSL/TLS communication, heartbeat, link reconnection, service indicator statistics, blacklist, memory pool monitoring .

high performance

  • Better throughput, lower latency
  • Less resource consumption
  • Try to reduce unnecessary memory copies

update content

  1. bugfix: fix the problem of array out of bounds in WriteBuffer. The bug has existed for more than 2 years, and it was discovered after reviewing the code yesterday. It is recommended to upgrade as soon as possible.
  2. Merged UDP related code and examples submitted by netizens

Maven

<dependency>
    <groupId>org.smartboot.socket</groupId>
    <artifactId>aio-core</artifactId>
    <version>1.5.1</version>
</dependency>

Guess you like

Origin www.oschina.net/news/121586/smart-socket-1-5-1-released