Stage Soul gateway use experience

Through a period of contact with the Soul gateway, summed up some OF the advantages of the Soul gateway I think

On the use

  • The interface configuration greatly reduces the difficulty of using the gateway, which is much easier to use than Springcloud Gateway
  • The plug-in configuration makes it easy for developers with a bit of foundation to integrate basic gateway-related components. You can also customize components that plug into the current Soul Gateway plug-in
  • For SpringBoot use, all existing plug-ins are provided as starter,
  • In the configuration of plug-in attributes, it replaces the previous configuration files or annotations of current limiting fuse components with interface configuration, which is easy to use. And achieve zero code intrusion. You just need to add interface annotations on the client side
  • The uninstallation of each plug-in or rule can be unified by rules such as open and close principles
  • Flexible and diverse data synchronization modes, using different data synchronization modes for different scenarios

technical

  • The use of various design modes, including responsibility chain mode, observer mode, template method mode, strategy mode, simple factory mode, facade mode and so on, makes people feel the exquisite design of gateway
  • The integration process of various plug-ins follows a unified principle and provides a template for developers to customize other plug-ins. It also provides a reference for us to write our own code and pay attention to code specification
  • Responsive programming improves performance while keeping up with technological trends.
  • Complete layered architecture, for different aspects of use, different layers, and a module does only one thing. Fully embodies the principle of single responsibility.
  • The use of new features of the language framework, such as ObjectProvider
  • Partitioning and precision of function module configuration, discriminating selector and rule metadata and so on perform different operations for different changes. In addition, incremental and full synchronization is realized, and performance and function requirements are fully considered
  • Integrated use of some of the other great middleware and open source framework features, such as generalized calls, SPI, asynchronous programming,

Current problems

  • The version and comprehensiveness of the document could be improved
  • There are not enough examples of high availability and high concurrency

expect

  • It is hoped that the Soul gateway can be comprehensively used in the future work
  • I was able to use more plug-ins integrated with Soul. I did not understand many plug-ins in the early learning, so I could only briefly analyze the process

Welcome to search attention to myself and friends jointly developed by the micro channel face small procedures [factory interview assistant] and the public number [micro view technology], and summary of classified interview questions github.com/zhendiao/Ja…