Lab 3

From CS462

Jump to: navigation, search

For this lab, you will build the first portion of the AppServer. You will learn about building a webservice, querying SimpleDB, and updating SimpleDB.

Contents

Requirements

  • Accept traffic through port 8010
  • Implement the /alive request to keep the load balancer happy
  • Fully Implement /list/recent endpoint
  • Fully Implement /list/popular endpoint
  • Fully Implement /image endpoint
  • Fully Implement /ratesubmit endpoint
  • Build Stub for /commentsubmit endpoint
  • Build Stub for /submitimage endpoint
  • Subscribe to the AppServer LoadBalancer (After Testing)
  • Post processing messages to the LoggingService with the submituser in message

Stubs should accept information, but not do anything with the information. They should return the expected result as if they had completed the desired action. You will build out these methods in Lab 4.

Scoring

Page Function Value Score
/list/recent default & with parameter 2.5 2.5
/list/popular default & with parameter 2.5 2.5
/image return data about an image 1.0 1.0
/ratesubmit receive a rating and update simpledb 2.0 2.0
/commentsubmit & /submitimage stubs 1.0 1.0
N/A Register with load balancer 0.5 0.5
/alive Tell the load balancer you are alive 0.5 0.5
Total 10.0 10.0

Passoff Instructions

Use the AutoGrader to passoff lab3

Related Reading

Useful Stuff

* CloudFusion (getcloudfusion.com) - PHP
* Right_Aws - Ruby
* Boto - Python
Personal tools