okezone.com article voting system
DESCRIPTION
Okezone.com inline voting system overview. How okezone.com uses MongoDB in a brief.TRANSCRIPT
Okezone.com Inline Voting System
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
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
System Overview
System OverviewOkezone.com : inline content voting system
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. Voting system built with the help of PHP and jQuery”
Database Design
1 database with 4 tables
1 database with 2 collections
MongoDB, FTW!
Production Deploymentshttp://www.mongodb.org/display/DOCS/Production+Deployments