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

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

  •  
  •   zjsxwc ·
    zjsxwc · Aug 3, 2019 · 2354 views
    This topic created in 2513 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   ·   2521 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 09:29 · PVG 17:29 · LAX 02:29 · JFK 05:29
    ♥ Do have faith in what you're doing.