Fizz design foundation

Fizz is based on a microservice framework and supports a clustered architecture that can be used with multiple traffic gateway servers to improve microservice architecture control. Also consider the special case of many enterprises: How many service forms are provided externally? Some are the old Stardalone stand-alone service, which may be provided externally in the form of WebService, or some of the microservices have been upgraded. Some provide external services with data, some have upgraded the microservices, but some use HTTP interface, and some use registry to call. Licensing comes in all shapes and sizes. Because Fizz itself is designed in this context. So here to provide some programs for your reference.

Cluster Architecture Solution

In the figure above, Nginx is used as the gateway to the exet, and Fizz is placed behind Nginx as the API gateway. Here Nginx could also use existing OpenResty products instead, such as Kong, or APISIX. Some enterprises may use Kong+Nginx in operation and maintenance, so Fizz can be used as the gateway of micro services and application gateway in r&d.

Single machine Architecture Solution

For small and medium sized enterprises with limited server resources, Fizz can directly replace the functionality of Nginx and solve the problem of multiple systems parallelism. Later, as the business grows, the micro-service architecture can be gradually upgraded. It can also be used to solve the problem that the team has multiple programming languages: for example, the team has PHP and NodeJS before, but the authorization is inconsistent. Then, the team can forward through Fizz to provide consistent external interface request access experience.

Web server solution

Fizz is a high performance gateway that doesn’t prevent Fizz from being a Web server of choice. As a syndication service and a small amount of Web programming, engineers using Javascript or Groove can even use it as a Web server for online programming, aggregating various interfaces, storing data, and calling caches. All of it.

introduce

Author: linwaiwai

Fizz Gateway: github.com/wehotel/fiz…

Official technical exchange group

Fizz Official Technical Exchange ① Group (full)

Fizz Official Technical Exchange group ② (full)

Fizz Official technical exchange group: 512164278