carllhw / sofa-mosn

SOFAMosn is a modular observable smart network which can be used in service mesh deployed as a data plane sidecar.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 like Envoy but written in GoLang. MOSN supports Envoy and Istio's APIs and can be integrated with Istio, so we use MOSN instead of Envoy in SOFAMesh. The initial version of MOSN was jointly contributed by Ant Financial and UC Business Unit of Alibaba, and we look forward to the community to participate in the follow-up development and build an open source excellent project together.

MOSN Introduction

Features

  • Integrated with Istio
    • Integrated with Istio version 1.0 and V4 API and can be run based on full dynamic resource configuration
  • Packet Forwarding
    • Self-contained network server
    • Support TCP proxy
    • Support TProxy mode
  • Multi-protocol support
    • HTTP/1.1,HTTP/2.0
    • SOFARPC
    • Dubbo(ongoing)
  • Routing support
    • Routing in form of virtual host
    • Routing with headers/url/prefix
    • Routing with host metadata in form of subset
    • Routing retry
  • Cluster Management & Load Balance support
    • Connection pool
    • Circuit Breaker
    • Health Checker
    • Random/RR LoadBalance
    • Subset LoadBalance with host's metadata
  • Observable
    • Network layer data
    • Protocol data
  • TLS support
    • HTTP/1.x on TLS
    • HTTP/2 on TLS
    • SOFARPC on TLS
  • Process management
    • Smooth reload
    • Smooth upgrade
  • Scalable ability
    • Support self-defined private protocol
    • Scalable Network/IO ,stream layer

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.

About

SOFAMosn is a modular observable smart network which can be used in service mesh deployed as a data plane sidecar.

License:Apache License 2.0


Languages

Language:Go 99.3%Language:Makefile 0.4%Language:Dockerfile 0.1%Language:Shell 0.1%Language:Assembly 0.1%