In this project, we have implemented Twitter Like Engine with the following features:
- Register account
- Send tweet with Hashtags and Mentions other users.
- Follow other users.
- Retweet the tweets from users you follow
- Query Tweets by followers, hashtags and mentions.
- Allow Live Tweet Updates for online users.
- Simulating for over 2500 clients.
- Simulating connection and disconnection of users.
- Simulating Zipf distribution on the number of Subscribers.
To run the code run following commands:
- c(ets_records).
- c(main).
- c(server).
- c(client).
- ets_records:create_tables().
- main:main(NumofClients, SubscriberLimit, OfflineClientPercentage).
The architecture consist of following elements:
- Client – client.erl
- Twitter Engine – server.erl
- Database – ets_records.erl