SOFABolt is a network communication framework based on Netty developed by Ant Financial Services Group.
Bolt is named after the Disney animation - Bolt. It is a lightweight, easy-to-use, high-performance, and easy-to-extend communication framework based on Netty best practices. Over the years, we have solved many problems in network communication with microservices and message middleware, accumulated a lot of experience, and continue to optimize and improve. We hope to integrate the summarized solutions into the basic component SOFABolt. Allowing more scenarios using network communication to benefit uniformly. At present, this product has been used in many products such as Ant middleware's microservices (SOFARPC), message center, distributed transactions, distributed switches, and configuration centers.
Using SOFABolt as a remote communication framework, users can directly use our built-in RPC communication protocol without worrying about the details of how to implement a private protocol. It is very simple to start the client and server, and register a user request handler at the same time to complete the remote call. At the same time, basic features such as connection management and heartbeat are available by default. The currently supported call types are shown in the figure below:
Using SOFABolt as a protocol framework, users can reuse basic functions such as the basic communication model and the interface definitions included in the protocol. Then customize the Command type, Command processor, codec processor, etc. according to the private protocol you designed. As shown in the figure below, the Command definition structure of RPC and messages:
Open code allows submission of contributed code after signing an agreement. For details, please refer to how to participate in contributing SOFABolt code.
Modifications and changes to the SOFABolt code need to comply with the copyright agreement.
Public account: Financial Grade Distributed Architecture (Antfin_SOFA): Committed to creating a first-class technology exchange platform for the application of distributed technology in financial scenarios, focusing on exchanging the most cutting-edge and referenceable technical solutions and implementation routes in the financial technology industry.
DingTalk
DingTalk communication group:
Financial grade distributed architecture SOFAStack 1 group, group number: 23127468 Full
Financial grade distributed architecture SOFAStack 2 group, group number: 23195297 Full
Financial grade distributed architecture SOFAStack 3 group, group number: 23390449 Full
Financial grade distributed architecture SOFAStack 4 group, group number: 23372465 Full
Financial grade distributed architecture SOFAStack 5 group, group number: 30315793 Full
Financial grade distributed architecture SOFAStack 6 group, group number: 34197075
DingTalk Communication Group: SOFAStack Gold User Service Group. If you have used SOFAStack related components in a production environment, please let us know and we will invite you to join this group for faster communication and more efficient online communication. Use question support.