technology logo
technology logo

10 best Go Microservice libraries in 2022

share link

by Open Weaver kits ✔ dot icon Updated: Jun 30, 2022

Guide Kit Guide Kit  

Go microservices are small, single-purpose services that can be independently deployed and scaled. This approach is often used in applications that need to scale well, such as production systems or web applications. One of the biggest advantages of using Go microservices libraries is that you get better performance and reliability than you would by writing your own code. You also avoid the maintenance overhead of managing a monolithic application. Kratos is an open source library that implements Erlang actor framework in Go. Actor-model based systems are one of the most popular patterns for building distributed systems. Actors are lightweight processes that communicate with each other via message passing, which makes them very scalable and durable. Kratos provides an implementation of Erlang actors for Go so you can easily build high performance, reliable systems on top of it. Nomad is another open source library that implements Erlang actor framework in Go and works with kubectl to manage your cluster from within your program code. Nomad supports all kinds of clusters (mock, test) but its main goal is to provide a consistent interface between operations that want a cluster (e.g., Kubernetes). Popular open source Go microservice libraries include:

kitby go-kit

Go doticonstar image 24760 doticonVersion:v0.12.0doticon
License: Permissive (MIT)

A standard library for microservices.

Support
    Quality
      Security
        License
          Reuse

            kitby go-kit

            Go doticon star image 24760 doticonVersion:v0.12.0doticon License: Permissive (MIT)

            A standard library for microservices.
            Support
              Quality
                Security
                  License
                    Reuse

                      go-microby asim

                      Go doticonstar image 17853 doticonVersion:v3.7.1doticon
                      License: Permissive (Apache-2.0)

                      A Go microservices framework

                      Support
                        Quality
                          Security
                            License
                              Reuse

                                go-microby asim

                                Go doticon star image 17853 doticonVersion:v3.7.1doticon License: Permissive (Apache-2.0)

                                A Go microservices framework
                                Support
                                  Quality
                                    Security
                                      License
                                        Reuse

                                          kratosby go-kratos

                                          Go doticonstar image 20264 doticonVersion:v2.6.1doticon
                                          License: Permissive (MIT)

                                          Your ultimate Go microservices framework for the cloud-native era.

                                          Support
                                            Quality
                                              Security
                                                License
                                                  Reuse

                                                    kratosby go-kratos

                                                    Go doticon star image 20264 doticonVersion:v2.6.1doticon License: Permissive (MIT)

                                                    Your ultimate Go microservices framework for the cloud-native era.
                                                    Support
                                                      Quality
                                                        Security
                                                          License
                                                            Reuse

                                                              nomadby hashicorp

                                                              Go doticonstar image 13390 doticonVersion:v1.3.12doticon
                                                              License: Weak Copyleft (MPL-2.0)

                                                              Nomad is an easy-to-use, flexible, and performant workload orchestrator that can deploy a mix of microservice, batch, containerized, and non-containerized applications. Nomad is easy to operate and scale and has native Consul and Vault integrations.

                                                              Support
                                                                Quality
                                                                  Security
                                                                    License
                                                                      Reuse

                                                                        nomadby hashicorp

                                                                        Go doticon star image 13390 doticonVersion:v1.3.12doticon License: Weak Copyleft (MPL-2.0)

                                                                        Nomad is an easy-to-use, flexible, and performant workload orchestrator that can deploy a mix of microservice, batch, containerized, and non-containerized applications. Nomad is easy to operate and scale and has native Consul and Vault integrations.
                                                                        Support
                                                                          Quality
                                                                            Security
                                                                              License
                                                                                Reuse

                                                                                  rpcxby smallnest

                                                                                  Go doticonstar image 7541 doticonVersion:v1.8.0doticon
                                                                                  License: Others (Non-SPDX)

                                                                                  Best microservices framework in Go, like alibaba Dubbo, but with more features, Scale easily. Try it. Test it. If you feel it's better, use it! 𝐉𝐚𝐯𝐚有𝐝𝐮𝐛𝐛𝐨, 𝐆𝐨𝐥𝐚𝐧𝐠有𝐫𝐩𝐜𝐱! build for cloud!

                                                                                  Support
                                                                                    Quality
                                                                                      Security
                                                                                        License
                                                                                          Reuse

                                                                                            rpcxby smallnest

                                                                                            Go doticon star image 7541 doticonVersion:v1.8.0doticon License: Others (Non-SPDX)

                                                                                            Best microservices framework in Go, like alibaba Dubbo, but with more features, Scale easily. Try it. Test it. If you feel it's better, use it! 𝐉𝐚𝐯𝐚有𝐝𝐮𝐛𝐛𝐨, 𝐆𝐨𝐥𝐚𝐧𝐠有𝐫𝐩𝐜𝐱! build for cloud!
                                                                                            Support
                                                                                              Quality
                                                                                                Security
                                                                                                  License
                                                                                                    Reuse

                                                                                                      tiltby tilt-dev

                                                                                                      Go doticonstar image 6454 doticonVersion:v0.32.0doticon
                                                                                                      License: Permissive (Apache-2.0)

                                                                                                      Define your dev environment as code. For microservice apps on Kubernetes.

                                                                                                      Support
                                                                                                        Quality
                                                                                                          Security
                                                                                                            License
                                                                                                              Reuse

                                                                                                                tiltby tilt-dev

                                                                                                                Go doticon star image 6454 doticonVersion:v0.32.0doticon License: Permissive (Apache-2.0)

                                                                                                                Define your dev environment as code. For microservice apps on Kubernetes.
                                                                                                                Support
                                                                                                                  Quality
                                                                                                                    Security
                                                                                                                      License
                                                                                                                        Reuse

                                                                                                                          goaby goadesign

                                                                                                                          Go doticonstar image 5096 doticonVersion:v3.11.3doticon
                                                                                                                          License: Permissive (MIT)

                                                                                                                          Design-based APIs and microservices in Go

                                                                                                                          Support
                                                                                                                            Quality
                                                                                                                              Security
                                                                                                                                License
                                                                                                                                  Reuse

                                                                                                                                    goaby goadesign

                                                                                                                                    Go doticon star image 5096 doticonVersion:v3.11.3doticon License: Permissive (MIT)

                                                                                                                                    Design-based APIs and microservices in Go
                                                                                                                                    Support
                                                                                                                                      Quality
                                                                                                                                        Security
                                                                                                                                          License
                                                                                                                                            Reuse

                                                                                                                                              kitexby cloudwego

                                                                                                                                              Go doticonstar image 5734 doticonVersion:v0.5.1doticon
                                                                                                                                              License: Permissive (Apache-2.0)

                                                                                                                                              Go RPC framework with high-performance and strong-extensibility for building micro-services.

                                                                                                                                              Support
                                                                                                                                                Quality
                                                                                                                                                  Security
                                                                                                                                                    License
                                                                                                                                                      Reuse

                                                                                                                                                        kitexby cloudwego

                                                                                                                                                        Go doticon star image 5734 doticonVersion:v0.5.1doticon License: Permissive (Apache-2.0)

                                                                                                                                                        Go RPC framework with high-performance and strong-extensibility for building micro-services.
                                                                                                                                                        Support
                                                                                                                                                          Quality
                                                                                                                                                            Security
                                                                                                                                                              License
                                                                                                                                                                Reuse

                                                                                                                                                                  imaginaryby h2non

                                                                                                                                                                  Go doticonstar image 4825 doticonVersion:v1.2.4doticon
                                                                                                                                                                  License: Permissive (MIT)

                                                                                                                                                                  Fast, simple, scalable, Docker-ready HTTP microservice for high-level image processing

                                                                                                                                                                  Support
                                                                                                                                                                    Quality
                                                                                                                                                                      Security
                                                                                                                                                                        License
                                                                                                                                                                          Reuse

                                                                                                                                                                            imaginaryby h2non

                                                                                                                                                                            Go doticon star image 4825 doticonVersion:v1.2.4doticon License: Permissive (MIT)

                                                                                                                                                                            Fast, simple, scalable, Docker-ready HTTP microservice for high-level image processing
                                                                                                                                                                            Support
                                                                                                                                                                              Quality
                                                                                                                                                                                Security
                                                                                                                                                                                  License
                                                                                                                                                                                    Reuse

                                                                                                                                                                                      TarsGoby TarsCloud

                                                                                                                                                                                      Go doticonstar image 3163 doticonVersion:v1.3.10doticon
                                                                                                                                                                                      License: Permissive (BSD-3-Clause)

                                                                                                                                                                                      A high performance microservice framework in golang. A linux foundation project.

                                                                                                                                                                                      Support
                                                                                                                                                                                        Quality
                                                                                                                                                                                          Security
                                                                                                                                                                                            License
                                                                                                                                                                                              Reuse

                                                                                                                                                                                                TarsGoby TarsCloud

                                                                                                                                                                                                Go doticon star image 3163 doticonVersion:v1.3.10doticon License: Permissive (BSD-3-Clause)

                                                                                                                                                                                                A high performance microservice framework in golang. A linux foundation project.
                                                                                                                                                                                                Support
                                                                                                                                                                                                  Quality
                                                                                                                                                                                                    Security
                                                                                                                                                                                                      License
                                                                                                                                                                                                        Reuse

                                                                                                                                                                                                          See similar Kits and Libraries