from "overnight" to "real-time": a two-year nosql case study

28
2 years of nosql benjamin anderson @banjiewen meteor solutions, inc.

Upload: dataversity

Post on 27-May-2015

1.231 views

Category:

Technology


0 download

DESCRIPTION

Meteor Solutions integrates site and advertising analytics to provide major publishers and advertisers the ability to identify and reach their influential visitors with advertising, exclusive content and rewards. Eighteen months ago, Meteor was backed by a relational DB and struggling to keep up with volumes in a batch processing environment that was ill-suited to our graph oriented data model. Today, the service is backed by Cloudant, a distributed document store based on CouchDB, and provides deeper analytics in real-time. This transition enabled 10x growth and allowed us to open our technology to a much broader range of applications -- though not without some bumps along the way. This talk will cover: Overview of our services and specific technical challenges Overview of Cloudant/CouchDB, how we leverage it, and its relation to other SQL, NoSQL, and web technologies in our stack Benefits we've seen and tradeoffs we have had to make Operational lessons learned Future plans: how NoSQL's possibilities and limitations influence business, product and operational decisions

TRANSCRIPT

Page 1: From "Overnight" to "Real-time": A Two-Year NoSQL Case Study

2 years of nosqlbenjamin anderson

@banjiewenmeteor solutions, inc.

Page 2: From "Overnight" to "Real-time": A Two-Year NoSQL Case Study

about meteor

Page 3: From "Overnight" to "Real-time": A Two-Year NoSQL Case Study

our data

Page 4: From "Overnight" to "Real-time": A Two-Year NoSQL Case Study

2009pretty simple

Page 5: From "Overnight" to "Real-time": A Two-Year NoSQL Case Study

why this was bad

Page 6: From "Overnight" to "Real-time": A Two-Year NoSQL Case Study

enter couchdb/cloudant(and some redis)

Page 7: From "Overnight" to "Real-time": A Two-Year NoSQL Case Study

nosql in production

Page 8: From "Overnight" to "Real-time": A Two-Year NoSQL Case Study

what we’ve learned

Page 9: From "Overnight" to "Real-time": A Two-Year NoSQL Case Study

solved initial problems

Page 10: From "Overnight" to "Real-time": A Two-Year NoSQL Case Study

introduced new ones

Page 11: From "Overnight" to "Real-time": A Two-Year NoSQL Case Study

no documentation

problems

Page 12: From "Overnight" to "Real-time": A Two-Year NoSQL Case Study

problemsno documentation

Page 13: From "Overnight" to "Real-time": A Two-Year NoSQL Case Study

problemsyou probably don’t need data model flexibility

Page 14: From "Overnight" to "Real-time": A Two-Year NoSQL Case Study

problemsad-hoc data analysis is challenging

Page 15: From "Overnight" to "Real-time": A Two-Year NoSQL Case Study

problemspredictability

Page 16: From "Overnight" to "Real-time": A Two-Year NoSQL Case Study

problemslibrary support

Page 17: From "Overnight" to "Real-time": A Two-Year NoSQL Case Study

problemsnot unsolvable!

Page 18: From "Overnight" to "Real-time": A Two-Year NoSQL Case Study

overall, good stuff

Page 19: From "Overnight" to "Real-time": A Two-Year NoSQL Case Study

good stuffrapid iteration

Page 20: From "Overnight" to "Real-time": A Two-Year NoSQL Case Study

good stufffanatical customer support

Page 21: From "Overnight" to "Real-time": A Two-Year NoSQL Case Study

good stuffgood people want to work on it

Page 22: From "Overnight" to "Real-time": A Two-Year NoSQL Case Study

good stuffhorizontal scalability is no joke

Page 23: From "Overnight" to "Real-time": A Two-Year NoSQL Case Study

good stuffsolves real problems

Page 24: From "Overnight" to "Real-time": A Two-Year NoSQL Case Study

we’ve learned a lot

Page 25: From "Overnight" to "Real-time": A Two-Year NoSQL Case Study

what we’ve learnedpay for the support

Page 26: From "Overnight" to "Real-time": A Two-Year NoSQL Case Study

what we’ve learnedexpect tradeoffs

Page 27: From "Overnight" to "Real-time": A Two-Year NoSQL Case Study

what we’ve learnedyou probably don’t need it

Page 28: From "Overnight" to "Real-time": A Two-Year NoSQL Case Study

thanksbenjamin anderson

@banjiewenmeteor solutions, inc.