Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime. Article Voting System


Published on inline voting system overview. How uses MongoDB in a brief.

Published in: Technology
  • Be the first to comment

  • Be the first to like this Article Voting System

  1. 1. Inline Voting System
  2. 2.• – Indonesian online news portal – Owned by Media giant company, MNC Group – 500+ articles per day – More than 1 million pageviews per day
  3. 3. System Overview• An inline-content voting system – Allow readers to vote and view voting results on certain content / article on – Serves hundreds to thousands hit of votes per content / article – Editors decides which article will have the vote in it
  4. 4. System Overview
  5. 5. System Overview : inline content voting system
  6. 6. Architechture• MongoDB – Replica Sets (3 servers)• 1 database• 2 collections – Vote • stores all the questions and the answers along with the hits – vote_log • stores log of the voters, ip address, timestamp, etc"All communications from the application to MongoDB are ajaxified. Votingsystem built with the help of PHP and jQuery”
  7. 7. Database Design1 database with 4 tables 1 database with 2 collections MongoDB, FTW!
  8. 8. Production Deployments
  9. 9. Hadi Ariawan @hadiariawan
  10. 10. Hadi Ariawan @hadiariawan