Coder Social home page Coder Social logo

chuntaojun / pole Goto Github PK

View Code? Open in Web Editor NEW
4.0 5.0 1.0 9.06 MB

A redesigned and optimized version of Golang based on Alibaba/Nacos

License: BSD 3-Clause "New" or "Revised" License

Go 99.96% Shell 0.04%
rsocket protobuf nacos distributed-systems raft ap distributed-database traceability discovery-server configuration-management

pole's Introduction

Pole

Go Report Card

description

The Golang version of alibaba/nacos, and carried out other detailed designs

借鉴了Alibaba/Nacos的大体设计思路,并重新规划功能的实现以及布局

TODO

PoleServer 以及 PoleSDK-Go

  • 支持RSocketHttpgRPC作为通信层,其中RSocket为将来pole-group出品的SDK的默认通行协议,Http则为为了快速对接多语言而提供的额外协议实现
  • 存储插件化,支持不同的插件底座,默认实现基于Memory MapBadger的两种KV存储
    • key-value形式的存储机制实现
    • 关系型数据库的存储机制实现
  • 服务发现的健康检查机制全部由客户端实现,服务端只记录实例信息以及租约的检查
    • Agent 模式的健康检查
      • TCP 端口探测模式
      • Http 接口访问模式
      • 用户自定义检查函数模式
    • Server 进行租约检查
  • 一致性协议层的抽象实现
    • Raft协议的适配, pole-group/lraft 项目,模范 sofa-jraft
    • AP协议的实现, Gossip协议 or Nacos的Distro协议
  • Console的实现
  • 配置内容的传输加密
  • 更简单的权限控制机制, 将SDK的权限和Console的权限分离
    • 权限系统抽象
    • 控制台白名单机制(使用正则匹配模式)
    • RBAC权限控制实现
    • 客户端使用令牌机制进行授权
  • 更加友好的运维体验
  • 云原生的运维、部署体验
  • 多种集群节点发现的模式
    • Alibaba/Nacos文件以及地址中心,
    • 基于Kubernetes-Client-Api的集群节点管理方式
  • 多数据中心模式部署(有点难度,需要时间考虑设计的问题)
  • 支持自身限制运行期间所需要的资源
  • ...(待思考)

周边生态组件

  • ...(待处理)

pole's People

Contributors

chuntaojun avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

bxvs888

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.