René's URL Explorer Experiment


Title: JavaGuide/docs/distributed-system/distributed-id.md at main · SuiJavaStudy/JavaGuide · GitHub

Open Graph Title: JavaGuide/docs/distributed-system/distributed-id.md at main · SuiJavaStudy/JavaGuide

X Title: JavaGuide/docs/distributed-system/distributed-id.md at main · SuiJavaStudy/JavaGuide

Description: Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发与系统设计。准备后端技术面试,首选 JavaGuide! - JavaGuide/docs/distributed-system/distributed-id.md at main · SuiJavaStudy/JavaGuide

Open Graph Description: Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发与系统设计。准备后端技术面试,首选 JavaGuide! - SuiJavaStudy/JavaGuide

X Description: Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发与系统设计。准备后端技术面试,首选 JavaGuide! - SuiJavaStudy/JavaGuide

Opengraph URL: https://github.com/SuiJavaStudy/JavaGuide/blob/main/docs/distributed-system/distributed-id.md

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/blob/*name(/*path)
route-controllerblob
route-actionshow
fetch-noncev2:1be98653-3aaf-375c-48d8-18afd0a5f47d
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idCB88:2FC8B3:226F614:2D605AE:6A5CAF34
html-safe-nonceb129473d711a819f9c34722fcb83371fd0b4b9be6618d8427abff83ce10b4ee9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjg4OjJGQzhCMzoyMjZGNjE0OjJENjA1QUU6NkE1Q0FGMzQiLCJ2aXNpdG9yX2lkIjoiNDI2ODE3NDEwNTI2MTI5OTcyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac64e2bdfcf579059cda8b3fd9e33dcc4551b645a2d912d6357e7dce0537089eb4
hovercard-subject-tagrepository:1190200304
github-keyboard-shortcutsrepository,source-code,file-tree,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///blob/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/SuiJavaStudy/JavaGuide/blob/main/docs/distributed-system/distributed-id.md
twitter:imagehttps://opengraph.githubassets.com/a056d46d87c84fb0433a9591b16dd939d74118f39c86447b999e3014954d2a00/SuiJavaStudy/JavaGuide
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a056d46d87c84fb0433a9591b16dd939d74118f39c86447b999e3014954d2a00/SuiJavaStudy/JavaGuide
og:image:altJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发与系统设计。准备后端技术面试,首选 JavaGuide! - SuiJavaStudy/JavaGuide
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-cache
go-importgithub.com/SuiJavaStudy/JavaGuide git https://github.com/SuiJavaStudy/JavaGuide.git
octolytics-dimension-user_id270532064
octolytics-dimension-user_loginSuiJavaStudy
octolytics-dimension-repository_id1190200304
octolytics-dimension-repository_nwoSuiJavaStudy/JavaGuide
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id132464395
octolytics-dimension-repository_parent_nwoSnailclimb/JavaGuide
octolytics-dimension-repository_network_root_id132464395
octolytics-dimension-repository_network_root_nwoSnailclimb/JavaGuide
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/SuiJavaStudy/JavaGuide/blob/main/docs/distributed-system/distributed-id.md#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FSuiJavaStudy%2FJavaGuide%2Fblob%2Fmain%2Fdocs%2Fdistributed-system%2Fdistributed-id.md
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FSuiJavaStudy%2FJavaGuide%2Fblob%2Fmain%2Fdocs%2Fdistributed-system%2Fdistributed-id.md
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fblob%2Fshow&source=header-repo&source_repo=SuiJavaStudy%2FJavaGuide
Reloadhttps://github.com/SuiJavaStudy/JavaGuide/blob/main/docs/distributed-system/distributed-id.md
Reloadhttps://github.com/SuiJavaStudy/JavaGuide/blob/main/docs/distributed-system/distributed-id.md
Reloadhttps://github.com/SuiJavaStudy/JavaGuide/blob/main/docs/distributed-system/distributed-id.md
Please reload this pagehttps://github.com/SuiJavaStudy/JavaGuide/blob/main/docs/distributed-system/distributed-id.md
SuiJavaStudy https://github.com/SuiJavaStudy
JavaGuidehttps://github.com/SuiJavaStudy/JavaGuide
Snailclimb/JavaGuidehttps://github.com/Snailclimb/JavaGuide
Notifications https://github.com/login?return_to=%2FSuiJavaStudy%2FJavaGuide
Fork 0 https://github.com/login?return_to=%2FSuiJavaStudy%2FJavaGuide
Star 0 https://github.com/login?return_to=%2FSuiJavaStudy%2FJavaGuide
Code https://github.com/SuiJavaStudy/JavaGuide
Pull requests 0 https://github.com/SuiJavaStudy/JavaGuide/pulls
Actions https://github.com/SuiJavaStudy/JavaGuide/actions
Projects https://github.com/SuiJavaStudy/JavaGuide/projects
Security and quality 0 https://github.com/SuiJavaStudy/JavaGuide/security
Insights https://github.com/SuiJavaStudy/JavaGuide/pulse
Code https://github.com/SuiJavaStudy/JavaGuide
Pull requests https://github.com/SuiJavaStudy/JavaGuide/pulls
Actions https://github.com/SuiJavaStudy/JavaGuide/actions
Projects https://github.com/SuiJavaStudy/JavaGuide/projects
Security and quality https://github.com/SuiJavaStudy/JavaGuide/security
Insights https://github.com/SuiJavaStudy/JavaGuide/pulse
https://github.com/SuiJavaStudy/JavaGuide
JavaGuidehttps://github.com/SuiJavaStudy/JavaGuide/tree/main
docshttps://github.com/SuiJavaStudy/JavaGuide/tree/main/docs
distributed-systemhttps://github.com/SuiJavaStudy/JavaGuide/tree/main/docs/distributed-system
Historyhttps://github.com/SuiJavaStudy/JavaGuide/commits/main/docs/distributed-system/distributed-id.md
https://github.com/SuiJavaStudy/JavaGuide/commits/main/docs/distributed-system/distributed-id.md
JavaGuidehttps://github.com/SuiJavaStudy/JavaGuide/tree/main
docshttps://github.com/SuiJavaStudy/JavaGuide/tree/main/docs
distributed-systemhttps://github.com/SuiJavaStudy/JavaGuide/tree/main/docs/distributed-system
Rawhttps://github.com/SuiJavaStudy/JavaGuide/raw/refs/heads/main/docs/distributed-system/distributed-id.md
https://github.com/SuiJavaStudy/JavaGuide/blob/main/docs/distributed-system/distributed-id.md#分布式-id-介绍
https://github.com/SuiJavaStudy/JavaGuide/blob/main/docs/distributed-system/distributed-id.md#什么是-id
https://github.com/SuiJavaStudy/JavaGuide/blob/main/docs/distributed-system/distributed-id.md#什么是分布式-id
https://camo.githubusercontent.com/11df0d496773a790fefc81f5cc1159c3227634088e6514e5619d5ececbb66004/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f73797374656d2d64657369676e2f64697374726962757465642d73797374656d2f69642d61667465722d7468652d7375622d7461626c652d6e6f742d636f6e666c6963742e706e67
https://github.com/SuiJavaStudy/JavaGuide/blob/main/docs/distributed-system/distributed-id.md#分布式-id-需要满足哪些要求
https://camo.githubusercontent.com/391ab849654109b9e5ed4e01cc9f257a95bb61665f7ff5cbb92411ce2cbfffc3/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f73797374656d2d64657369676e2f64697374726962757465642d73797374656d2f64697374726962757465642d69642d726571756972656d656e74732e706e67
https://github.com/SuiJavaStudy/JavaGuide/blob/main/docs/distributed-system/distributed-id.md#基于数据库的生成方案有状态
https://github.com/SuiJavaStudy/JavaGuide/blob/main/docs/distributed-system/distributed-id.md#数据库主键自增
https://camo.githubusercontent.com/48934efc6bbead39a1aa208ce5dbf7da637b197d202807d2fd9b7df65c51411a/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f73797374656d2d64657369676e2f64697374726962757465642d73797374656d2f7468652d7072696d6172792d6b65792d6f662d7468652d64617461626173652d696e637265617365732d6175746f6d61746963616c6c792e706e67
https://github.com/SuiJavaStudy/JavaGuide/blob/main/docs/distributed-system/distributed-id.md#数据库号段模式
Tinyidhttps://github.com/didi/tinyid/wiki/tinyid%E5%8E%9F%E7%90%86%E4%BB%8B%E7%BB%8D
https://camo.githubusercontent.com/49af3692b545e2c9bfe3ddb6720934eb106c9faea5ecbf61deacfda2fa7479e1/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f73797374656d2d64657369676e2f64697374726962757465642d73797374656d2f64617461626173652d6e756d6265722d7365676d656e742d6d6f64652e706e67
https://github.com/SuiJavaStudy/JavaGuide/blob/main/docs/distributed-system/distributed-id.md#nosql
https://camo.githubusercontent.com/5f798d65da8d72e1242334659dd8fce3873f1e7f01a724dd66bb988024b94683/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f73797374656d2d64657369676e2f64697374726962757465642d73797374656d2f6e6f73716c2d64697374726962757465642d69642e706e67
Codishttps://github.com/CodisLabs/codis
Redis 持久化机制详解https://javaguide.cn/database/redis/redis-persistence.html
https://camo.githubusercontent.com/95c799acdad1dbe406d97878b9b67023ffc85faea7d1605ffb7aa880154b4862/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f73797374656d2d64657369676e2f64697374726962757465642d73797374656d2f6d6f6e676f6462392d6f626a65637449642d64697374726962757465642d69642e706e67
https://github.com/SuiJavaStudy/JavaGuide/blob/main/docs/distributed-system/distributed-id.md#基于算法的生成方案无状态
https://github.com/SuiJavaStudy/JavaGuide/blob/main/docs/distributed-system/distributed-id.md#uuid
RFC 4122https://tools.ietf.org/html/rfc4122
RFC 9562https://www.rfc-editor.org/rfc/rfc9562.html
https://camo.githubusercontent.com/fe1402ac377a254407a8066a814911764130d594aafc0cd1a1703267376abda9/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f73797374656d2d64657369676e2f64697374726962757465642d73797374656d2f7266632d343132322d757569642e706e67
维基百科对于 UUID 的介绍https://zh.wikipedia.org/wiki/%E9%80%9A%E7%94%A8%E5%94%AF%E4%B8%80%E8%AF%86%E5%88%AB%E7%A0%81
https://camo.githubusercontent.com/a70db44c8b3dcb670bfd01f26debb271fb9fe515b4dad918b5dda4453cded5ce/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f73797374656d2d64657369676e2f64697374726962757465642d73797374656d2f76657273696f6e312d757569642e706e67
RFC 9562https://www.rfc-editor.org/rfc/rfc9562
https://github.com/SuiJavaStudy/JavaGuide/blob/main/docs/distributed-system/distributed-id.md#snowflake雪花算法
https://camo.githubusercontent.com/6176ad783e64edfe971d1676d99cbcb1675517e469878a47f32c8fb9908b42bc/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f73797374656d2d64657369676e2f64697374726962757465642d73797374656d2f736e6f77666c616b652d64697374726962757465642d69642d736368656d617469632d6469616772616d2e706e67
https://github.com/SuiJavaStudy/JavaGuide/blob/main/docs/distributed-system/distributed-id.md#snowflake-时钟回拨问题与解决
https://github.com/SuiJavaStudy/JavaGuide/blob/main/docs/distributed-system/distributed-id.md#snowflake-worker-id-分配难题
Seata 基于改良版雪花算法的分布式 UUID 生成器分析https://seata.io/zh-cn/blog/seata-analysis-UUID-generator.html
在开源项目中看到一个改良版的雪花算法,现在它是你的了。https://www.cnblogs.com/thisiswhy/p/17611163.html
https://github.com/SuiJavaStudy/JavaGuide/blob/main/docs/distributed-system/distributed-id.md#工业级分布式-id-开源框架对比
https://github.com/SuiJavaStudy/JavaGuide/blob/main/docs/distributed-system/distributed-id.md#uidgenerator百度
UidGeneratorhttps://github.com/baidu/uid-generator
https://camo.githubusercontent.com/2cd233421f7c2902f20e81dbd3aa0e6aaa49d290af3864835da1c5fd27989881/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f73797374656d2d64657369676e2f64697374726962757465642d73797374656d2f75696467656e657261746f722d64697374726962757465642d69642d736368656d617469632d6469616772616d2e706e67
https://camo.githubusercontent.com/39b2e2c68da2e62520b8defbc58f7e28c2334dd52275d0221816fb7fc098e227/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f73797374656d2d64657369676e2f64697374726962757465642d73797374656d2f75696467656e657261746f722d696e74726f64756374696f6e2d6f6666696369616c2d646f63756d656e74732e706e67
UidGenerator 的官方介绍https://github.com/baidu/uid-generator/blob/master/README.zh_cn.md
https://github.com/SuiJavaStudy/JavaGuide/blob/main/docs/distributed-system/distributed-id.md#leaf美团
Leafhttps://github.com/Meituan-Dianping/Leaf
《Leaf——美团点评分布式 ID 生成系统》https://tech.meituan.com/2017/04/21/mt-leaf.html
https://camo.githubusercontent.com/c280a7a9a468912bdbe58367b75f3a54faad278a63fdfd6b1f5f5e9b11d029f9/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f64697374726962757465642d73797374656d2f64697374726962757465642d69642f6c6561662d7072696e6369706c652e706e67
https://github.com/SuiJavaStudy/JavaGuide/blob/main/docs/distributed-system/distributed-id.md#tinyid滴滴
Tinyidhttps://github.com/didi/tinyid
《Tinyid 原理介绍》https://github.com/didi/tinyid/wiki/tinyid%E5%8E%9F%E7%90%86%E4%BB%8B%E7%BB%8D
https://camo.githubusercontent.com/cb250b0738ca688859f4fd1c5ed273edaeadf13018c1ae618e6596a5f8285f7e/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f64697374726962757465642d73797374656d2f64697374726962757465642d69642f74696e7969642d7072696e6369706c652e706e67
https://camo.githubusercontent.com/beb8274520bea0cf1996386c0e74cef9f7151ce12273fd3ea785227669767ac2/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f64697374726962757465642d73797374656d2f64697374726962757465642d69642f74696e7969642d6172636869746563747572652d64657369676e2e706e67
https://github.com/SuiJavaStudy/JavaGuide/blob/main/docs/distributed-system/distributed-id.md#idgenerator个人
IdGeneratorhttps://github.com/yitter/IdGenerator
https://camo.githubusercontent.com/7b0580c7a272f318ca525daa79575cb8f2fafd6757097a63aaea0a1f52a0b3da/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f73797374656d2d64657369676e2f64697374726962757465642d73797374656d2f696467656e657261746f722d64697374726962757465642d69642d736368656d617469632d6469616772616d2e706e67
https://github.com/yitter/idgenerator/tree/master/Javahttps://github.com/yitter/idgenerator/tree/master/Java
https://github.com/SuiJavaStudy/JavaGuide/blob/main/docs/distributed-system/distributed-id.md#总结
分布式 ID 设计指南https://github.com/SuiJavaStudy/JavaGuide/blob/main/docs/distributed-system/distributed-id-design
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.