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

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

  •  
  •   zjsxwc ·
    zjsxwc · Aug 3, 2019 · 2318 views
    This topic created in 2487 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   ·   Solana   ·   1178 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 51ms · UTC 17:46 · PVG 01:46 · LAX 10:46 · JFK 13:46
    ♥ Do have faith in what you're doing.