Home

Awesome

<!-- # Copyright Aeraki Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Faeraki-mesh%2Faeraki.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Faeraki-mesh%2Faeraki?ref=badge_large) # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -->

Aeraki (中文

License Go Report Card CI Tests E2E Tests E2E Tests E2E Tests E2E Tests E2E Tests FOSSA Status

<a href="https://aeraki.net/"> <img src="docs/aeraki-log.png" width="130" alt="Aeraki logo" title="Istio" /> </a>

Manage any layer-7 traffic in a service mesh!

Aeraki [Air-rah-ki] is the Greek word for 'breeze'. While service mesh becomes an important infrastructure for microservices, many(if not all) service mesh implementations mainly focus on HTTP protocols and treat other protocols as plain TCP traffic. Aeraki Mesh is created to provide a non-intrusive, highly extendable way to manage any layer-7 traffic in a service mesh.

Note: Aeraki only handles non-HTTP layer-7 traffic in a service mesh, and leaves the HTTP traffic to other existing service mesh projects. (As they have already done a very good job on it, and we don't want to reinvent the wheel! ) Aeraki currently can be integrated with Istio, and it may support other service mesh projects in the future.

Problems to solve

We are facing some challenges in service meshes:

Those obstacles make it very hard, if not impossible, for users to manage the traffic of other widely-used layer-7 protocols in microservices. For example, in a microservices application, we may have the below protocols:

 Common Layer 7 Protocols Used in Microservices

If you have already invested a lot of effort in migrating to a service mesh, of course, you want to get the most out of it — managing the traffic of all the protocols in your microservices.

Aeraki's approach

To address these problems, Aeraki Mesh provides a non-intrusive, extendable way to manage any layer-7 traffic in a service mesh.  Aeraki

As this diagram shows, Aeraki Mesh consists of the following components:

Dubbo , Thrift , bRPC and a number of other protocols have been implemented based on MetaProtocol. More protocols are on the way. If you're using a close-source, proprietary protocol, you can also manage it in your service mesh simply by writing a MetaProtocol codec for it.

Most request/response style, stateless protocols can be built on top of the MetaProtocol Proxy. However, some protocols' routing policies are too "special" to be normalized in MetaProtocol. For example, the Redis proxy uses a slot number to map a client query to a specific Redis server node, and the slot number is computed by the key in the request. Aeraki can still manage those protocols as long as there's an available Envoy Filter in the Envoy proxy side. Currently, for protocols in this category, Redis and Kafka are supported in Aeraki.

Supported protocols:

Aeraki can manage the below protocols in a service mesh:

Supported Features:

Note: Protocols built on top of MetaProtocol support all the above features in Aeraki Mesh, Envoy native filters only support some of the above features, depending on the capacities of the native filters.

Demo

https://www.aeraki.net/docs/v1.x/quickstart/

Install

https://www.aeraki.net/docs/v1.x/install/

Build

Pre-requirements:

Build Aeraki Binary

# build aeraki binary on Linux
make build

# build aeraki binary on darwin
make build IMAGE_OS=darwin

Build Aeraki Image

# build aeraki docker image with the default latest tag
make docker-build

# build aeraki docker image with xxx tag
make docker-build IMAGE_TAG=xxx

# build aeraki e2e docker image
make docker-build-e2e

Contribute to Aeraki

If you're interested in contributing to this project, please read Contributing to Aeraki.

Talks

Who is using Aeraki?

Sincerely thank everyone for choosing, contributing, and using Aeraki. We created this issue to collect the use cases so we can drive the Aeraki community to evolve in the right direction and better serve your real-world scenarios. We encourage you to submit a comment on this issue to include your use case:https://github.com/aeraki-mesh/aeraki/issues/105

Contact

License

This project is licensed under Apache 2.0 License

Conduct

We follow the CNCF Code of Conduct

Landscapes

<p align="center"> <img src="https://landscape.cncf.io/images/left-logo.svg" width="150"/>&nbsp;&nbsp;<img src="https://landscape.cncf.io/images/right-logo.svg" width="200"/> <br/><br/> Aeraki Mesh is a <a href="https://landscape.cncf.io/?selected=aeraki-mesh">CNCF sandbox project.</a> </p>