• 请不要在回答技术问题时复制粘贴 AI 生成的内容
zjsxwc
V2EX  ›  程序员

除了用 redis 直接 incr 外,还有哪些简单方式可以在高并发下获取唯一自增 id?

  •  
  •   zjsxwc ·
    zjsxwc · Aug 3, 2019 · 2505 views
    This topic created in 2620 days ago, the information mentioned may be changed or developed.

    除了用 redis 直接incr外,还有哪些简单方式可以在高并发下获取唯一自增 id ?

    billlee
        1
    billlee  
       Aug 3, 2019
    snowflake
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2351 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 08:39 · PVG 16:39 · LAX 01:39 · JFK 04:39
    ♥ Do have faith in what you're doing.