Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
像 bit.ly 或 goo.gl 这样的 URL 短网址是如何工作的?有谁知道他们使用什么技术或算法?
保存 URL 并为 URL 生成唯一密钥并将其存储在数据库中。使用此键导航到 URL。
你需要复杂的算法吗?:-)
如果你想让它变得复杂。
等等等等