Skip to content
SOFAMosn is a modular observable smart network which can be used in service mesh deployed as a data plane sidecar.
Go Other
  1. Go 99.5%
  2. Other 0.5%
Branch: master
Clone or download
Latest commit 3152073 Aug 21, 2019

README.md

MOSN Project

Build Status codecov Go Report Card license

MOSN, the short name of Modular Observable Smart Network, is a powerful proxy acting as Service Mesh's data plane written in GoLang. MOSN integrates with SOFAMesh through XDS API. At the same time, MOSN can be used as a standalone loadbalancer on layer 4 and 7. In the future, MOSN will land in more cloud native scenarios and support the core forwarding functions of nginx.

Download/Install

  • Use go get -u sofastack.io/sofa-mosn, or you can git clone the repository to $GOPATH/src/sofastack.io/sofa-mosn
  • If you need to use code before 0.5.0, you may needs to run the script transfer_path.sh to fix the import path.
    • If you are in Linux, you should modify the SED_CMD in transfer_path.sh, see the comment in the script file.

Develop States

After our efforts, MOSN’s 0.4.0 version has achieved a lot of improvement on performance and stability, we expect to release 0.5.0 version at the end of May 2019, which will be an stable version used in AntFin’s production environment. Before that, we will release the latest version named 0.4.x at the end of every month to synchronize the changes from March 2019.

MOSN Introduction

Features

  • Support full dynamic resource configuration through XDS api integrated with SOFAMesh.
  • Support proxy with TCP, HTTP, and RPC protocols.
  • Support rich routing features.
  • Support reliable upstream management and load balancing capabilities.
  • Support network and protocol layer observability.
  • Support mTLS and protocols on TLS.
  • Support rich extension mechanism to provide highly customizable expansion capabilities.
  • Support process smooth upgrade.

Quick Start

Docs

Community

Version

Contribution

  • How to contribute the code
  • MOSN is still in its infancy with many capabilities need to be completed, so we welcome everyone to participate in and commit code together.

Thanks

Thanks to Google, IBM, Lyft for creating the Envoy and Istio system, so that MOSN has a very good reference and we can quickly land our own ideas.

You can’t perform that action at this time.