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

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

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

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

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