Git Product home page Git Product logo

tagpulse's Introduction

TagPulse is a Twitter-like distributed Micro-blogging web service in JAVA. A new Httpserver or a Data Server can be added at any time and is configured by providing the IP address of one of the existing servers. I distributed the data servers using LAZY replication, the servers are synchronized by GOSSIPING mechanism using JSON. The system can handle n-1 failures and provides causal ordering of tweets using VECTOR clocks like Amazon's DYNAMO. I also implemented CACHING on the Http server to reduce bandwidth overhead. I used Unix SHELL scripts to launch and deploy all the servers automatically in different machines. Please feel free to check out my blog on Lazy Replication. http://satheesh7.blogspot.com/2010/12/lazy-replication.html

TagPulse service provides RESTful APIs for,

-Users to POST tweet.(Pulse it)
-SEARCH for tweets(pulses) based on Hash Tags.
-Users can DELETE their pulses.
-Users can RE-PULSE other user's posts.
-FOLLOW other users.(Users get the time-lines of other users when they start following others)

Also implemented gossiping, log table pruning, delete mechanism and handled failures robustly in the distributed environment. Like twitter you can follow other users, have user profiles and re-tweet.

I also used this opportunity to learn and develop an ANDROID application for TagPulse using these APIs. I implemented OAUTH mechanism for secure authentication. I have uploaded a demo video of TagPulse, please use full screen 720p to watch it in HD.

http://www.youtube.com/watch?feature=player_embedded&v=l2RmMFUrsLU

Source files are available at,

https://github.com/sathify/tagpulse/tree/master/backend/src
https://github.com/sathify/tagpulse/tree/master/android/src/tag/pulse

tagpulse's People

Contributors

sathify avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.