V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
banxi1988
V2EX  ›  Python

经常看到分享的特殊字符串 ID 比如 ·Nu4ut7dlSVGaQ· 背后的技术思考

  •  
  •   banxi1988 ·
    banxi1988 · Nov 11, 2019 · 2757 views
    This topic created in 2361 days ago, the information mentioned may be changed or developed.
    相信大家最近经常看一些引诱分享的文案里总是会出现一些不长不短的特殊字符串 ID.
    比如 ·Nu4ut7dlSVGaQ· 不知道大家有没有从服务端的角度分析过这样的 ID 是怎么样生成的?
    1) 怎么样保证唯一性?
    2) 怎么样的保证高性能?
    3) 最后怎么样从从生成 ID 转成这样的字符串.
    4) 如果你是 Android 或 iOS 开发者,那从客户端的角度又是怎么处理的呢?

    对以上问题感兴趣的,点赞评论一下,点赞评论人多的话,我就抽空录一期相关视频,或做一期直播.
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3834 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 05:18 · PVG 13:18 · LAX 22:18 · JFK 01:18
    ♥ Do have faith in what you're doing.