Giter Club home page Giter Club logo

l-gateway's Introduction

简介

go 实现Gateway网关

架构设计

已支持功能

支持协议

  • HTTP

支持功能

  • 对网关api接入可配置化
  • 黑白名单规则校验
  • 请求量/QPS等信息可观测
  • QPS限流
  • 反向代理

负载均衡支持

  • 随机
  • 轮训
  • 顺序
  • 一致性哈希

待开发功能

  • HTTPS,TCP/UDP,GRPC,WebSocket协议支持
  • 熔断,降级功能
  • 配置化平台搭建
  • 服务权限/授权功能完善
  • 日志系统搭建
    • 优雅统一处理日志
    • 收集日志提供查询平台
  • 接入注册中心
  • 灰度发布
  • 请求缓存

BUG

  • 服务信息加载到内存只会在服务启动时加载,后续更新配置网关无感知
  • QPS等信息定时清除前一天数据并同步mysql数据
  • QPS统计器,限流器等中间件匹配服务name单次创建存在并发安全问题

说明

后端小萌新,本项目用途个人学习,欢迎您的指点,也欢迎加入我一起

l-gateway's People

Contributors

xiaolibuzai-ovo avatar

Stargazers

Haoyang Gang avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.