1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-24 10:07:04 +02:00
go-micro/runtime
Asim Aslam e1ca40c1fc go fmt
2020-01-19 13:32:30 +00:00
..
build Packager is now builder (#958) 2019-11-19 16:09:43 +00:00
kubernetes Extract k8s run error 2020-01-18 02:13:24 +00:00
process Fix platform specific os/process build 2019-11-23 08:25:56 +00:00
service go fmt 2020-01-19 13:32:30 +00:00
source linting fixes 2019-12-04 00:22:02 +03:00
default.go minor runtime fixes 2020-01-17 14:14:47 +00:00
options.go minor runtime fixes 2020-01-17 14:14:47 +00:00
README.md Add runtime => run 2019-05-31 00:26:34 +01:00
runtime.go Extract k8s run error 2020-01-18 02:13:24 +00:00
service.go normalise runtime service status 2020-01-10 21:54:28 +00:00

Runtime

A runtime for self governing services.

Overview

In recent years we've started to develop complex architectures for the pipeline between writing code and running it. This philosophy of build, run, manage or however many variations, has created a number of layers of abstraction that make it all the more difficult to run code.

Runtime manages the lifecycle of a service from source to running process. If the source is the source of truth then everything in between running is wasted breath. Applications should be self governing and self sustaining. To enable that we need libraries which make it possible.

Runtime will fetch source code, build a binary and execute it. Any Go program that uses this library should be able to run dependencies or itself with ease, with the ability to update itself as the source is updated.

Features

  • Source - Fetches source whether it be git, go, docker, etc
  • Package - Compiles the source into a binary which can be executed
  • Process - Executes a binary and creates a running process

Usage

TODO