Coder Social home page Coder Social logo

zhongxunking / idcenter Goto Github PK

View Code? Open in Web Editor NEW
33.0 3.0 19.0 721 KB

idcenter(分布式ID生成中心):极高效的分布式id生成系统,每个客户端获取id的tps可达到400万+,服务端可支持海量的客户端。具备高容错性,即使网络不稳定也能运转(只要不连续长时间断网)。使用http协议进行通信,可支持多语言。具备完整的管理员登录、权限校验。部署简单、页面操作简洁、运维成本低。

License: Apache License 2.0

Java 64.10% JavaScript 14.40% HTML 16.61% CSS 4.79% Dockerfile 0.10%
id idcenter distributed-id ids id-generator

idcenter's Introduction

idcenter

  1. 简介

生成全局唯一的id(流水号),是很多公司都需要解决的问题。idcenter用于高效的生成全局唯一id,分为服务端和客户端。每个客户端获取id的tps可达到400万+,服务端可支持海量的客户端。

  1. 环境要求
  • 服务端:JDK1.8、MySQL或PostgreSQL
  • 客户端:JDK1.8

注意:客户端jar包已经上传到maven**库

  1. 演示环境

地址:http://47.108.55.170:6210
账号:admin 密码:123

获取id样例:http://47.108.55.170:6210/ider/acquireIds?iderId=tradeId&amount=1

性能:

特性

idcenter具备统一的id管理能力、id可支持周期概念、可承受海量获取id需求、完善的权限管理能力。

  • 统一的id管理能力:提供id管理页面,可管理公司内部所有的id。
  • id可支持周期概念:即可生产1、2、3这样的无周期概念的id;也可以生成2021070300001、2021070300002、2021070300003。。。这样的具有时间周期概念的id,让你看到id就能一目了然的知道这个id是什么时候生成的,比如2021070300001这个id是2021年7月3日生成的。
  • 每个客户端可承受海量的id获取请求:客户端的预处理设计,保证了单个客户端可承受400万tps级别的id获取。
  • 服务端支持海量的客户端请求:服务端的预处理设计,保证了服务端可以支持海量的客户端请求。
  • 完善的权限管理能力:可对管理员的权限进行约束,让合适的人管理合适的id。

文档

技术支持

欢迎加我微信(zhong_xun_)入群交流。

Who is using

欢迎使用idcenter的组织在这里进行登记(仅供其他用户参考)。

idcenter's People

Contributors

zhongxunking avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

idcenter's Issues

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.