libi.me
Link Too BigEver got tired of them huge links? Just feed them to libi.me and get super tiny ones instead
Unlike https://bitly.com/ it supports internationalized links, e.g., http://президент.рф
I made this to:
- Implement highly scalable distributed architecture
- Make the whole thing runnable on a single machine with a single command
- Explore Ruby core API
- See how fast Ruby can go, compare different ways vs. NodeJS
- Explore Redis database
- Explore Poi with Vue + JSX
- Make good UX
How to run
Install Docker and do: docker-compose up
, go to http://localhost:20000
It's deployed to AWS EB using: Dockerrun.aws.json
Architecture
See ARCHITECTURE
Benchmark
I benchmarked HTTP server serving Redis values written with:
- Ruby making new thread on each request
- Ruby with event-machine
- NodeJS
See BENCHMARK
Notes
See NOTES
License
MIT, see LICENSE