{"id":16178944,"url":"https://github.com/zhongxunking/idcenter","last_synced_at":"2025-08-09T12:57:47.791Z","repository":{"id":48957204,"uuid":"110987831","full_name":"zhongxunking/idcenter","owner":"zhongxunking","description":"idcenter（分布式ID生成中心）：极高效的分布式id生成系统，每个客户端获取id的tps可达到400万+，服务端可支持海量的客户端。具备高容错性，即使网络不稳定也能运转（只要不连续长时间断网）。使用http协议进行通信，可支持多语言。具备完整的管理员登录、权限校验。部署简单、页面操作简洁、运维成本低。","archived":false,"fork":false,"pushed_at":"2023-04-19T13:00:31.000Z","size":721,"stargazers_count":34,"open_issues_count":1,"forks_count":19,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T01:35:11.422Z","etag":null,"topics":["distributed-id","id","id-generator","idcenter","ids"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zhongxunking.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-16T15:23:48.000Z","updated_at":"2024-06-14T12:49:17.000Z","dependencies_parsed_at":"2024-10-10T05:33:03.018Z","dependency_job_id":"3dd2715c-50e4-4900-b77f-7d5bbe8f2760","html_url":"https://github.com/zhongxunking/idcenter","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhongxunking%2Fidcenter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhongxunking%2Fidcenter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhongxunking%2Fidcenter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhongxunking%2Fidcenter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhongxunking","download_url":"https://codeload.github.com/zhongxunking/idcenter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244336129,"owners_count":20436773,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["distributed-id","id","id-generator","idcenter","ids"],"created_at":"2024-10-10T05:24:57.677Z","updated_at":"2025-03-19T01:30:52.360Z","avatar_url":"https://github.com/zhongxunking.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# idcenter\n1. 简介\n\u003e 生成全局唯一的id（流水号），是很多公司都需要解决的问题。idcenter用于高效的生成全局唯一id，分为服务端和客户端。每个客户端获取id的tps可达到400万+，服务端可支持海量的客户端。\n\n2. 环境要求\n\u003e * 服务端：JDK1.8、MySQL或PostgreSQL\n\u003e * 客户端：JDK1.8\n\n\u003e 注意：客户端jar包已经上传到[maven中央库](http://search.maven.org/#search%7Cga%7C1%7Corg.antframework.idcenter)\n\n3. 演示环境\n\u003e 地址：http://47.108.55.170:6210 \u003cbr/\u003e\n\u003e 账号：admin 密码：123\n\n\u003e 获取id样例：http://47.108.55.170:6210/ider/acquireIds?iderId=tradeId\u0026amount=1\n\n\n\u003cimg src=\"https://note.youdao.com/yws/api/personal/file/WEB05da7336237569414648a5e625d2302b?method=download\u0026shareKey=5fabc26cd1af6f5013f50dbe918c78b8\" width=700 /\u003e\n性能：\n\u003cimg src=\"https://note.youdao.com/yws/api/personal/file/WEBfb8835ccf544b2bf85815ed79020b356?method=download\u0026shareKey=953cf6fa1abeb99496458e70fefe8cf5\" width=700 height=\"20\" /\u003e\n\n# 特性\nidcenter具备统一的id管理能力、id可支持周期概念、可承受海量获取id需求、完善的权限管理能力。\n* 统一的id管理能力：提供id管理页面，可管理公司内部所有的id。\n* id可支持周期概念：即可生产1、2、3这样的无周期概念的id；也可以生成2021070300001、2021070300002、2021070300003。。。这样的具有时间周期概念的id，让你看到id就能一目了然的知道这个id是什么时候生成的，比如2021070300001这个id是2021年7月3日生成的。\n* 每个客户端可承受海量的id获取请求：客户端的预处理设计，保证了单个客户端可承受400万tps级别的id获取。\n* 服务端支持海量的客户端请求：服务端的预处理设计，保证了服务端可以支持海量的客户端请求。\n* 完善的权限管理能力：可对管理员的权限进行约束，让合适的人管理合适的id。\n\n# 文档\n* 设计\u003cbr/\u003e\n\u0026ensp;\u0026ensp;[整体设计](https://github.com/zhongxunking/idcenter/wiki/%E6%95%B4%E4%BD%93%E8%AE%BE%E8%AE%A1)\n* 部署\u003cbr/\u003e\n\u0026ensp;\u0026ensp;[部署服务端](https://github.com/zhongxunking/idcenter/wiki/%E9%83%A8%E7%BD%B2%E6%9C%8D%E5%8A%A1%E7%AB%AF)\n* 使用\u003cbr/\u003e\n\u0026ensp;\u0026ensp;[管理Id](https://github.com/zhongxunking/idcenter/wiki/%E7%AE%A1%E7%90%86Id)\n* 开发\u003cbr/\u003e\n\u0026ensp;\u0026ensp;[集成Java客户端](https://github.com/zhongxunking/idcenter/wiki/%E9%9B%86%E6%88%90Java%E5%AE%A2%E6%88%B7%E7%AB%AF)\u003cbr/\u003e\n\u0026ensp;\u0026ensp;[服务端OpenAPI](https://github.com/zhongxunking/idcenter/wiki/%E6%9C%8D%E5%8A%A1%E7%AB%AFOpenAPI)\n\n# 技术支持\n欢迎加我微信（zhong_xun_）入群交流。\u003cbr/\u003e\n\u003cimg src=\"https://note.youdao.com/yws/api/personal/file/WEBbca9e0a9a6e1ea2d9ab9def1cc90f839?method=download\u0026shareKey=00e90849ae0d3b5cb8ed7dd12bc6842e\" width=200 /\u003e\n\n# Who is using\n欢迎使用idcenter的组织在[这里](https://github.com/zhongxunking/idcenter/issues/1)进行登记（仅供其他用户参考）。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhongxunking%2Fidcenter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhongxunking%2Fidcenter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhongxunking%2Fidcenter/lists"}