All Projects → haozi2015 → Id Generator

haozi2015 / Id Generator

Licence: apache-2.0
id-generator部署即使用的ID生成器, 支持HTTP、Dubbo、Spring Cloud方式.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Id Generator

Springboot Labs
一个涵盖六个专栏:Spring Boot 2.X、Spring Cloud、Spring Cloud Alibaba、Dubbo、分布式消息队列、分布式事务的仓库。希望胖友小手一抖,右上角来个 Star,感恩 1024
Stars: ✭ 12,804 (+11332.14%)
Mutual labels:  dubbo, spring-cloud
Advanced Java
😮 Core Interview Questions & Answers For Experienced Java(Backend) Developers | 互联网 Java 工程师进阶知识完全扫盲:涵盖高并发、分布式、高可用、微服务、海量数据处理等领域知识
Stars: ✭ 59,142 (+52705.36%)
Mutual labels:  dubbo, spring-cloud
Tesla
Tesla is a gateway service that provides dynamic routing,waf,support spring cloud,gRPC,DUBBO and more.
Stars: ✭ 161 (+43.75%)
Mutual labels:  dubbo, spring-cloud
Xc Spring Cloud Alibaba
spring cloud alibaba(2.2.1最新版)+nacos+dubbo+gateWay+sentinel+rocketmq+(pgsql/mysql8.0的json支持)+ignite集成可用于docker分布式框架+分布式自动化任务+mybatis多数据源+seate+ shardingSphere分布式分库事务解决方案
Stars: ✭ 131 (+16.96%)
Mutual labels:  dubbo, spring-cloud
Spring Cloud Alibaba
Spring Cloud Alibaba provides a one-stop solution for application development for the distributed solutions of Alibaba middleware.
Stars: ✭ 20,934 (+18591.07%)
Mutual labels:  dubbo, spring-cloud
Raincat
强一致分布式事务框架
Stars: ✭ 1,785 (+1493.75%)
Mutual labels:  dubbo, spring-cloud
Bytetcc
ByteTCC is a distributed transaction manager based on the TCC(Try/Confirm/Cancel) mechanism. It’s compatible with the JTA specification. User guide: https://github.com/liuyangming/ByteTCC/wiki
Stars: ✭ 2,749 (+2354.46%)
Mutual labels:  dubbo, spring-cloud
Springboot Learning
《Spring Boot基础教程》,2.x版本持续连载中!点击下方链接直达教程目录!
Stars: ✭ 13,916 (+12325%)
Mutual labels:  dubbo, spring-cloud
Nacos
an easy-to-use dynamic service discovery, configuration and service management platform for building cloud native applications.
Stars: ✭ 20,691 (+18374.11%)
Mutual labels:  dubbo, spring-cloud
java-best-practice
Java学习例子,最佳实践
Stars: ✭ 19 (-83.04%)
Mutual labels:  spring-cloud, dubbo
Bytetcc Sample
Stars: ✭ 119 (+6.25%)
Mutual labels:  dubbo, spring-cloud
Brpc Java
Java implementation for Baidu RPC, multi-protocol & high performance RPC.
Stars: ✭ 647 (+477.68%)
Mutual labels:  dubbo, spring-cloud
Tlog
Lightweight distributed log label tracking framwork
Stars: ✭ 115 (+2.68%)
Mutual labels:  dubbo, spring-cloud
Spring Cloud Dubbo Together
Spring Cloud与Dubbo共存方案
Stars: ✭ 155 (+38.39%)
Mutual labels:  dubbo, spring-cloud
taotao-cloud-project
微服务开发脚手架,包括大数据模块、微服务模块、前端模块。基于Spring Cloud Alibaba的微服务架构。提供技术框架的基础能力的封装,减少开发工作,只关注业务,包含了工作以来的工作总结和技术沉淀
Stars: ✭ 76 (-32.14%)
Mutual labels:  spring-cloud, dubbo
Tx Lcn
LCN distributed transaction framework, compatible with dubbo, spring cloud and Motan framework, supports various relational databases
Stars: ✭ 4,070 (+3533.93%)
Mutual labels:  dubbo, spring-cloud
Skyeye
对java、scala等运行于jvm的程序进行实时日志采集、索引和可视化,对系统进行进程级别的监控,对系统内部的操作进行策略性的报警、对分布式的rpc调用进行trace跟踪以便于进行性能分析
Stars: ✭ 805 (+618.75%)
Mutual labels:  dubbo, spring-cloud
User Guide Springcloud
[Cloudframeworks]Microservices Architecture with Spring Cloud - user guide / [云框架]基于Spring Cloud的微服务架构-用户指南
Stars: ✭ 1,403 (+1152.68%)
Mutual labels:  spring-cloud
Dubbo
Apache Dubbo is a high-performance, java based, open source RPC framework.
Stars: ✭ 36,585 (+32565.18%)
Mutual labels:  dubbo
Whatsmars
Java生态研究(Spring Boot + Redis + Dubbo + RocketMQ + Elasticsearch)🔥🔥🔥🔥🔥
Stars: ✭ 1,389 (+1140.18%)
Mutual labels:  dubbo

id-generator 分布式ID生成器

概述

id-generator分布式ID生成器, 解决在分布式系统唯一性标识生成复杂、不统一的问题,如数据库分库分表数据唯一标识、业务流水号等场景. id-generator提供一站式部署, 稳定、高性能的ID生成系统.

功能

  • 提供全局唯一ID序号;
  • 提供隔离增长序号,以唯一KEY为自增ID标识, 如数据库-表之间的自增id效果;
  • 支持自定义增长步长;
  • 支持固定前缀;
  • 支持动态标签
  • 支持固定位数;
  • 支持ID重置;
  • 支持DubboSpring Cloud应用部署;
  • 支持Mybatis插件,可直接插入ID;
  • 支持try it
  • 支持页面配置,即时生效;

设计

整体依赖关系

  • 支持ZooKeeper、Eureka多种注册中心,满足大部分公司的技术体系
  • 支持HTTP协议,对跨语言提供支持

核心

  • 采用生产/消费模式,预先生成ID存储到缓冲池,调用时ID直接从内存获取,最大提升性能
  • a.缓冲池的队列到达阈值,生产任务开始批量生产ID,规则从规则管理器中获取
  • b.优化缓冲池内存,定时清理过期或被修改缓冲池的队列
  • c.按重置规则,预先生成ID队列至内存,解决临界点瞬时的压力
  • 存储支持MySQL、Redis两种方式,建议使用MySQL

快速开始

下载与构建

git clone https://github.com/haozi2015/id-generator.git
cd id-generator
mvn -DskipTests clean package -P build

更多...

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].