Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dinstone/agate
Agate is a cloud-native, fast, scalable, and async API Gateway.
https://github.com/dinstone/agate
agate async-api-gateway vertx
Last synced: 3 months ago
JSON representation
Agate is a cloud-native, fast, scalable, and async API Gateway.
- Host: GitHub
- URL: https://github.com/dinstone/agate
- Owner: dinstone
- License: apache-2.0
- Created: 2020-03-21T04:04:19.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-27T07:50:45.000Z (8 months ago)
- Last Synced: 2024-09-27T07:42:39.489Z (4 months ago)
- Topics: agate, async-api-gateway, vertx
- Language: Java
- Homepage:
- Size: 3.79 MB
- Stars: 38
- Watchers: 1
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Introduce
Agate is a cloud-native, fast, scalable, and async API Gateway. its core values are high performance and extensibility.
# Dependency
- Vert.x 4.3
- Consul 1.7# Quick start
## Startup gateway and admin
- step1: pull source and build
```shell
git pull https://github.com/dinstone/agate.git// build
cd agate
mvn clean package
```- step2: start agate admin and gateway
Windows:
```shell
cd agate-script
.\agate-install.bat
```Linux:
```shell
cd agate-script
./agate-install.sh
```or execute the following command:
```shell
cd agate
mvn clean installcd agate-script
docker compose stop
echo y | docker compose rm
docker compose up -d
```- step3: test agate admin and gateway services
```shell
access agate admin using username/password = agate/123456 by url http://localhost:8888/
```## Config Route and Url rewrite
- Http URL Proxy:
```shell
http://localhost:4004/(?.*) --> https://www.baidu.com/:url
```- Http Microservice Discovery:
```shell
http://localhost:4002/user-provider/(?.*) --> http://user-provider/:url
```# Feature
- Logging
- Tracing
- Metrics
- Rate Limit
- Circuit Breaker
- Gray Deployment
- Security Authenticate
- Routing: Http Reverse Proxy
- Routing: Http Service Discovery# Architecture
![System Architecture](https://github.com/dinstone/agate/wiki/imgs/arch00.png)
# Other Documents
goto wiki https://github.com/dinstone/agate/wiki