Want to try Retwis? Create an account!
Already registered? Login here
Hello! Retwis is a very simple clone of Twitter
, as a demo for the Redis
key-value database. Key points:
- Redis is a key-value DB, and it is the only DB used by this application, no MySQL or alike at all.
- This application can scale horizontally since there is no point where the whole dataset is needed at the same point. With consistent hashing (not implemented in the demo to make it simpler) different keys can be stored in different servers.
- The source code of this application, and a tutorial explaining its design, is available here.
- PHP and the Redis server communicate using the PHP Redis library client written by Ludovico Mangocavallo and included inside the Redis tar.gz distribution.