11
CouchDB Boyoung Yoo, Nick LaRosa, Michael Powers

Boyoung Yoo, Nick LaRosa, Michael Powers · PDF fileCouchDB CouchDB Twitter Investigator Logic Tier ELB Data Tier ELB . Twitter Investigator Search Database Save Tweets Mark as Important

Embed Size (px)

Citation preview

Page 1: Boyoung Yoo, Nick LaRosa, Michael Powers · PDF fileCouchDB CouchDB Twitter Investigator Logic Tier ELB Data Tier ELB . Twitter Investigator Search Database Save Tweets Mark as Important

CouchDBBoyoung Yoo, Nick LaRosa, Michael Powers

Page 2: Boyoung Yoo, Nick LaRosa, Michael Powers · PDF fileCouchDB CouchDB Twitter Investigator Logic Tier ELB Data Tier ELB . Twitter Investigator Search Database Save Tweets Mark as Important

Goals● Measure speedup of a distributed web

application using Amazon Web Services

Page 3: Boyoung Yoo, Nick LaRosa, Michael Powers · PDF fileCouchDB CouchDB Twitter Investigator Logic Tier ELB Data Tier ELB . Twitter Investigator Search Database Save Tweets Mark as Important

CouchDB Model

Page 4: Boyoung Yoo, Nick LaRosa, Michael Powers · PDF fileCouchDB CouchDB Twitter Investigator Logic Tier ELB Data Tier ELB . Twitter Investigator Search Database Save Tweets Mark as Important

Dataset

Page 5: Boyoung Yoo, Nick LaRosa, Michael Powers · PDF fileCouchDB CouchDB Twitter Investigator Logic Tier ELB Data Tier ELB . Twitter Investigator Search Database Save Tweets Mark as Important

Current Configuration

Page 6: Boyoung Yoo, Nick LaRosa, Michael Powers · PDF fileCouchDB CouchDB Twitter Investigator Logic Tier ELB Data Tier ELB . Twitter Investigator Search Database Save Tweets Mark as Important

Current Configuration

Page 7: Boyoung Yoo, Nick LaRosa, Michael Powers · PDF fileCouchDB CouchDB Twitter Investigator Logic Tier ELB Data Tier ELB . Twitter Investigator Search Database Save Tweets Mark as Important

RESTful APIOperation

GET /search

RequestProperty Typedatabase stringquery string

Page 8: Boyoung Yoo, Nick LaRosa, Michael Powers · PDF fileCouchDB CouchDB Twitter Investigator Logic Tier ELB Data Tier ELB . Twitter Investigator Search Database Save Tweets Mark as Important

RESTful APIOperation tweet Object

PUT /mark { “ID”: string }

RequestProperty Typedatabase stringtweetList array of tweet objects

Page 9: Boyoung Yoo, Nick LaRosa, Michael Powers · PDF fileCouchDB CouchDB Twitter Investigator Logic Tier ELB Data Tier ELB . Twitter Investigator Search Database Save Tweets Mark as Important

RESTful APIOperation

PUT /highlight

RequestProperty Typedatabase stringtweetID stringtext string

Page 10: Boyoung Yoo, Nick LaRosa, Michael Powers · PDF fileCouchDB CouchDB Twitter Investigator Logic Tier ELB Data Tier ELB . Twitter Investigator Search Database Save Tweets Mark as Important

Test Cases● Control Case: Single Server + DB Instance

● Testing Methodology:

○ Condor jobs for 100 and 1000 clients○ Record rates of 1, 10, 50, 100, 1000 requests per

second via ELB Access Log File

Page 11: Boyoung Yoo, Nick LaRosa, Michael Powers · PDF fileCouchDB CouchDB Twitter Investigator Logic Tier ELB Data Tier ELB . Twitter Investigator Search Database Save Tweets Mark as Important

Future Work