goa VS dapr

Compare goa vs dapr and see what are their differences.

goa

🌟 Goa: Elevate Go API development! 🚀 Streamlined design, automatic code generation, and seamless HTTP/gRPC support. ✨ (by goadesign)

dapr

Dapr is a portable, event-driven, runtime for building distributed applications across cloud and edge. (by dapr)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
goa dapr
40 76
5,438 23,147
0.9% 1.2%
9.3 9.7
10 days ago 9 days ago
Go Go
MIT License Apache License 2.0
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.

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 2023-12-09.
  • 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
  • Does this project structure make sense?
    6 projects | /r/golang | 5 Apr 2023
    I typically use Goa for my controller. It makes the API Controller, API models, and OpenAPI Documentation. Making the OpenAPI documentation can be a pain, so this really helps. https://goa.design/

dapr

Posts with mentions or reviews of dapr. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-09.
  • Comparing Azure Functions vs Dapr on Azure Container Apps
    3 projects | dev.to | 9 Oct 2023
    Azure Container Apps hosting of Azure Functions is a way to host Azure Functions directly in Container Apps - additionally to App Service with and without containers. This offering also adds some Container Apps built-in capabilities like the Dapr microservices framework which would allow for mixing microservices workloads on the same environment with Functions.
  • Episode 150: myNewsWrap – SAP and Microsoft
    3 projects | dev.to | 16 Sep 2023
    Having containers is nice but everything (well ... nearly everything 😉) gets better with Dapr as an outstanding tool for app development in the container-based area. Here we go what might be worth a look:
  • Ensuring Seamless Operations: Troubleshooting and Resolving Dapr Certificate Expiry
    2 projects | dev.to | 20 Jul 2023
    A CNCF project, the Distributed Application Runtime (Dapr) provides APIs that simplify microservice connectivity. Whether your communication pattern is service to service invocation or pub/sub messaging, Dapr helps you write resilient and secured microservices. Essentially, it provides a new way to build microservices by using the reusable blocks implemented as sidecars.
    2 projects | dev.to | 20 Jul 2023
    I had no overview of the Dapr system which caused me a lot of time in trying to get to the root cause. So first thing I did was to create a nice dashboard where we can have an overview of our Dapr services and their certificates. I started from the official one from Grafana for this. But the dashboard is a bit outdated so I had some issues with the queries, so I did some changes and you can find the JSON of the dashboard below if it helps anyone.
  • Modular Architecture Design question | Re-using modules in multiple applications
    3 projects | /r/csharp | 17 May 2023
    I would like to build modules, either in a modular monolith style, or in a microservice style using DAPR and/or Tye.
  • Ask HN: Modern Node.js Request Fault Tolerance Library?
    2 projects | news.ycombinator.com | 3 May 2023
    Just heard about Dapr last week. Might be more than what you are asking, though but it’s probably worth a look.

    https://dapr.io/

  • Creating a Dapr pluggable component for Supabase
    5 projects | dev.to | 25 Apr 2023
    From my perspective, I’d like to explore further how Dapr can integrate with other Supabase features. It would also be great to see a Supabase state store as a built-in component that’s available in the Dapr runtime without the need of running the pluggable component separately. I also hope the proposed DocumentStore building block will get some traction this year, since this will pair up very nicely with Supabase and other PostgreSQL stores.
  • Kv.js
    2 projects | news.ycombinator.com | 17 Apr 2023
    Could you use Kubernetes to solve this? Have a single pod running the Redis instance and then multiple running Node.js talking to the Redis instance via something like DAPR (https://dapr.io/)
  • Anything close beam/otp for other languages?
    7 projects | /r/elixir | 7 Apr 2023
    Dapr is also building a workflow orchestrator into their microservice system. It's almost in Beta, and when you combine it with Dapr's Virtual Actors, it looks powerful. It will also let you integrate a workflow engine like Temporal, too. https://dapr.io/
  • (April) - Monthly Shameless Plug
    4 projects | /r/platformengineering | 5 Apr 2023
    This fantastic blog from Mauricio (Salaboy) Salatino shows how tools like Kratix (kratix.io) and Dapr (dapr.io) can help streamline golden paths: https://blog.dapr.io/posts/2023/04/02/creating-dapr-enabled-platforms-with-kratix/

What are some alternatives?

When comparing goa and dapr you can also consider the following projects:

MassTransit - Distributed Application Framework for .NET

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.

camel-k - Apache Camel K is a lightweight integration platform, born on Kubernetes, with serverless superpowers

tye - Tye is a tool that makes developing, testing, and deploying microservices and distributed applications easier. Project Tye includes a local orchestrator to make developing microservices easier and the ability to deploy microservices to Kubernetes with minimal configuration.

OpenFaaS - OpenFaaS - Serverless Functions Made Simple

GoSwagger - Swagger 2.0 implementation for go

Nomad - 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.

NServiceBus - Build, version, and monitor better microservices with the most powerful service platform for .NET

go-micro - A Go microservices framework

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