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.

Okezone.com Article Voting System

1,073 views

Published on

Okezone.com inline voting system overview. How okezone.com uses MongoDB in a brief.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Okezone.com Article Voting System

  1. 1. Okezone.com Inline Voting System
  2. 2. Okezone.com• Okezone.com – 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 Okezone.com – 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 Okezone.com : 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 Deploymentshttp://www.mongodb.org/display/DOCS/Production+Deployments
  9. 9. Hadi Ariawan hd.ariawan@gmail.com @hadiariawan
  10. 10. Hadi Ariawan hd.ariawan@gmail.com @hadiariawan

×