Go language has a microservice framework, for example: 1. Istio is an open source microservice management, protection and monitoring framework; 2. Go-kit is a distributed development kit of Go language for Develop microservices; 3. Go-zero, a web and rpc framework that integrates various engineering practices; 4. Go-micro, a microservice ecosystem focused on simplifying the development of distributed systems; 5. Kratos; 6 , CloudWeGo-Kitex; 7, Goa; 8, Dubbo-go, etc.
The operating environment of this tutorial: Windows 7 system, GO version 1.18, Dell G3 computer.
The microservice framework divides the development of an application into independent business development of many small services. These services are generally built around business rules and can be developed in different languages and use different data stores. Ultimately, each service runs on its own schedule. And they use lightweight communication mechanisms to communicate with each other.
So is there a microservice framework based on go language? The answer is: Yes! Let’s share some microservice frameworks developed in Go language.
1.Istio(31.7K)
Project Introduction: Istio is developed by Google , IBM and LyftOpen source microservice management, protection and monitoring framework. Using istio, you can easily create a service network with load balancing, inter-service authentication, monitoring and other functions without any modification to the service code.
Warehouse address: https://github.com/istio/istiohttps://github.com/istio/istio
Official document address: https://istio.io/latest/docs/https://istio.io/ latest/docs/
##2.Go-kit(24.1K)
Project Introduction: Go-kit is a distributed development package of Go language, used to develop microservices.Warehouse address:https://github.com/go-kit/kit/https://github.com/go -kit/kit/
Official document address:https://gokit.io/
3.Go-zero(24.1K)
Project introduction: go-zero is a web and rpc framework.Warehouse address:https://github.com/tal-tech/go-zerohttps://github.com/ tal-tech/go-zero
Official document address:https://go-zero.dev/cn/docs/introduction
4.Go-micro(19.6K)
Project introduction: Micro is a microservice ecosystem focused on simplifying the development of distributed systems system. The pluggable plug-in design provides a powerful pluggablearchitecture to ensure that basic components can be flexibly replaced.
Warehouse address: https://github.com/asim/go-microOfficial document address: https://go-micro.dev/
Chinese document: Introduction · go-micro microservice development Chinese manual · KanyunMicro is a microservice ecosystem. The goal is to simplify distributed system development. Technology is evolving rapidly. Now cloud computing can give us almost unlimited scale capabilities, but it is still difficult to use existing tools to use scale capabilities. Micro is trying to solve this problem, with developers focusing on it first. At its core, Micro is easy to use and anyone can easily start writing microservices. As you scale to hundreds of services, Micro will provide the essential tools you need to manage your microservices environmenthttps://www.kancloud.cn/linimbus/go-micro/529015
5.Kratos(19.2K)
Project Introduction: Bilibili (Bilibili) is an open source Go microservice framework, including a large number of microservice-related frameworks and tools.
Warehouse address: https://github.com/cloudwego/kitex
Official document address: https://go-kratos.dev/docs/
6.CloudWeGo-Kitex(5.2K)
Project Introduction:bytebeat, Since KiteX was officially released in 2020.04, the company has provided 8k internal services and over 100 million QPS. KiteX is the next-generation high-performance, highly scalable Go RPC framework developed by the ByteDance Framework Group. In addition to rich service governance features, it also has the following features compared to other frameworks: It integrates the self-developed network library Netpoll; supports multiple message protocols (Thrift, Protobuf) and multiple interaction methods (Ping-Pong, Oneway, Streaming); Provides a more flexible and extensible code generator.
Warehouse address: https://github.com/cloudwego/kitex
Official document address: https://www.cloudwego.io/zh/docs/overview/
7.Goa(4.9K)
Project introduction: Goa is a Go application for Build a microservice framework and adopt a unique design-first approach
Warehouse address: https://github.com/goadesign/goa
Official document address: https:// goa.design/
8.Dubbo-go(4.2K)
Project Introduction:Ali, officially released by the Apache Software Foundation, the Go language joins the Dubbo ecosystem. The architecture is based on dubbo's extension module and layered code design, mainly solving the problems of Go projects and Java & Dubbo projects. Interoperability issues, and also provides an RPC and microservice for the Go project
Warehouse address: https://github.com/apache/dubbo-go
Official document address :https://dubbogo.github.io/dubbo-go-website/zh-cn/
9.Jupiter(3.9K)
Project Introduction: Douyu is an open source microservice governance framework that provides rich backend functions and manages application resources and configurations. Visualize application performance, configuration, etc.
Warehouse address: https://github.com/douyu/jupiter
Official document address: http://jupiter.douyu.com/
10.Tars-go(3.1K)
##Project Introduction:Tencent, Tarsgo is a high-performance RPC framework based on the Golang programming language using the Tars protocol
Warehouse address: https://github.com/TarsCloud/TarsGoOfficial document address: https ://tarscloud.github.io/TarsDocs/SUMMARY.html#TarsGoAttachment: Polaris-polaris-go Polaris is Tencent’s open source service discovery and governance center, dedicated to It is used to solve service visibility, fault tolerance, flow control and security issues in distributed or microservice architecture.
Warehouse address: https://github.com/polarismesh/polarisOfficial document address: https://polarismesh.cn/#/
11.Jaeger
Jaeger is Uber's distributed tracking system, built based on the principles of google dapper, with Cassandra as the storage layer.12.fabio
fabio is a fast, simple and zero-configuration load balancing router developed by the eBay team using golang that allows applications deployed by consul to quickly support http(s). [Related recommendations: Go video tutorial]
13.gizmo
gizmo is open sourced by The New York Times Go microservices tool that provides the following features: standardized configuration and logging; state monitoring endpoints with configurable policies; configuration for managing pprof endpoints and log levels; structured logging that provides basic request information; useful metrics for endpoints; graceful stopping Service; basic interface that defines expectations and vocabulary.
14.kite
kite is a microservice framework based on go language. Kite is a framework within Koding Company. The framework provides Service discovery, multiple authentication functions, the server communicates through RPC, and also provides a websocket js library to facilitate communication between browsers and servers.
15.hystrix-go
hystrix-go is used to isolate remote system calls, third-party library calls, and service calls , a library that provides a circuit breaker mechanism to avoid avalanche effects, the go version of Hystrix. Note Hystrixs is a java library open sourced by Netflix.
16.Gateway
Gateway is an HTTP-based API gateway implemented using go. Features: API aggregation; flow control; circuit breaker; load balancing; health check; monitoring; message routing; backend management WebUI. What can be done: Plan more friendly URLs for callers. The results of aggregating multiple APIs are returned to the API caller, which is beneficial to the mobile terminal, and the backend can implement atomic interfaces. Protect backend API services from being overwhelmed by sudden abnormal traffic. Provide a circuit breaker mechanism to enable the back-end API Server to have self-recovery capabilities. With the help of message routing capabilities, grayscale publishing and AB testing are realized.
17.rainbond
Yunbang is an application-centered open source PaaS that deeply integrates Kubernetes’ container management and Service Mesh micro-services. Service architecture best practices meet the needs of agile development, efficient operation and maintenance, and lean management required to support rapid business development.
18.appdash
appdash is a go version of distributed application tracking system, built based on the principle of google dapper.
19.Hprose
Hprose is the abbreviation of high-performance remote object service engine - the preferred engine for microservices. It is an advanced lightweight cross-language cross-platform object-oriented high-performance remote dynamic communication middleware. Not only is it easy to use, it's also powerful. You only need a little time to learn, and you can use it to easily build cross-language and cross-platform distributed application systems.
For more programming related knowledge, please visit: Programming Video! !
The above is the detailed content of Does go language have a microservices framework?. For more information, please follow other related articles on the PHP Chinese website!