search
HomeBackend DevelopmentGolangDoes go language have a microservices framework?

Does go language have a microservices framework?

Nov 30, 2022 pm 07:29 PM
gogolanggo languageMicroservices framework

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.

Does go language have a microservices framework?

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 pluggable

architecture to ensure that basic components can be flexibly replaced.

Warehouse address: https://github.com/asim/go-micro

Official 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/TarsGo

Official document address: https ://tarscloud.github.io/TarsDocs/SUMMARY.html#TarsGo

Attachment: 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/polaris

Official 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!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Golang and Python: Understanding the DifferencesGolang and Python: Understanding the DifferencesApr 18, 2025 am 12:21 AM

The main differences between Golang and Python are concurrency models, type systems, performance and execution speed. 1. Golang uses the CSP model, which is suitable for high concurrent tasks; Python relies on multi-threading and GIL, which is suitable for I/O-intensive tasks. 2. Golang is a static type, and Python is a dynamic type. 3. Golang compiled language execution speed is fast, and Python interpreted language development is fast.

Golang vs. C  : Assessing the Speed DifferenceGolang vs. C : Assessing the Speed DifferenceApr 18, 2025 am 12:20 AM

Golang is usually slower than C, but Golang has more advantages in concurrent programming and development efficiency: 1) Golang's garbage collection and concurrency model makes it perform well in high concurrency scenarios; 2) C obtains higher performance through manual memory management and hardware optimization, but has higher development complexity.

Golang: A Key Language for Cloud Computing and DevOpsGolang: A Key Language for Cloud Computing and DevOpsApr 18, 2025 am 12:18 AM

Golang is widely used in cloud computing and DevOps, and its advantages lie in simplicity, efficiency and concurrent programming capabilities. 1) In cloud computing, Golang efficiently handles concurrent requests through goroutine and channel mechanisms. 2) In DevOps, Golang's fast compilation and cross-platform features make it the first choice for automation tools.

Golang and C  : Understanding Execution EfficiencyGolang and C : Understanding Execution EfficiencyApr 18, 2025 am 12:16 AM

Golang and C each have their own advantages in performance efficiency. 1) Golang improves efficiency through goroutine and garbage collection, but may introduce pause time. 2) C realizes high performance through manual memory management and optimization, but developers need to deal with memory leaks and other issues. When choosing, you need to consider project requirements and team technology stack.

Golang vs. Python: Concurrency and MultithreadingGolang vs. Python: Concurrency and MultithreadingApr 17, 2025 am 12:20 AM

Golang is more suitable for high concurrency tasks, while Python has more advantages in flexibility. 1.Golang efficiently handles concurrency through goroutine and channel. 2. Python relies on threading and asyncio, which is affected by GIL, but provides multiple concurrency methods. The choice should be based on specific needs.

Golang and C  : The Trade-offs in PerformanceGolang and C : The Trade-offs in PerformanceApr 17, 2025 am 12:18 AM

The performance differences between Golang and C are mainly reflected in memory management, compilation optimization and runtime efficiency. 1) Golang's garbage collection mechanism is convenient but may affect performance, 2) C's manual memory management and compiler optimization are more efficient in recursive computing.

Golang vs. Python: Applications and Use CasesGolang vs. Python: Applications and Use CasesApr 17, 2025 am 12:17 AM

ChooseGolangforhighperformanceandconcurrency,idealforbackendservicesandnetworkprogramming;selectPythonforrapiddevelopment,datascience,andmachinelearningduetoitsversatilityandextensivelibraries.

Golang vs. Python: Key Differences and SimilaritiesGolang vs. Python: Key Differences and SimilaritiesApr 17, 2025 am 12:15 AM

Golang and Python each have their own advantages: Golang is suitable for high performance and concurrent programming, while Python is suitable for data science and web development. Golang is known for its concurrency model and efficient performance, while Python is known for its concise syntax and rich library ecosystem.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
Will R.E.P.O. Have Crossplay?
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)