SOFABolt release v1.5.5 version | ants gold dress open source network communications framework

1, released SOFABolt v1.5.5 version of the main changes are as follows:

1) Compatibility

  • Compatible with version 1.5.4

v1.5.5 of pom-dependent

<!-- 日志门面使用slf4j,日志实现可以选择log4j、log4j2、logback,可参考:https://github.com/alipay/sofa-bolt/wiki/log_implementation_jar -->
 <dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-api</artifactId>
    <version>1.7.21</version>
</dependency>
<dependency>
    <groupId>io.netty</groupId>
    <artifactId>netty-all</artifactId>
    <version>4.1.25.Final</version>
</dependency>
<dependency>
    <groupId>com.alipay.sofa</groupId>
    <artifactId>bolt</artifactId>
    <version>1.5.5</version>
</dependency>
<dependency>
    <groupId>com.alipay.sofa.common</groupId>
    <artifactId>sofa-common-tools</artifactId>
    <version>1.0.12</version>
</dependency>

2) The main changes

bugfix

  • Fixed in the open switch automatically reconnect scene, closed by the connection method is not canceled RpcClient # closeConnection reconnection task, resulting in the closure of the repeated connection reconnection problems, see # 151

Basic information SOFABolt

SOFABolt ants Financial Services Group developed a set of web-based communication framework Netty implementation.

  • To make Java programmers can focus more on the business logic based network communication, not too much entangled in the network infrastructure NIO implementation and network issues difficult to debug, Netty came into being.
  • In order for middleware developers can focus more on the product features to achieve, rather than repeat over and over the wheel manufacturing communications framework, SOFABolt came into being.

Bolt name from the Disney animation - Bolt, is based on best practices Netty lightweight, easy to use, high performance, scalable communications framework. Over the years we address in the micro-messaging middleware services and communication over the network had a lot of problems, accumulated a lot of experience, and continue to be the optimization and improvement, we hope to be able to sum up the solution to precipitate the basic components in SOFABolt, make more use of network communication scenarios can benefit from unified. The product has been used in the micro-ants middleware services ( SOFARPC ), the message center, a distributed transaction, the distributed switch, and a distribution center and many other products.

SOFABolt basis include:

  • Basic communication functions (remoting-core)
    • Netty efficient use of network IO thread model
    • Connection Management (no lock up a connection, the timing chain scission, automatic reconnection)
    • Basic communication model (oneway, sync, future, callback)
    • Timeout control
    • Unpacked and bulk quantities Delivery Processor
    • Heartbeat and IDLE event handler
  • Frame protocol (protocol-skeleton)
    • Command and command processor
    • Codec processor
    • Heartbeat triggers
  • Proprietary protocol customized to achieve - RPC protocol (protocol-implementation)
    • RPC communication protocol design
    • Flexible timing control deserialization
    • Timeout request processing mechanism FailFast
    • A user request processor (UserProcessor)
    • Bi-engineering communication

Guess you like

Origin www.oschina.net/news/107086/sofabolt-1-5-5-released