go-micro VS goa

Compare go-micro vs goa and see what are their differences.

goa

🌟 Goa: Elevate Go API development! πŸš€ Streamlined design, automatic code generation, and seamless HTTP/gRPC support. ✨ (by goadesign)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
go-micro goa
23 41
21,411 5,465
0.5% 0.5%
6.5 9.3
6 days ago 10 days ago
Go Go
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

go-micro

Posts with mentions or reviews of go-micro. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-05.
  • Ask HN: What are some examples of cloud lock-in?
    4 projects | news.ycombinator.com | 5 Dec 2022
    Had similar goals. Started by writing Go interfaces for it with Go Micro - https://go-micro.dev then opted for the platform service model as you mentioned with Micro - https://micro.dev

    I think whether it's Dapr, Micro or something else, the platform service model with well defined interfaces is the way to go. I don't think a lot of people get this yet so it's still going to be a few years before it takes off.

  • Go Micro: a standard library for distributed systems development
    1 project | /r/patient_hackernews | 30 Sep 2022
    1 project | /r/hackernews | 30 Sep 2022
    8 projects | news.ycombinator.com | 30 Sep 2022
  • Real World Micro Services
    16 projects | news.ycombinator.com | 28 Sep 2022
  • Most Popular GoLang Frameworks
    13 projects | dev.to | 20 Sep 2022
    Website: https://github.com/go-micro/go-micro
  • Connect: A Better gRPC
    10 projects | news.ycombinator.com | 1 Jun 2022
    Good luck Buf! I spent many years building an RPC framework around gRPC called Go Micro (https://github.com/asim/go-micro). I think one of the biggest issues was just resources to see it through but also my own desire to move beyond it towards a platform and services. I hope you're able to bring some sense to the gRPC world. It's mostly a networking library. The ecosystem around it is too low level. If anything abstractions and more developer friendly tooling would be a massive improvement. No one needs to see or touch the guts of gRPC. I wish I didn't have to peak into the internals but unfortunately that's what it takes to integrate it elsewhere.

    I hope you build something awesome for the community!

  • A Command-line tool to statistics the GitHub repositories
    5 projects | dev.to | 25 May 2022
    $ github-compare zeromicro/go-zero go-kratos/kratos asim/go-micro go-kit/kit β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ METRICS β”‚ ZEROMICRO/GO-ZERO β”‚ GO-KRATOS/KRATOS β”‚ ASIM/GO-MICRO β”‚ GO-KIT/KIT β”‚ β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ β”‚ 🏠 homepage β”‚ https://go-zero.dev β”‚ https://go-kratos.dev β”‚ https://go-micro.dev β”‚ https://gokit.io β”‚ β”‚ 🌎 language β”‚ Go β”‚ Go β”‚ Go β”‚ Go β”‚ β”‚ πŸ“Œ license β”‚ MIT License β”‚ MIT License β”‚ Apache License 2.0 β”‚ MIT License β”‚ β”‚ ⏰ age β”‚ 655 days β”‚ 1231 days β”‚ 2688 days β”‚ 2668 days β”‚ β”‚ 🌟 stars β”‚ 17778(27/d) β”‚ 17856(14/d) β”‚ 18233(6/d) β”‚ 23084(8/d) β”‚ β”‚ πŸ“Š latestDayStarCount β”‚ 33 (up) β”‚ 7 (down) β”‚ 2 (down) β”‚ 10 (up) β”‚ β”‚ πŸ“‰ latestWeekStarCount β”‚ 227 (up) β”‚ 64 (down) β”‚ 31 (down) β”‚ 44 (down) β”‚ β”‚ πŸ“ˆ latestMonthStarCount β”‚ 916 β”‚ 531 β”‚ 176 β”‚ 235 β”‚ β”‚ πŸ‘ forks β”‚ 2520(3/d) β”‚ 3446(2/d) β”‚ 2087(0/d) β”‚ 2315(0/d) β”‚ β”‚ πŸ‘€ watchers β”‚ 266 β”‚ 424 β”‚ 510 β”‚ 690 β”‚ β”‚ πŸ’ͺ issues β”‚ 50/741 β”‚ 51/793 β”‚ 76/914 β”‚ 35/548 β”‚ β”‚ πŸ’― pull requests β”‚ 13/1155 β”‚ 10/1221 β”‚ 0/1513 β”‚ 9/627 β”‚ β”‚ πŸ‘₯ contributors β”‚ 132 β”‚ 198 β”‚ 166 β”‚ 221 β”‚ β”‚ πŸš€ releases β”‚ 63 β”‚ 49 β”‚ 206 β”‚ 12 β”‚ β”‚ πŸ”­ release circle(avg) β”‚ 10 days β”‚ 25 days β”‚ 13 days β”‚ 222 days β”‚ β”‚ 🎯 lastRelease β”‚ 24 day(s) ago β”‚ 1 day(s) ago β”‚ 5 day(s) ago β”‚ 8 month(s) ago β”‚ β”‚ πŸ•¦ lastCommit β”‚ 2 day(s) ago β”‚ 2 hour(s) ago β”‚ 5 day(s) ago β”‚ 6 day(s) ago β”‚ β”‚ πŸ“ lastUpdate β”‚ 47 minute(s) ago β”‚ 16 minute(s) ago β”‚ 1 hour(s) ago β”‚ 1 hour(s) ago β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
  • Which microservice framework should I choose?
    9 projects | /r/golang | 15 Apr 2022
  • Go Micro – A framework for distributed systems development
    1 project | /r/CKsTechNews | 31 Dec 2021

goa

Posts with mentions or reviews of goa. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-24.
  • IBM to Acquire HashiCorp, Inc
    5 projects | news.ycombinator.com | 24 Apr 2024
    My experience of Golang is that dependency injection doesn't really have much benefit. It felt like a square peg in a round hole exercise when my team considered it. The team was almost exclusively Java/Typescript Devs so it was something that we thought we needed but I don't believe we actually missed once we decided to not pursue it.

    If you are looking at OpenAPI in Golang I can recommend having a look at https://goa.design/. It's a DSL that generates OpenAPI specs and provides an implementation of the endpoints described. Can also generate gRPC from the same definitions.

    We found this removed the need to write almost all of the API layer and a lot of the associated validation. We found the generated code including the server element to be production ready from the get go.

  • Microservices communication
    3 projects | /r/golang | 9 Dec 2023
    See https://goa.design/. It automates all the comms stuff, so you just write: 1) a design file showing your functions, 2) an implantation of those functions, and 3) a very generic "main.go" (basically the same for all your services) that decides "how is this exposed over gRPC or REST or other comms?". The rest of the code is generated.
  • Create Production-Ready SDKs with Goa
    9 projects | dev.to | 22 Nov 2023
    Perhaps the easiest way to find out how to do something (especially when using Meta) is to search the test cases when you have cloned the source code.
  • Which is the best framework to create web apps with go?
    6 projects | /r/golang | 29 Jun 2023
    If you really need a framework, you can take a look at Echo or, for a contract-first approach, https://goa.design/
  • OpenAPI v4 Proposal
    24 projects | news.ycombinator.com | 31 May 2023
    Few folks in here are (rightly) frustrated with the code generation story and broader tooling support around the OpenAPI standard. I've found a few alternative approaches quite nice to work with:

    - Use a DSL to describe your service and have it spit out the OpenAPI spec as well as server stubs. In other words, I wouldn't bother writing OpenAPI directly - it's an artifact that is generated at build time. As a Go user, I quite like Goa (https://goa.design/) but there are others shared in here like TypeSpec.

    - There are situations where sticking a backend-for-frontend (BFF) in front of APIs can yield great productivity boosts. For example, in the past we built a thin GraphQL proxy that calls out to a poorly structured REST API. Integrating with that was much more convenient. Most recently, I've been playing with a BFF built with tRPC (https://trpc.io/) which calls out to a REST API. It seemed to provide an even better experience if you use TypeScript on the front-end and in the BFF. It does not have a codegen step and I was really pleased with how fast I could iterate with it - granted it was a toy project.

  • Beginner-friendly API made with Go following hexagonal architecture.
    5 projects | /r/golang | 21 May 2023
    One of the biggest issues I see is that you are using the same models for API as you are for the database. That wouldn’t fly in a real work system. And even though your doing simple CRUD I would introduce another layer for business logic. You should never have the Controller calling you database code directly. It never β€œstays” that simplistic. One of the easiest ways to deal with this is to use Goa. https://goa.design/ It takes care of generating your API models and it creates the Interfaces to implement for your business logic. Furthermore it creates OpenAPI documentation (something missing in this design that is a must for commercial development).
  • Go with PHP
    19 projects | news.ycombinator.com | 10 May 2023
    I left PHP for Go.

    - with http://sqlc.dev I don't have to write ORM or model code anymore.

    - with http://goa.design I can have well-documented API's that any team can generate a client for in any language. It also generates the HTTP JSON and gRPC servers for me so I can focus on my logic.

    - with https://github.com/99designs/gqlgen I can define GraphQL revolvers that play well with sqlc (any RDBMS) or I can use a key-value store.

    - speaking of key-value stores, Go allows them to be embedded! Even SQLite now has the https://litestream.io/ project to make it super simple to use a durable, always backed-up SQLite database even in a serverless context.

    Go is faster, uses less memory, and has really-well designed stdlib without all the bugs I used to face trying to use the PHP stdlib.

  • Do you really need microservices?
    2 projects | /r/Python | 9 May 2023
    Goa and Kong are some of the best frameworks to develop and deploy microservices. They provide features such as out-of-the-box support for service discovery, routing and authentication that make it easier to build more complex applications. There are also newer architectural frameworks with less steep learning curves like GPTDeploy that lets you build and deploy microservices with a single command.
  • Dumb question about APIs, Mux and Go
    3 projects | /r/learngolang | 27 Apr 2023
    Or the one we use at work: https://goa.design/ Goa does a lot more and maybe more than you need. We use it as it can generate both REST and gRPC as well as API models and OpenAPI documentation (JSON and YAML).
  • Why is gin so popular?
    6 projects | /r/golang | 18 Apr 2023

What are some alternatives?

When comparing go-micro and goa you can also consider the following projects:

go-zero - go-zero is a web and rpc framework written in Go. It's born to ensure the stability of the busy sites with resilient design. Builtin goctl greatly improves the development productivity. [Moved to: https://github.com/zeromicro/go-zero]

Gin - Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.

go-kit - A standard library for microservices.

micro - A Go service development platform

GoSwagger - Swagger 2.0 implementation for go

grpc-go - The Go language implementation of gRPC. HTTP/2 based RPC

oapi-codegen - Generate Go client and server boilerplate from OpenAPI 3 specifications

go-zero - A cloud-native Go microservices framework with cli tool for productivity.

Echo - High performance, minimalist Go web framework

dapr - Dapr is a portable, event-driven, runtime for building distributed applications across cloud and edge.

gqlgen - go generate based graphql server library