https://github.com/code4craft/moonlink
A short url service based on OpenResty and redis.
https://github.com/code4craft/moonlink
Last synced: 9 months ago
JSON representation
A short url service based on OpenResty and redis.
- Host: GitHub
- URL: https://github.com/code4craft/moonlink
- Owner: code4craft
- License: bsd-3-clause
- Created: 2013-07-28T04:13:04.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-07-30T03:18:08.000Z (over 12 years ago)
- Last Synced: 2023-03-22T11:07:58.280Z (almost 3 years ago)
- Language: Lua
- Homepage:
- Size: 137 KB
- Stars: 10
- Watchers: 4
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
moonlink
========
> A short url service based on OpenResty and redis.
### Get started
Download and install [**OpenResty**](http://openresty.org/)。
Download and install [**redis**](http://redis.io/)。
start redis:
redis-server
start nginx:
nginx -p /path/of/moonlink -c conf/moonlink.conf
### Performance
Intel i5 core*4 4G RAM
ab -n100000 -c100 -r http://127.0.0.1:8080/c9613a
Requests per second: 8896.09 [#/sec] (mean)
Time per request: 11.241 [ms] (mean)
Time per request: 0.112 [ms] (mean, across all concurrent requests)