Skip to content

sishui/agate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Agate

Agate is a cloud-native, fast, scalable, and async API Gateway. its core values are high performance and extensibility.

QQ交流群 : 757727732

Dependency

  • Vert.x 4.0
  • Consul 1.7

Install and Test

  • step1: pull source and build docker images
	git pull https://github.com/dinstone/agate.git
	
	// remove old version
	cd agate/agate-docker
	docker-compose stop
	docker-compose rm
	
	// build new images
	cd agate
	mvn clean package
  • step2: start agate docker containers
	cd agate/agate-docker
	docker-compose up -d	
  • step3: test agate manager and gateway services
	access agate manager using username/password = agate/123456 by url http://localhost:8080/	

Config route and Url rewrite

  • Http URL Proxy:
	http://localhost:4004/(?<url>.*) --> https://www.baidu.com/:url
  • Http Microservice Discovery:
	http://localhost:4002/user-provider/(?<url>.*) --> http://user-provider/:url

Feature

  • Access Logging
  • Rate Limit
  • Tracing
  • Metrics
  • Security Athen
  • Circuit Breaker
  • Gray Deployment
  • Routing: Http Reverse Proxy
  • Routing: Http Service Discovery

System Architecture

System Architecture

System Implement

goto wiki https://github.com/dinstone/agate/wiki

About

Agate is a cloud-native, fast, scalable, and async API Gateway.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 74.4%
  • Roff 14.2%
  • CSS 5.7%
  • HTML 3.6%
  • JavaScript 2.0%
  • Dockerfile 0.1%