My favorites | Sign in
Project Home Wiki Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
ShortenURLService  
基于redis的缩短网址系统简述
Updated Jan 17, 2011 by fengmk2

Introduction

快,稳定,301,API。

Details

  • long url come, create an uid.
  • uid string <= int to (0-9a-z): uid.toString(36) <= INCR longurl_uid
  • save to db, return s8.hk/uid to request client.
  • HSET uid url "longurl"
Powered by Google Project Hosting