17
Jen-Cheng Huang Vinit Shah Mike Wilt CS8803—Advanced Internet Application Development Prof. Ling Liu Spring 2008 A new architecture for online forums

Jen-Cheng Huang Vinit Shah Mike Wilt CS8803—Advanced Internet Application Development

  • Upload
    edward

  • View
    42

  • Download
    3

Embed Size (px)

DESCRIPTION

A new architecture for online forums. Jen-Cheng Huang Vinit Shah Mike Wilt CS8803—Advanced Internet Application Development Prof. Ling Liu Spring 2008. Objectives. Design an online forum that is fast, responsive and scalable Enable users to create and customize their own forums - PowerPoint PPT Presentation

Citation preview

Page 1: Jen-Cheng Huang Vinit Shah Mike Wilt CS8803—Advanced Internet Application Development

Jen-Cheng HuangVinit ShahMike Wilt

CS8803—Advanced InternetApplication Development

Prof. Ling LiuSpring 2008

A new architecture for online forums

Page 2: Jen-Cheng Huang Vinit Shah Mike Wilt CS8803—Advanced Internet Application Development

Objectives

• Design an online forum that is fast, responsive and scalable

• Enable users to create and customize their own forums

• Host forums for free

• Develop a sustainable revenuemodel to support the service

Page 3: Jen-Cheng Huang Vinit Shah Mike Wilt CS8803—Advanced Internet Application Development

Motivation—Part 1

• Improve communication within GT community

• For prospective students(especially internationalstudents)

• Interdepartmentalcollaboration

Page 4: Jen-Cheng Huang Vinit Shah Mike Wilt CS8803—Advanced Internet Application Development

Motivation—Part 2

• Improve usability of traditional online forums

• Lightweight but functional

“Fast and fluid like a chat room but stable like a traditional message board.”

Page 5: Jen-Cheng Huang Vinit Shah Mike Wilt CS8803—Advanced Internet Application Development

Traditional Message Board

Page 6: Jen-Cheng Huang Vinit Shah Mike Wilt CS8803—Advanced Internet Application Development

Traditional Chat Room

Page 7: Jen-Cheng Huang Vinit Shah Mike Wilt CS8803—Advanced Internet Application Development

Chat Applications

Page 8: Jen-Cheng Huang Vinit Shah Mike Wilt CS8803—Advanced Internet Application Development

Chat Application vs. Message Board

Attribute Chat Msg Board

Participants Two, typically Many

Feedback InstantStatic, requires page

reload

RelationshipPeople you know in

real lifePeople with similar

interest(s)

After you leave…Conversation disappears

Thread remains

ExamplesAIM, Google Chat, Yahoo! Messenger,

MSN Messenger, etc.

phpBB, vBulletin, EZ Board, etc.

Page 9: Jen-Cheng Huang Vinit Shah Mike Wilt CS8803—Advanced Internet Application Development

Popular Forum Software

Page 10: Jen-Cheng Huang Vinit Shah Mike Wilt CS8803—Advanced Internet Application Development

Features so far…

• Instant form validation, log in and new user registration

• CAPTCHA test

• Create thread without reload

• Board updates automatically when others post

User name: jimbo this user name exists!

Page 11: Jen-Cheng Huang Vinit Shah Mike Wilt CS8803—Advanced Internet Application Development

Features so far… (con’t)

• User profiles

• Moderation/rating system

• Simple emoticons and markup

• Cross-platform compatibility• “Traditional polling” Architecture

<no script>

Page 12: Jen-Cheng Huang Vinit Shah Mike Wilt CS8803—Advanced Internet Application Development

Clients Check the Cached ValueEvery 1000ms

One client inserts a new message into the database.

A new result is cached.Clients Detect the Change in Cached Value.

The clients query the database andthe new content is returned to the

client.

Back to Checking for Updates.

Page 13: Jen-Cheng Huang Vinit Shah Mike Wilt CS8803—Advanced Internet Application Development

Demo!

• Part 1– New user registration/verification– User Profiles– Text formatting– Moderation system

• Part 2– Class participation :)– Go to http://www.buzzpost.net

Page 14: Jen-Cheng Huang Vinit Shah Mike Wilt CS8803—Advanced Internet Application Development

Things to do…

• Integrate features from two versions• Add private

messaging feature• Use Comet instead

of traditional polling• More scalability testing• Launch test communities• Alternate layouts/“skins”

Page 15: Jen-Cheng Huang Vinit Shah Mike Wilt CS8803—Advanced Internet Application Development

Clients Subscribe too the Server.Client updates the contents.Server Published the Updates.

Page 16: Jen-Cheng Huang Vinit Shah Mike Wilt CS8803—Advanced Internet Application Development

CPU Usage

Traditional Polling vs. Comet (Orbited)

75 users

10-15 users

(performance decrease)

5-15 usersComet (Orbited)

Polling

Polling

Shared server running Ubuntu with 325MB RAM

Page 17: Jen-Cheng Huang Vinit Shah Mike Wilt CS8803—Advanced Internet Application Development

Questions

• Contact info:– Mike Wilt ([email protected])– Vinit Shah ([email protected])– Jen-Cheng Huang ([email protected])