goa vs linkerd: What are the differences?
Developers describe goa as "A design driven approach for building microservices in Go". goa is a framework for building microservices in Go using a unique design-first approach. goa provides a novel approach for developing microservices that saves time when working on independent services and helps with keeping the overall system consistent. On the other hand, linkerd is detailed as "Twitter-Style Operability for Microservices". linkerd is an out-of-process network stack for microservices. It functions as a transparent RPC proxy, handling everything needed to make inter-service RPC safe and sane--including load-balancing, service discovery, instrumentation, and routing.
goa and linkerd can be categorized as "Microservices" tools.
Some of the features offered by goa are:
- Creating a service with goa starts with the design. The goa DSL lets you describe the global properties, types and endpoints that make up the service API. The apidsl package docs provides a quick reference to all the DSL functions.
- Once the design of the API is in place goagen generates the corresponding data structures, validation code and handlers. Handlers are defined as interface methods. Implementing the service is thus as simple as implementing the generated interfaces.
- The best part about the goa DSL is that the engine is completely decoupled. Plugins can implement custom DSLs to extend the concepts described in the design. Plugins can also generate arbitrary outputs.
On the other hand, linkerd provides the following key features:
- Adaptive load-balancing
- Fine-grained instrumentation
- Abstractions over service discovery
goa and linkerd are both open source tools. It seems that linkerd with 5.01K GitHub stars and 501 forks on GitHub has more adoption than goa with 3.46K GitHub stars and 389 GitHub forks.