9
Okezone.com Inline Voting System

Okezone.com Article Voting System

Embed Size (px)

DESCRIPTION

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

Citation preview

Page 1: Okezone.com Article Voting System

Okezone.com Inline Voting System

Page 2: Okezone.com Article 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

Page 3: Okezone.com Article Voting System

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

Page 4: Okezone.com Article Voting System

System Overview

Page 5: Okezone.com Article Voting System

System OverviewOkezone.com : inline content voting system

Page 6: Okezone.com Article 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”

Page 7: Okezone.com Article Voting System

Database Design

1 database with 4 tables

1 database with 2 collections

MongoDB, FTW!

Page 8: Okezone.com Article Voting System

Production Deploymentshttp://www.mongodb.org/display/DOCS/Production+Deployments