kit 0,6,5,0,9,5,10,0 travis-ci

A standard library for microservices.

1 year after MIT

Go kit Circle CI Travis CI GoDoc Coverage Status Go Report Card Sourcegraph

Go kit is a distributed programming toolkit for building microservices in large organizations. We solve common problems in distributed systems, so you can focus on your business logic.

Motivation

Go has emerged as the language of the server, but it remains underrepresented in large, consumer-focused tech companies like Facebook, Twitter, Netflix, and SoundCloud. These organizations have largely adopted JVM-based stacks for their business logic, owing in large part to libraries and ecosystems that directly support their microservice architectures.

To reach its next level of success, Go needs more than simple primitives and idioms. It needs a comprehensive toolkit, for coherent distributed programming in the large. Go kit is a set of packages and best practices, which provide a comprehensive, robust, and trustable way of building microservices for organizations of any size.

For more details, see the website, the motivating blog post and the video of the talk. See also the Go kit talk at GopherCon 2015.

Goals

  • Operate in a heterogeneous SOA — expect to interact with mostly non-Go-kit services
  • RPC as the primary messaging pattern
  • Pluggable serialization and transport — not just JSON over HTTP
  • Operate within existing infrastructures — no mandates for specific tools or technologies

Non-goals

  • Supporting messaging patterns other than RPC (for now) — e.g. MPI, pub/sub, CQRS, etc.
  • Re-implementing functionality that can be provided by adapting existing software
  • Having opinions on operational concerns: deployment, configuration, process supervision, orchestration, etc.

Contributing

Please see CONTRIBUTING.md. Thank you, contributors!

Dependency management

Go kit is a library, designed to be imported into a binary package. Vendoring is currently the best way for binary package authors to ensure reliable, reproducible builds. Therefore, we strongly recommend our users use vendoring for all of their dependencies, including Go kit. To avoid compatibility and availability issues, Go kit doesn't vendor its own dependencies, and doesn't recommend use of third-party import proxies.

There are several tools which make vendoring easier, including gb, glide, gvt, govendor, and vendetta. In addition, Go kit uses a variety of continuous integration providers to find and fix compatibility problems as soon as they occur.

Related projects

Projects with a ★ have had particular influence on Go kit's design (or vice-versa).

Service frameworks

  • gizmo, a microservice toolkit from The New York Times ★
  • go-micro, a microservices client/server library ★
  • gotalk, async peer communication protocol & library
  • Kite, a micro-service framework
  • gocircuit, dynamic cloud orchestration

Individual components

Web frameworks

Additional reading


Development supported by DigitalOcean.

Related Repositories

react-starter-kit

react-starter-kit

React Starter Kit — isomorphic web app boilerplate (Node.js, Express, GraphQL, R ...

daemon-kit

daemon-kit

Daemon Kit aims to simplify creating Ruby daemons by providing a sound applicati ...

babel-starter-kit

babel-starter-kit

:tropical_fish: Babel Starter Kit is a project template for authoring and publis ...

apollo-universal-starter-kit

apollo-universal-starter-kit

Apollo Universal Starter Kit — Universal web and mobile app boilerplate with Hot ...

emacs-starter-kit

emacs-starter-kit

A drop-in starter-kit for Emacs 24, aimed at social scientists researching and w ...


Top Contributors

peterbourgon ChrisHines basvanbeek jprobinson geoffberger bensigelman marcusolsson DSchalla twanies taotetek mattheath jupp0r Ayiga taion809 tgulacsi juRiii ifraixedes domudall freeformz harlow xla jygastaud LennartOlsen hydroflame tsenart xmattstrongx everesio radarhere andrewwatson bmarini

Releases

-   v0.2.0 zip tar
-   v0.1.0 zip tar