16
From Sectional to Sofa NoSQL with . J. Steven Young

Orbitz_Couchbase_SF_2013

Embed Size (px)

Citation preview

Page 1: Orbitz_Couchbase_SF_2013

From Sectional to Sofa

NoSQL with .J. Steven Young

Page 2: Orbitz_Couchbase_SF_2013

Show Me the Cache

• 11 Clusters (4 mirrored) – 100 nodes

• > 3 TB of data• ~430m objects (146m in largest)• Total ops/sec ~ 75k – *149k with HA

Page 3: Orbitz_Couchbase_SF_2013

In The Beginning

• Cache Scalability• Drop in replace Memcached• Database relief• HA caching

Page 4: Orbitz_Couchbase_SF_2013

From the Bottom Up

• Processors• Memory• Disk• Virtualization• “Bloat”-ware

Page 5: Orbitz_Couchbase_SF_2013

Establish Standard Architecture

• LESSON: STANDARDIZE HARDWARE– Sizing Environments Properly– Testing Failures–Performance Testing / Tuning–Documenting Failures and Successes

Page 6: Orbitz_Couchbase_SF_2013

Expectations of Users

• LESSON: Know what is wanted– Object Sizing and Number– TTL, ops/sec, # Host Connections– Bucket Type– Indexing and Queries and Replication– Binary vs. JSON

Page 7: Orbitz_Couchbase_SF_2013

Cache Behaving Badly

• LESSON: PREPROD TESTING– Rebalance Issues– Swapping– Memory Consumption– Out Dated Libraries

Page 8: Orbitz_Couchbase_SF_2013

Cache in the Couch

• LESSON: Know TCO– Resources– Administrative Costs / Time– Usage / Consolidation

Page 9: Orbitz_Couchbase_SF_2013

Balancing Act

• Consolidation• Replication• Fault Tolerant Applications• Off-loading Processes• Libraries • Connections

Page 10: Orbitz_Couchbase_SF_2013

Use Case #1

• Content– HTML– Image Links– HA caches– XDCR

Page 11: Orbitz_Couchbase_SF_2013

Example of HADC 1 DC 2

VS.

Page 12: Orbitz_Couchbase_SF_2013

Use Case #2

• Upselling– Package Deals– Ads Data– Added Offers

Page 13: Orbitz_Couchbase_SF_2013

Use Case #3

• Search History / Trends– Previous Searches– What Properties are Trending– Stored Pricing

Page 14: Orbitz_Couchbase_SF_2013

Image the Possibilities

• Alerting Management• Configuration Management• RDBS Caching• Release Management• Trending Analysis

If you build it… They will come!

Page 15: Orbitz_Couchbase_SF_2013

Foundations for Success

• From the Ground Up• Know Your Environment• Know Your Limitations• Monitor

Page 16: Orbitz_Couchbase_SF_2013

Q & A @jstevenyoung